Revert "Deprecate no longer used Skin::getCommonStylePath."
authorKrinkle <ttijhof@wikimedia.org>
Sat, 16 Jun 2012 04:03:40 +0000 (04:03 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 16 Jun 2012 04:03:40 +0000 (04:03 +0000)
This reverts commit 79dcf7686d857e1dcbc3f1127a106d847de10d9e

RELEASE-NOTES-1.20
includes/Skin.php

index f8af88a..350b6b9 100644 (file)
@@ -154,7 +154,6 @@ changes to languages because of Bugzilla reports.
 * Removed ./tests/qunit/index.html from core. It wasn't actively maintained and
   has been made obsolete when [[Special:JavaScriptTest/qunit]] was introduced,
   which actually uses ResourceLoader, LocalSettings and the Skin.
-* Skin::getCommonStylePath has been deprecated. Its use is obsolete.
 
 == Compatibility ==
 
index a2d5e0f..8d47b83 100644 (file)
@@ -1033,16 +1033,11 @@ abstract class Skin extends ContextSource {
         * Return a fully resolved style path url to images or styles stored in the common folder.
         * This method returns a url resolved using the configured skin style path
         * and includes the style version inside of the url.
-        * @deprecated since 1.20: obsolete
-        *
         * @param $name String: The name or path of a skin resource file
         * @return String The fully resolved style path url including styleversion
         */
        function getCommonStylePath( $name ) {
                global $wgStylePath, $wgStyleVersion;
-
-               wfDeprecated( __METHOD__, '1.20' );
-
                return "$wgStylePath/common/$name?$wgStyleVersion";
        }