Last modified: 2006-12-31 09:46:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8392 - Display protection status in list of transcluded pages
Display protection status in list of transcluded pages
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?t...
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-26 15:22 UTC by Ligulem
Modified: 2006-12-31 09:46 UTC (History)
0 users

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


Attachments
Does this. (1.65 KB, patch)
2006-12-27 07:52 UTC, Fyren
Details
Re-does this. (1.17 KB, patch)
2006-12-30 07:57 UTC, Fyren
Details
Argh. (1.17 KB, patch)
2006-12-30 08:15 UTC, Fyren
Details
Argh^2. (1.70 KB, patch)
2006-12-30 08:28 UTC, Fyren
Details

Description Ligulem 2006-12-26 15:22:09 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]
Comment 1 Fyren 2006-12-27 07:52:52 UTC
Created attachment 2966 [details]
Does this.

Uses MediaWiki:Protected and MediaWiki:Semiprotected for what to display next
to the template name.
Comment 2 Fyren 2006-12-27 09:38:09 UTC
Comment on attachment 2966 [details]
Does this.

My patch is wrong, I'll re-do it later.
Comment 3 Fyren 2006-12-30 07:57:22 UTC
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).
Comment 4 Brion Vibber 2006-12-30 08:14:04 UTC
Seems to be missing language file updates?
Comment 5 Fyren 2006-12-30 08:15:38 UTC
Created attachment 2986 [details]
Argh.
Comment 6 Fyren 2006-12-30 08:28:39 UTC
Created attachment 2987 [details]
Argh^2.

This time it has the message file diff in it.  I swear.
Comment 7 Brion Vibber 2006-12-31 01:36:23 UTC
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.
Comment 8 Ligulem 2006-12-31 09:46:20 UTC
(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.

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


Navigation
Links