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

--- Comment #20 from Brad Jorsch <[email protected]> ---
(In reply to Tim Starling from comment #18)
> Option 3 has a convenient UI and a
> good migration path, but the side-effects of option 1 may have to be
> implemented in some other way.

In a quick glance through the code, it looks like the only side effects would
be for hooks on 'TitleQuickPermissions', 'userCan', 'getUserPermissionsErrors',
or 'getUserPermissionsErrorsExpensive' that test for action=edit rather than
just applying for all actions.

Title::checkSpecialsAndNSPermissions(), Title::checkCSSandJSPermissions(), and
Title::checkCascadingSourcesRestrictions() appear to already apply their checks
to all actions, and Title::checkUserBlock() currently applies a
more-restrictive check for action=delete than for action=edit.

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