From a1789ddde42033f1b05cc4929491214ee6e79383 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 17 Dec 2015 09:15:42 +0100 Subject: Update to MediaWiki 1.26.0 --- includes/skins/MediaWikiI18N.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/skins/MediaWikiI18N.php') diff --git a/includes/skins/MediaWikiI18N.php b/includes/skins/MediaWikiI18N.php index 6e48d04a..20cceda2 100644 --- a/includes/skins/MediaWikiI18N.php +++ b/includes/skins/MediaWikiI18N.php @@ -42,9 +42,9 @@ class MediaWikiI18N { $m = array(); while ( preg_match( '/\$([0-9]*?)/sm', $value, $m ) ) { list( $src, $var ) = $m; - wfSuppressWarnings(); + MediaWiki\suppressWarnings(); $varValue = $this->context[$var]; - wfRestoreWarnings(); + MediaWiki\restoreWarnings(); $value = str_replace( $src, $varValue, $value ); } return $value; -- cgit v1.2.3-54-g00ecf