Page MenuHomePhabricator

Display protection status in list of transcluded pages
Closed, ResolvedPublic

Description

Author: ligulem

Description:
On en.wikipedia.org template vandalism is well known and vandals get better at
finding interesting templates. A well established countermeasure is to protect
templates, especially for those transcluded into articles linked from the main page.

Checking the protection status of the pages transcluded into a page would be
easier if the protection level would be displayed in the list of transcluded
pages in edit mode.

I suggest to add the text "(protected)" or "(semi-protected)" next to protected
entries in the list of transcluded pages. Not protected pages would have no
addition.

Credit: Original idea is by [[en:user:CBDunkerson]]
[http://en.wikipedia.org/w/index.php?title=Wikipedia%3AAdministrators%27_noticeboard&diff=96553368&oldid=96552503]


Version: unspecified
Severity: enhancement
URL: http://en.wikipedia.org/w/index.php?title=Main_Page&action=edit

Details

Reference
bz8392

Event Timeline

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

fyrenmoo wrote:

Does this.

Uses MediaWiki:Protected and MediaWiki:Semiprotected for what to display next
to the template name.

attachment patch.prottmpl ignored as obsolete

fyrenmoo wrote:

Comment on attachment 2966
Does this.

My patch is wrong, I'll re-do it later.

fyrenmoo wrote:

Re-does this.

This does not check recursively (that is, articles listed show their own
protection status but may themselves include articles with different/no
protection).

attachment patch.tempprot ignored as obsolete

Seems to be missing language file updates?

fyrenmoo wrote:

Argh.

attachment patch.tempprot ignored as obsolete

fyrenmoo wrote:

Argh^2.

This time it has the message file diff in it. I swear.

Attached:

Applied in r18682, with messages renamed for clarity.

In theory it might be better to generalize which levels it checks for, but this
should do for now.

ligulem wrote:

(In reply to comment #7 by Brion)

Applied in r18682, with messages renamed for clarity.

In theory it might be better to generalize which levels it checks for, but this
should do for now.

Wow. That was a fast track! Thanks a lot to everybody who worked on this.