dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0f48d6
)
Add Special:CreateAccount to Special:Specialpages
author
This, that and the other
<at.light@live.com.au>
Fri, 30 Aug 2013 11:53:32 +0000
(21:53 +1000)
committer
TTO
<at.light@live.com.au>
Thu, 19 Sep 2013 10:58:45 +0000
(10:58 +0000)
Bug: 53447
Change-Id: I4423e5beeb7b72814f4ee839880ec4b835d14640
includes/SpecialPage.php
patch
|
blob
|
history
diff --git
a/includes/SpecialPage.php
b/includes/SpecialPage.php
index
94782db
..
61630a9
100644
(file)
--- 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