Page MenuHomePhabricator

Fix $wgCascadingRestrictionLevels for plwiki
Closed, ResolvedPublic


Due to this change by Martin Urbanec while systematizing restriction levels (T230103), plwiki sysops probably can no longer protect pages as editeditorprotected with cascading option on.
Currently, wgRestrictionLevels array for plwiki is [ '', 'autoconfirmed', 'editeditorprotected', 'sysop' ] while that of wgCascadingRestrictionLevels is [ 'editor', 'sysop' ].

I can't actually try protecting one, nor have I even asked any local sysops yet, but theorically and logically speaking, this is not possible.

Event Timeline

Change 784619 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/mediawiki-config@master] plwiki: Fix cascading protection configuration

Thanks for the task (and ping). Indeed, this feature broke. Fixing patch uploaded, I'll try to deploy it later today.

Change 784619 merged by jenkins-bot:

[operations/mediawiki-config@master] plwiki: Fix cascading protection configuration

Mentioned in SAL (#wikimedia-operations) [2022-04-21T13:03:31Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: 7d5114e80567663cad7415e985fdb8191ef9d4b6: plwiki: Fix cascading protection configuration (T306300) (duration: 00m 55s)