Page MenuHomePhabricator

TitleBlacklist should support customized RestrictionLevels
Open, MediumPublicFeature

Description

Feature summary (what you would like to be able to do and where):
Support protection level defined in wgRestrictionLevels for MediaWiki:TitleBlacklist

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Currently we could implement some basic protection via TitleBlacklist, for example <noedit> to restrict edits to admins only, or <autoconfirmed|noedit> to allow autoconfirmed user to edit certain (set of) page(s). With more and more sites enabled some customized protection level, (i.e. extendedconfirmed, the most common one), I thought it would be great if titleblacklist could support them.

Benefits (why should this be implemented?):
More flexible restriction made via titleblacklist.

Event Timeline

Stang removed a subscriber: Stang.

Would like to have a try...

Change 807132 had a related patch set uploaded (by Stang; author: Stang):

[mediawiki/extensions/TitleBlacklist@master] Add support to customized $wgRestrictionLevels

https://gerrit.wikimedia.org/r/807132

Stang triaged this task as Medium priority.Jul 24 2022, 7:04 PM