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

       Web browser: ---
             Bug #: 34856
           Summary: Since 1.17, you can't override page permission errors
                    by a hook
           Product: MediaWiki
           Version: 1.20-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


In 1.16 you could set a getUserPermissionErrors or userCan hook, return 'false'
from it and allow the access to an otherwise protected page.
We used it to allow users customising MediaWiki:Edittools on a personal base,
i.e. MediaWiki:Edittools@UserName.
In 1.17 these parts of code were refactored and now, 'false' from these hooks
doesn't mean "stop processing rights", but does mean only "stop processing
right hooks". And you can't allow some action on an otherwise protected page
anymore.
This is not convenient :(

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