From: This, that and the other Date: Fri, 30 Aug 2013 11:53:32 +0000 (+1000) Subject: Add Special:CreateAccount to Special:Specialpages X-Git-Tag: 1.31.0-rc.0~18687^2 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=b1b9c65075791d04ac11f8af7eeff0e9cbbc4fec;p=lhc%2Fweb%2Fwiklou.git Add Special:CreateAccount to Special:Specialpages Bug: 53447 Change-Id: I4423e5beeb7b72814f4ee839880ec4b835d14640 --- diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 94782db3df..61630a9bab 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -1229,6 +1229,15 @@ class SpecialCreateAccount extends SpecialRedirectToSpecial { function __construct() { parent::__construct( 'CreateAccount', 'Userlogin', 'signup', array( 'uselang' ) ); } + + // No reason to hide this link on Special:Specialpages + public function isListed() { + return true; + } + + protected function getGroupName() { + return 'login'; + } } /** * SpecialMypage, SpecialMytalk and SpecialMycontributions special pages