Last modified: 2006-12-31 09:46:20 UTC
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
Credit: Original idea is by [[en:user:CBDunkerson]]
Created attachment 2966 [details]
Uses MediaWiki:Protected and MediaWiki:Semiprotected for what to display next
to the template name.
Comment on attachment 2966 [details]
My patch is wrong, I'll re-do it later.
Created attachment 2985 [details]
This does not check recursively (that is, articles listed show their own
protection status but may themselves include articles with different/no
Seems to be missing language file updates?
Created attachment 2986 [details]
Created attachment 2987 [details]
This time it has the message file diff in it. I swear.
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.
(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.