Template:R fully protected is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. This template does not have a testcases subpage. You can create the testcases subpage here. |
Redirect Template‑class | |||||||
|
To help centralise discussions and keep related topics together, all talk pages of redirect protection templates redirect here. |
Why does this template include the instruction "Please do not replace these redirected links with a link directly to the target page."? — Granger ( talk · contribs) 04:22, 25 December 2014 (UTC)
Why is nothing displayed at File:Photo.JPG? There is no categorisation either. -- Redrose64 ( talk) 20:09, 27 December 2014 (UTC)
{{Redr|move|short}}'s
categories may not appear on the
image-file redirect's page. Hidden categories on image-file redirects can also be detected by clicking on "Page information" in the Tools.Redrose64 – once again I need your help. At the request of an editor I just finished going through all the redirects at WhatLinksHere/Template:R fully protected. I fixed all redirects on that list that were not fully protected by removing {{ R protected}} and replacing it with the correct rcats that were needed. What I found as I went through that list was that none of the redirects that were un-, semi- and template-protected had been placed in the maintenance Category:Wikipedia pages with incorrect protection templates. On the redirect pages, the maintenance cat only appeared at the bottom if the redirect was completely unprotected, and yet even then, the redirects did not appear as entries on the category page. As a test, I did a null edit on one of the unprotected redirects, and that made it appear as an entry on the category page. (Then I fixed the test redirect and removed it from the category.) I added a bit of code to the Template:R fully protected/sandbox, which tested well on all of the redirects that were not fully protected. Upon finishing the list on the WLH page, I transfered this template's sandbox code to the live template. I then checked the Persia redirect, which has an unneeded R protected inside its This is a redirect template, and the categories were unchanged. Then I looked at the User:Rebert redirect, which does not have an R protected template within its This is a redirect template, and the maintenance Category:Wikipedia pages with incorrect protection templates had been added at the bottom of the page. I said, "Oops!", and then I self-reverted this template to remove the sandboxed code. That, of course, made the maintenance cat disappear from User:Rebert's page. So something is still wrong with this template's sandboxed code and the live code as well. Can you show me where I've gone wrong? Painius 01:20, 23 October 2015 (UTC)
To Redrose64: What I have found so far is that the code:
{{#if:{{PROTECTIONLEVEL:edit}} {{PROTECTIONLEVEL:move}} |[[Category:(Template or Semi- or just:) protected redirects]] |[[Category:Wikipedia pages with incorrect protection templates]] }}
...does not work as expected. That is, if I place {{ R template-protected}} on a semi-protected redirect, it just sorts the redirect to Category:Template-protected redirects. If I place {{ R semi-protected}} on a template-protected redirect, it sorts the redirect to Category:Semi-protected redirects. It appears that the only time they sort a redirect to Category:Wikipedia pages with incorrect protection templates is when the redirect is UNprotected. Any other variation does not work as it should. I'm still trying to solve this, but it ain't easy. I am unable to test fully protected redirects even in preview, and I really don't like the idea of doing test edits to the live template. Pleasant pathways, Painius 23:14, 26 October 2015 (UTC)
{{#if:...}}
parser function tests its first parameter simply for being non-blank or blank. Both {{PROTECTIONLEVEL:edit}}
and {{PROTECTIONLEVEL:move}}
return blank for unprotected pages; for protected pages they return one of autoconfirmed
(for semi-protected pages), templateeditor
(for template-prot pages) or sysop
(for full-prot). So a test like {{#if:{{PROTECTIONLEVEL:edit}} {{PROTECTIONLEVEL:move}} | ... }}
is effectively saying "if the page has either edit protection or move protection, at any level, put the page in the first category; otherwise in
Category:Wikipedia pages with incorrect protection templates. --
Redrose64 (
talk) 00:10, 27 October 2015 (UTC)
#REDIRECT [[User talk:Redrose64]] {{this is a redirect|protected/sandbox}}
#REDIRECT [[User talk:Redrose64]] {{this is a redirect/sandbox|rcon}}
Thank you beyond words for all your help, Redrose64! Paine 23:27, 30 October 2015 (UTC)
This
edit request to
Template:R template-protected has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please update the 2x Category:Template-protected redirects to Category:Wikipedia template-protected redirects 73.93.5.246 ( talk) 20:08, 9 May 2023 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please update Category:Template-protected redirects to Category:Wikipedia template-protected redirects, and Category:Extended-protected redirects to Category:Wikipedia extended-protected redirects 73.93.5.246 ( talk) 20:13, 9 May 2023 (UTC)
Template:R fully protected is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. This template does not have a testcases subpage. You can create the testcases subpage here. |
Redirect Template‑class | |||||||
|
To help centralise discussions and keep related topics together, all talk pages of redirect protection templates redirect here. |
Why does this template include the instruction "Please do not replace these redirected links with a link directly to the target page."? — Granger ( talk · contribs) 04:22, 25 December 2014 (UTC)
Why is nothing displayed at File:Photo.JPG? There is no categorisation either. -- Redrose64 ( talk) 20:09, 27 December 2014 (UTC)
{{Redr|move|short}}'s
categories may not appear on the
image-file redirect's page. Hidden categories on image-file redirects can also be detected by clicking on "Page information" in the Tools.Redrose64 – once again I need your help. At the request of an editor I just finished going through all the redirects at WhatLinksHere/Template:R fully protected. I fixed all redirects on that list that were not fully protected by removing {{ R protected}} and replacing it with the correct rcats that were needed. What I found as I went through that list was that none of the redirects that were un-, semi- and template-protected had been placed in the maintenance Category:Wikipedia pages with incorrect protection templates. On the redirect pages, the maintenance cat only appeared at the bottom if the redirect was completely unprotected, and yet even then, the redirects did not appear as entries on the category page. As a test, I did a null edit on one of the unprotected redirects, and that made it appear as an entry on the category page. (Then I fixed the test redirect and removed it from the category.) I added a bit of code to the Template:R fully protected/sandbox, which tested well on all of the redirects that were not fully protected. Upon finishing the list on the WLH page, I transfered this template's sandbox code to the live template. I then checked the Persia redirect, which has an unneeded R protected inside its This is a redirect template, and the categories were unchanged. Then I looked at the User:Rebert redirect, which does not have an R protected template within its This is a redirect template, and the maintenance Category:Wikipedia pages with incorrect protection templates had been added at the bottom of the page. I said, "Oops!", and then I self-reverted this template to remove the sandboxed code. That, of course, made the maintenance cat disappear from User:Rebert's page. So something is still wrong with this template's sandboxed code and the live code as well. Can you show me where I've gone wrong? Painius 01:20, 23 October 2015 (UTC)
To Redrose64: What I have found so far is that the code:
{{#if:{{PROTECTIONLEVEL:edit}} {{PROTECTIONLEVEL:move}} |[[Category:(Template or Semi- or just:) protected redirects]] |[[Category:Wikipedia pages with incorrect protection templates]] }}
...does not work as expected. That is, if I place {{ R template-protected}} on a semi-protected redirect, it just sorts the redirect to Category:Template-protected redirects. If I place {{ R semi-protected}} on a template-protected redirect, it sorts the redirect to Category:Semi-protected redirects. It appears that the only time they sort a redirect to Category:Wikipedia pages with incorrect protection templates is when the redirect is UNprotected. Any other variation does not work as it should. I'm still trying to solve this, but it ain't easy. I am unable to test fully protected redirects even in preview, and I really don't like the idea of doing test edits to the live template. Pleasant pathways, Painius 23:14, 26 October 2015 (UTC)
{{#if:...}}
parser function tests its first parameter simply for being non-blank or blank. Both {{PROTECTIONLEVEL:edit}}
and {{PROTECTIONLEVEL:move}}
return blank for unprotected pages; for protected pages they return one of autoconfirmed
(for semi-protected pages), templateeditor
(for template-prot pages) or sysop
(for full-prot). So a test like {{#if:{{PROTECTIONLEVEL:edit}} {{PROTECTIONLEVEL:move}} | ... }}
is effectively saying "if the page has either edit protection or move protection, at any level, put the page in the first category; otherwise in
Category:Wikipedia pages with incorrect protection templates. --
Redrose64 (
talk) 00:10, 27 October 2015 (UTC)
#REDIRECT [[User talk:Redrose64]] {{this is a redirect|protected/sandbox}}
#REDIRECT [[User talk:Redrose64]] {{this is a redirect/sandbox|rcon}}
Thank you beyond words for all your help, Redrose64! Paine 23:27, 30 October 2015 (UTC)
This
edit request to
Template:R template-protected has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please update the 2x Category:Template-protected redirects to Category:Wikipedia template-protected redirects 73.93.5.246 ( talk) 20:08, 9 May 2023 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please update Category:Template-protected redirects to Category:Wikipedia template-protected redirects, and Category:Extended-protected redirects to Category:Wikipedia extended-protected redirects 73.93.5.246 ( talk) 20:13, 9 May 2023 (UTC)