follow up to r106393 - re-add these notices, since now they wont show for people...
authorJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Fri, 16 Dec 2011 00:24:00 +0000 (00:24 +0000)
committerJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Fri, 16 Dec 2011 00:24:00 +0000 (00:24 +0000)
includes/GlobalFunctions.php
includes/User.php
includes/logging/LogPage.php

index ce60d59..143f5f1 100644 (file)
@@ -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;
 }
index ff8d1c6..5d5e974 100644 (file)
@@ -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 );
        }
 
index a6cf3d3..f4dd064 100644 (file)
@@ -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' ) );
        }