Template talk:Protected

Using this template
It seems like this template is transcluded on very few pages, and I'm not quite clear when it should be used. Should it be used on any page in the main namespace that's has any kind of protected level (obviously not the main page)? Any fully-protected page in certain namespaces? Right now, it seems to just be scattered across a few random protected pages in the article namespace. Personally, I would support adding something to signal that a page is protected, for all pages in the main namespace of any level, and possibly even other namespaces, although this may be confusing for templates and such.-- Madminecrafter12 Orange Glazed Terracotta.png to meLight Blue Glazed Terracotta.png 13:51, 27 May 2018 (UTC)
 * Maybe we should just get rid of the template? Users who edit or try to edit any protected page get far more information about the status of its protection than this template provides. --AttemptToCallNil (report bug, view backtrace) 14:06, 27 May 2018 (UTC)
 * I do think it would be nice to have an easy way to see that a page has been protected and what level of protected it is without having to edit it. Also, for a page that one doesn't have permission to edit, viewing the source doesn't show the level of the protection - one would have to view the protection log. However, I'm not sure that a big yellow message box is the best way to convey that a page is protected. Maybe it would be better to do what Wikipedia does and just have a small lock or something similar in the top right corner of the page? Suggestions are welcome here.-- Madminecrafter12 Orange Glazed Terracotta.png to meLight Blue Glazed Terracotta.png 14:10, 27 May 2018 (UTC)
 * page protection status as &lt;indicator&gt;s. They're far less obtrusive than navboxes. --AttemptToCallNil (report bug, view backtrace) 14:18, 27 May 2018 (UTC)
 * What kind of indicator are you thinking?-- Madminecrafter12 Orange Glazed Terracotta.png to meLight Blue Glazed Terracotta.png 14:23, 27 May 2018 (UTC)
 * Locks, same as on Wikipedia. --AttemptToCallNil (report bug, view backtrace) 14:35, 27 May 2018 (UTC)
 * I guess I'll start testing in my sandbox.-- Madminecrafter12 Orange Glazed Terracotta.png to meLight Blue Glazed Terracotta.png 14:48, 27 May 2018 (UTC)

