mirror of
https://github.com/Hutchy68/pivot.git
synced 2025-10-26 23:17:36 +01:00
Changes for MW 1.34 see https://phabricator.wikimedia.org/T187037
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user