Page MenuHomePhabricator

Cascading page protection for /Print template subpages
Closed, InvalidPublic

Description

Some Wikipedians have raised concerns that non-existent /Print subpages of high-use templates are not adequately protected. For instance, someone could vandalise the print version of millions of articles, by creating a /Print subpage of a protected high-use template. Sensitive pages such as the main page could also be vandalised, by bypassing the "cascade protection" feature which normally prevents templates included from certain articles from being edited. This vandalism might not be detected for some time.

See the URL above for related discussion. Various ideas for fixing this issue were suggested at that talk page. For the moment, I would recommend a relatively simple change: make the page protection of the parent template also apply to /Print subpage.

To do this, you would add hooks to Title::loadRestrictions() and Title::getTitleProtection(). These hooks would be intercepted by the Collection extension, which would determine whether the title in question is a /Print subpage, and if it is, it would re-enter the Title class to fetch protection levels for the parent page.


Version: unspecified
Severity: normal
URL: http://en.wikipedia.org/w/index.php?title=Template_talk:Documentation&oldid=346847330#.2FPrint

Details

Reference
bz22707

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:58 PM
bzimport added a project: Collection.
bzimport set Reference to bz22707.
bzimport added a subscriber: Unknown Object (MLST).

Where is the code that handles these Print subpages? Does it still exist in the latest version?