AttemptToCallNill@undefined Take a look at my sandbox. How do you think that looks? Obviously I'm going to replace "the bla bla bla category" with something else, that's just a placeholder. I would also like to add "Category:Semi-protected pages," Category:Director-protected pages," and "Category:Fully protected pages" as needed. I would probably definitely want the opinions of other users before moving it to the template namespace, though.-- Madminecrafter12 Orange Glazed Terracotta.png to meLight Blue Glazed Terracotta.png 15:56, 27 May 2018 (UTC)
 * Corrected your category titles. Also, a more descriptive tooltip would be really helpful. --AttemptToCallNil (report bug, view backtrace) 16:09, 27 May 2018 (UTC)
 * Looked at your code. I guess I'll draft my own version. --AttemptToCallNil (report bug, view backtrace) 16:10, 27 May 2018 (UTC)
 * What exactly do you mean by more descriptive tooltip? I had "this page is [x] protected so that only [y] users can edit it" as the span title.-- Madminecrafter12 Orange Glazed Terracotta.png to meLight Blue Glazed Terracotta.png 16:11, 27 May 2018 (UTC)
 * Oh, wait - for some reason it isn't working though, as you can see from User:Madminecrafter12/sandbox 2. The file's link target is taking priority over the span title. When the span title is "This page is semi-protected so that only registered users can edit it," it instead shows up as "MCW:Autoconfirmed users," as that's the file link. I'm not sure how to fix that though.-- Madminecrafter12 Orange Glazed Terracotta.png to meLight Blue Glazed Terracotta.png 16:13, 27 May 2018 (UTC)
 * Oh, an indicator tag is a thing! Yeah, yours is definitely simpler and better. We should go with that one.-- Madminecrafter12 Orange Glazed Terracotta.png to meLight Blue Glazed Terracotta.png 16:16, 27 May 2018 (UTC)
 * User:AttemptToCallNil/Alpha – see source code. That's how I thought it would be implemented.
 * And "fully protected" shouldn't be hyphenated. --AttemptToCallNil (report bug, view backtrace) 16:17, 27 May 2018 (UTC)
 * - see what I've done with my sandbox now. It's similar to how it was before, but I've incorporated many of your ideas and simplifications into it. Also, does anybody else have any opinions on this? If so, please reply.-- Madminecrafter12 Orange Glazed Terracotta.png to meLight Blue Glazed Terracotta.png 23:08, 27 May 2018 (UTC)
 * You're adding the category even though it says you're not intending to...
 * Also, I'd really like to see others' opinions on this. I'm sure Majr is going to tell me something new about &lt;indicator&gt;s which makes them completely unusable on this wiki... --AttemptToCallNil (report bug, view backtrace) 09:49, 28 May 2018 (UTC)


 * I recently uploaded a new lock - File:Move protected page lock.png, can be used on move-protected pages that can only be moved by sysops but edited by anyone. The template the locks used, which template can be used by the locks or should them automatically be displayed on protected pages?  psl85   &#9742; Talk  19:10, 29 May 2018 (UTC)


 * I've incorporated the move-protected lock into the test version in my sandbox. Right now I have it so that if a page is protected so that either only administrators or only administrators and directors can move it, the olive lock appears. However, it may be better to have a separate lock for when directors can move it. Also, the move lock will only appear if the page has no edit protection; otherwise the edit protection will always take priority (unless I've made a mistake with the template...) - this is how Wikipedia does it (although suggestions of how to change this are welcome). By the way we still would like other people's opinions about this, as this would be quite a major change.-- Madminecrafter12 Orange Glazed Terracotta.png to meLight Blue Glazed Terracotta.png 19:01, 30 May 2018 (UTC)

My suggestion: --AttemptToCallNil (report bug, view backtrace) 19:48, 30 May 2018 (UTC)
 * For now, don't use any locks if the page is salted (create=autoconfirmed/director/sysop), that would require site interface (MediaWiki namespace) changes.
 * If the page is semi-protected (edit=autoconfirmed), use the silver lock.
 * If the page is move protected (edit=none/autoconfirmed, move=director/sysop), use the olive lock.
 * If the page is also an upload protected file (upload=director/sysop)... we don't have this case handled.
 * If the page is director protected (edit=directors, move=directors[, upload=directors]), use the black lock.
 * If the page is fully protected (edit=sysop, move=sysop[, upload=sysop]), use the golden lock.


 * My opinion on everything:


 * First option looks good - I completely agree that it would be annoying, difficult, and not-worth-it, to try to have a lock for a salted page. Second option, looks great. As for the third one, how Wikipedia does it is if a page is fully protected from being moved and only semi-protected from editing, the move lock will not show, only the semi-edit lock. So, are you saying both locks would appear as indicators instead? That would actually be a good idea, and just because Wikipedia uses this system doesn't mean we have to do it exactly as they do it, some differences would be nice. Just would like to be clear on that.


 * Fourth - that's a good point. Looks like Wikipedia uses commons:File:Padlock-green.svg, so I'll try to work that into my sandbox. In my opinion, if we do a single-lock option, upload-locks should take priority over move protection, and I think that's how it is on Wikipedia as well (correction: Wikipedia does not do this, move protection apparently takes priority over upload protection - feel free to discuss which one makes more sense to take priority here). If we do a double-lock option, the decision is obvious - no need to overwrite anything. Fifth option - yes, what I've been doing is using the black lock (as Wikipedia does not have directors-protection, I thought it would be nice to have a completely new one). And golden is what Wikipedia uses for full protection, so works for me.-- Madminecrafter12 Orange Glazed Terracotta.png to meLight Blue Glazed Terracotta.png 20:04, 30 May 2018 (UTC)