https://www.mediawiki.org/wiki/Special:Code/MediaWiki/106401
Revision: 106401
Author: jeroendedauw
Date: 2011-12-16 00:24:00 +0000 (Fri, 16 Dec 2011)
Log Message:
-----------
follow up to r106393 - re-add these notices, since now they wont show for
people that change the depr limit to see them
Modified Paths:
--------------
trunk/phase3/includes/GlobalFunctions.php
trunk/phase3/includes/User.php
trunk/phase3/includes/logging/LogPage.php
Modified: trunk/phase3/includes/GlobalFunctions.php
===================================================================
--- trunk/phase3/includes/GlobalFunctions.php 2011-12-16 00:18:55 UTC (rev
106400)
+++ trunk/phase3/includes/GlobalFunctions.php 2011-12-16 00:24:00 UTC (rev
106401)
@@ -1153,7 +1153,7 @@
* @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;
}
Modified: trunk/phase3/includes/User.php
===================================================================
--- trunk/phase3/includes/User.php 2011-12-16 00:18:55 UTC (rev 106400)
+++ trunk/phase3/includes/User.php 2011-12-16 00:24:00 UTC (rev 106401)
@@ -2594,7 +2594,7 @@
* @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 @@
/**
* 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 );
}
Modified: trunk/phase3/includes/logging/LogPage.php
===================================================================
--- trunk/phase3/includes/logging/LogPage.php 2011-12-16 00:18:55 UTC (rev
106400)
+++ trunk/phase3/includes/logging/LogPage.php 2011-12-16 00:24:00 UTC (rev
106401)
@@ -175,7 +175,7 @@
* @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 @@
* @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' ) );
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs