From 43f00eb80c6794c03389aaed6f55a597d89704c5 Mon Sep 17 00:00:00 2001 From: Jeroen De Dauw Date: Fri, 16 Dec 2011 00:24:00 +0000 Subject: [PATCH] follow up to r106393 - re-add these notices, since now they wont show for people that change the depr limit to see them --- includes/GlobalFunctions.php | 2 +- includes/User.php | 6 +++--- includes/logging/LogPage.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index ce60d594c2..143f5f1c8d 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1153,7 +1153,7 @@ function wfGetLangObj( $langcode = false ) { * @return Language */ function wfUILang() { - # wfDeprecated( __METHOD__, '1.18' ); // See r105985 and it's revert. Somewhere still used. + wfDeprecated( __METHOD__, '1.18' ); global $wgLang; return $wgLang; } diff --git a/includes/User.php b/includes/User.php index ff8d1c62a2..5d5e974410 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2594,7 +2594,7 @@ class User { * @deprecated since 1.18 Use ->getSkin() in the most relevant outputting context you have */ public function getSkin() { - //wfDeprecated( __METHOD__, '1.18' ); + wfDeprecated( __METHOD__, '1.18' ); return RequestContext::getMain()->getSkin(); } @@ -3186,14 +3186,14 @@ class User { /** * Alias for getEditToken. - * @deprecated since 1.19, use getEditToken instead. Warnings in 1.21. + * @deprecated since 1.19, use getEditToken instead. * * @param $salt String|Array of Strings Optional function-specific data for hashing * @param $request WebRequest object to use or null to use $wgRequest * @return String The new edit token */ public function editToken( $salt = '', $request = null ) { - # wfDeprecated( __METHOD__, '1.19' ); + wfDeprecated( __METHOD__, '1.19' ); return $this->getEditToken( $salt, $request ); } diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php index a6cf3d373b..f4dd064110 100644 --- a/includes/logging/LogPage.php +++ b/includes/logging/LogPage.php @@ -175,7 +175,7 @@ class LogPage { * @deprecated in 1.19, warnings in 1.21. Use getName() */ public static function logName( $type ) { - # wfDeprecated( __METHOD__, '1.19' ); + wfDeprecated( __METHOD__, '1.19' ); global $wgLogNames; if( isset( $wgLogNames[$type] ) ) { @@ -195,7 +195,7 @@ class LogPage { * @deprecated in 1.19, warnings in 1.21. Use getDescription() */ public static function logHeader( $type ) { - # wfDeprecated( __METHOD__, '1.19' ); + wfDeprecated( __METHOD__, '1.19' ); global $wgLogHeaders; return wfMsgExt( $wgLogHeaders[$type], array( 'parseinline' ) ); } -- 2.20.1