From: Jeroen De Dauw Date: Wed, 25 May 2011 22:32:42 +0000 (+0000) Subject: added @since tag X-Git-Tag: 1.31.0-rc.0~29939 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=98584f6518e860dfb51ddaab6a7ceda02eb9c7b0;p=lhc%2Fweb%2Fwiklou.git added @since tag --- diff --git a/includes/SpecialPageFactory.php b/includes/SpecialPageFactory.php index 06440a4ba4..c8113a68c8 100644 --- a/includes/SpecialPageFactory.php +++ b/includes/SpecialPageFactory.php @@ -25,6 +25,7 @@ /** * Factory for handling the special page list and generating SpecialPage objects * @ingroup SpecialPage + * @since 1.17 */ class SpecialPageFactory { @@ -507,6 +508,7 @@ class SpecialPageFactory { static function getLocalNameFor( $name, $subpage = false ) { global $wgContLang; $aliases = $wgContLang->getSpecialPageAliases(); + if ( isset( $aliases[$name][0] ) ) { $name = $aliases[$name][0]; } else {