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

           Summary: pt-login tooltip should depend on
                    $wgGroupPermissions['*']['edit']
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: User interface
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: platoni...@gmail.com


#pt-login has a dual nature, it shows nav-login-createaccount (Login/Create
account) if you can create an account and login (Login) otherwise.

Its tooltip should also have dual nature, albeit of a different kind.
It is always tooltip-pt-login* (You are encouraged to log in; however, it is
not mandatory), which is not suitable for wikis with
$wgGroupPermissions['*']['edit'] = false;. In such case it should switch to a
different message.

Note: There's also tooltip-pt-anonlogin used for the login link in the place of
tooltip-pt-login when showing the personal header for an IP ($wgShowIPinHeader
= true).


-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to