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

           Summary: wgUseAJAXCategories offers to add categories when page
                    is protected from editing, gives no error message
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Categories
        AssignedTo: [email protected]
        ReportedBy: [email protected]


wgUseAJAXCategories adds an "Add category" to a page, even if the user may not
edit the page.
Even worse, there is no error message, the addition fails silently.

It may be too expensive to ask the server beforehand if the page can be edited,
but the javascript could at least compare wgRestrictionEdit with wgUserGroups,
both of which are exported as javascript vars.


-- 
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