From b1b9c65075791d04ac11f8af7eeff0e9cbbc4fec Mon Sep 17 00:00:00 2001 From: "This, that and the other" Date: Fri, 30 Aug 2013 21:53:32 +1000 Subject: [PATCH] Add Special:CreateAccount to Special:Specialpages Bug: 53447 Change-Id: I4423e5beeb7b72814f4ee839880ec4b835d14640 --- includes/SpecialPage.php | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.20.1