diff --git a/MonoBookTemplate.php b/MonoBookTemplate.php index 46b5b81..adffa58 100644 --- a/MonoBookTemplate.php +++ b/MonoBookTemplate.php @@ -39,7 +39,7 @@ class MonoBookTemplate extends BaseTemplate { */ public function execute() { // Suppress warnings to prevent notices about missing indexes in $this->data - \MediaWiki\suppressWarnings(); + wfSuppressWarnings(); $this->html( 'headelement' ); ?>
@@ -192,7 +192,7 @@ class MonoBookTemplate extends BaseTemplate { echo Html::closeElement( 'body' ); echo Html::closeElement( 'html' ); echo "\n"; - \MediaWiki\suppressWarnings(); + wfRestoreWarnings(); } // end of execute() method /*************************************************************************************************/