Last modified: 2011-10-05 06:26:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24707, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22707 - Cascading page protection for /Print template subpages
Cascading page protection for /Print template subpages
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks: 8575
  Show dependency treegraph
 
Reported: 2010-03-03 00:17 UTC by Tim Starling
Modified: 2011-10-05 06:26 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tim Starling 2010-03-03 00:17:32 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links