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 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]
Created attachment 2966 [details] Does this. Uses MediaWiki:Protected and MediaWiki:Semiprotected for what to display next to the template name.
Comment on attachment 2966 [details] Does this. My patch is wrong, I'll re-do it later.
Created attachment 2985 [details] 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).
Seems to be missing language file updates?
Created attachment 2986 [details] Argh.
Created attachment 2987 [details] Argh^2. 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.