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

--- Comment #5 from Nemo <[email protected]> ---
(In reply to MZMcBride from comment #4)
> I understand what you're saying, I just can't think of an example in
> MediaWiki core that does this.

Just grep for "isAllowed", I think.

        if ( $user->isAllowed( 'createpage' ) || $user->isAllowed( 'createtalk'
) ) {
            $watchTypes['read'] = 'watchcreations';
        }

etc.

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