Page MenuHomePhabricator

Remove MediaWiki namespace as an option in Special:Protectedpages
Closed, DeclinedPublic

Description

Pages and subpages in the MediaWiki namespace are fully protected by default and admins can't change the protection level, so, please remove the MediaWiki namespace as an option in the namespace dropdown menu in [[Special:Protectedpages]]. It is meaningless.


Version: 1.11.x
Severity: enhancement

Details

Reference
bz10798

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:51 PM
bzimport set Reference to bz10798.
bzimport added a subscriber: Unknown Object (MLST).

le.korrigan wrote:

The namespace "MediaWiki_talk" has been excluded from the namespace selector as well, but as far as I know these pages can be protected/unprotected like any page. Shouldn't they be available in the namespace selector?

Yes, skipping MediaWiki_talk is wrong.

Instead of passing a list of namespace to skip, imho there should be some is_namespace_protectable() (similar to title.php:isNamespaceProtected()), to be used in SpecialProtectedpages.php (make the fourth evil parameter a function pointer?), skintemplate.php:buildContentActionUrls(), OutputPage.php:readOnlyPage()?, protectionform.php:show()...

This whole thing seems like a really bad idea, and I recommend reverting it.

It's perfectly possible to add additional protection onto a MediaWiki: namespace page, for instance a higher-than-'editinterface' level or some cascading protection.

robchur wrote:

Reverted the lot in r24680.