diff --git a/MonoBookTemplate.php b/MonoBookTemplate.php index adffa58..46b5b81 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 - wfSuppressWarnings(); + \MediaWiki\suppressWarnings(); $this->html( 'headelement' ); ?>