Skin::commonPrintStylesheet() was removed
authorSiebrand Mazeland <siebrand@kitano.nl>
Wed, 9 Mar 2016 00:01:12 +0000 (01:01 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Fri, 1 Apr 2016 22:52:36 +0000 (23:52 +0100)
Deprecated since 1.22. Removed from only use in Gerrit extension
ThemeDesigner.

Change-Id: Ib6d72eff90f4ffef69274db364157b416455f17d

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

index 2a30b3d..97938e2 100644 (file)
@@ -391,6 +391,8 @@ changes to languages because of Phabricator reports.
 * UserrightsPage::makeGroupNameListForLog() was removed (deprecated since 1.21).
 * MediaWikiSite::newFromGlobalId() was removed (deprecated since 1.21).
 * Title::newFromRedirect() was removed (deprecated since 1.21).
+* Skin::commonPrintStylesheet() was removed (deprecated since 1.22).
+
 
 == Compatibility ==
 
index 2918cbe..63b6978 100644 (file)
@@ -1359,22 +1359,6 @@ abstract class Skin extends ContextSource {
                return $bar;
        }
 
-       /**
-        * This function previously controlled whether the 'mediawiki.legacy.wikiprintable' module
-        * should be loaded by OutputPage. That module no longer exists and the return value of this
-        * method is ignored.
-        *
-        * If your skin doesn't provide its own print styles, the 'mediawiki.legacy.commonPrint' module
-        * can be used instead (SkinTemplate-based skins do it automatically).
-        *
-        * @deprecated since 1.22
-        * @return bool
-        */
-       public function commonPrintStylesheet() {
-               wfDeprecated( __METHOD__, '1.22' );
-               return false;
-       }
-
        /**
         * Gets new talk page messages for the current user and returns an
         * appropriate alert message (or an empty string if there are no messages)