Replace deprecated functions

Change-Id: I767cc8d5492d1c0a47c123d06304f43c69e2775d
This commit is contained in:
Siebrand Mazeland 2016-03-07 14:38:49 +01:00
parent ee64401631
commit 3fa0e414a5

View file

@ -39,7 +39,7 @@ class MonoBookTemplate extends BaseTemplate {
*/ */
public function execute() { public function execute() {
// Suppress warnings to prevent notices about missing indexes in $this->data // Suppress warnings to prevent notices about missing indexes in $this->data
wfSuppressWarnings(); \MediaWiki\suppressWarnings();
$this->html( 'headelement' ); $this->html( 'headelement' );
?><div id="globalWrapper"> ?><div id="globalWrapper">
@ -192,7 +192,7 @@ class MonoBookTemplate extends BaseTemplate {
echo Html::closeElement( 'body' ); echo Html::closeElement( 'body' );
echo Html::closeElement( 'html' ); echo Html::closeElement( 'html' );
echo "\n"; echo "\n";
wfRestoreWarnings(); \MediaWiki\suppressWarnings();
} // end of execute() method } // end of execute() method
/*************************************************************************************************/ /*************************************************************************************************/