From fe4902fc032ddb09f6af685d249ce36c3be41780 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Wed, 9 Mar 2016 01:01:12 +0100 Subject: [PATCH] Skin::commonPrintStylesheet() was removed Deprecated since 1.22. Removed from only use in Gerrit extension ThemeDesigner. Change-Id: Ib6d72eff90f4ffef69274db364157b416455f17d --- RELEASE-NOTES-1.27 | 2 ++ includes/skins/Skin.php | 16 ---------------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index 2a30b3d488..97938e2d7f 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -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 == diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php index 2918cbedb7..63b697838a 100644 --- a/includes/skins/Skin.php +++ b/includes/skins/Skin.php @@ -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) -- 2.20.1