Skin::getCommonStylePath() was removed
authorSiebrand Mazeland <siebrand@kitano.nl>
Wed, 9 Mar 2016 00:03:04 +0000 (01:03 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Fri, 1 Apr 2016 22:54:38 +0000 (23:54 +0100)
Deprecated since 1.24. No uses in core or Gerrit extensions remaining.

Change-Id: I15629292f00b6d2493f7a329670d85c76da50db9

RELEASE-NOTES-1.27
includes/skins/Skin.php

index 97938e2..d91af42 100644 (file)
@@ -392,7 +392,7 @@ changes to languages because of Phabricator reports.
 * MediaWikiSite::newFromGlobalId() was removed (deprecated since 1.21).
 * Title::newFromRedirect() was removed (deprecated since 1.21).
 * Skin::commonPrintStylesheet() was removed (deprecated since 1.22).
-
+* Skin::getCommonStylePath() was removed (deprecated since 1.24).
 
 == Compatibility ==
 
index 63b6978..17f5fa4 100644 (file)
@@ -1024,21 +1024,6 @@ abstract class Skin extends ContextSource {
                        $targetUser->canReceiveEmail();
        }
 
-       /**
-        * This function previously returned a fully resolved style path URL to images or styles stored in
-        * the legacy skins/common/ directory.
-        *
-        * That directory has been removed in 1.24 and the function always returns an empty string.
-        *
-        * @deprecated since 1.24
-        * @param string $name The name or path of a skin resource file
-        * @return string Empty string
-        */
-       function getCommonStylePath( $name ) {
-               wfDeprecated( __METHOD__, '1.24' );
-               return '';
-       }
-
        /**
         * Return a fully resolved style path url to images or styles stored in the current skins's folder.
         * This method returns a url resolved using the configured skin style path