https://bugzilla.wikimedia.org/show_bug.cgi?id=19186

       Web browser: ---
           Summary: check if really can create an account, before
                    advertising to do so
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Special pages
        AssignedTo: [email protected]
        ReportedBy: [email protected]


In specials/SpecialSpecialpages.php,
# Login/create account
>'Userlogin'     => array( 'SpecialPage', 'Userlogin' ),
>'CreateAccount' => array( 'SpecialRedirectToSpecial', ...
Well, just as is already solved in SkinTemplate.php:
>$loginlink = $wgUser->isAllowed( 'createaccount' )
>       ? 'nav-login-createaccount'
>       : 'login';
please first check if they really can create an account, before
advertising to do so.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to