mirror of
https://github.com/Hutchy68/pivot.git
synced 2024-11-23 10:59:03 +01:00
Changes for MW 1.34 see https://phabricator.wikimedia.org/T187037
This commit is contained in:
parent
078f9c258c
commit
cd06863d2e
@ -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
|
||||
|
@ -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 {
|
||||
</html>
|
||||
|
||||
<?php
|
||||
wfRestoreWarnings();
|
||||
Wikimedia\restoreWarnings;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user