From: Raimond Spekking Date: Tue, 13 Dec 2011 20:23:19 +0000 (+0000) Subject: Partly revert r106070 for now: Flooding of translatewiki.net log/channel: X-Git-Tag: 1.31.0-rc.0~25991 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=629ba40146994aebe4ba2e921fb2d22a3cfd9484;p=lhc%2Fweb%2Fwiklou.git Partly revert r106070 for now: Flooding of translatewiki.net log/channel: PHP Notice: Use of SpecialPage::getPage was deprecated in MediaWiki 1.18. [Called from SFFormLinker::getFormEditLinkForPage in /www/w/extensions/SemanticForms/includes/SF_FormLinker.php at line 207] in /www/w/includes/GlobalFunctions.php on line 3520 --- diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 97b0c6de30..eac2c256a1 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -177,7 +177,7 @@ class SpecialPage { * @deprecated since 1.18 call SpecialPageFactory method directly */ static function getPage( $name ) { - wfDeprecated( __METHOD__, '1.18' ); + # wfDeprecated( __METHOD__, '1.18' ); // r106070 but still used in some extensions return SpecialPageFactory::getPage( $name ); }