diff --git a/CHANGELOG.md b/CHANGELOG.md index 7151abf..8a82fad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## Version 2.2 +* [compatibility, deprecated] Fix for deprecated wfSuppressWarnings and wfRestoreWarnings with new Wikimedia\... +* [b/c break] Version minor bump, MW >= 1.31.0 now required +* [enhancement] Use of requires MW version in skin.json + + ## Version 2.1.1 * [CSS, enhancement] Improvements correcting Issues #72 and #69, images the MW way diff --git a/Pivot.skin.php b/Pivot.skin.php index a33899c..685acb6 100644 --- a/Pivot.skin.php +++ b/Pivot.skin.php @@ -60,7 +60,7 @@ class pivotTemplate extends BaseTemplate { public function execute() { global $wgUser; global $wgPivotFeatures; - wfSuppressWarnings(); + Wikimedia\suppressWarnings(); $this->html('headelement'); switch ($wgPivotFeatures['usePivotTabs']) { case true: @@ -296,7 +296,7 @@ class pivotTemplate extends BaseTemplate { = 1.31.0" + }, "MessagesDirs": { "Skinpivot": [ "i18n"