From: Arne Heizmann Date: Tue, 10 Aug 2004 16:58:37 +0000 (+0000) Subject: If the site options are set in such a way that only sysops (or only X-Git-Tag: 1.5.0alpha1~2431 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=5d245bc12d314d7ce62810830a7631a7792dd7c8;p=lhc%2Fweb%2Fwiklou.git If the site options are set in such a way that only sysops (or only developers) can create new accounts, currently the only way for them to do that is to go to Special:Userlogin manually. This patch adds a link to that page on Special:Specialpages, but only if the options are set in this way. --- diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 46b8aaa6dd..dab7b7aa4a 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -1,7 +1,24 @@ new UnlistedSpecialPage( "Userlogin" ), + "Userlogin" => new SpecialPage( "Userlogin", $userlogin_restr, $userlogin_listed ), "Userlogout" => new UnlistedSpecialPage( "Userlogout" ), "Preferences" => new SpecialPage( "Preferences" ), "Watchlist" => new SpecialPage( "Watchlist" ),