Revert "Replace deprecated functions"
This reverts commit 3fa0e414a5
.
Change-Id: Ia847aed9b0f0f15ef617b60b0902ee6462c16adc
This commit is contained in:
parent
3fa0e414a5
commit
25cf0fa1ca
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
\MediaWiki\suppressWarnings();
|
wfSuppressWarnings();
|
||||||
|
|
||||||
$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";
|
||||||
\MediaWiki\suppressWarnings();
|
wfRestoreWarnings();
|
||||||
} // end of execute() method
|
} // end of execute() method
|
||||||
|
|
||||||
/*************************************************************************************************/
|
/*************************************************************************************************/
|
||||||
|
|
Loading…
Reference in a new issue