Template talk:Pp-pc

(Redirected from Template talk:Pp-pc/testcases)
Latest comment: 6 years ago by Wbm1058 in topic Requested move 5 October 2018

Tag

edit

{{db-repost}} The speedy deletion tag above is meant for the template itself, but as it is full protected, I can't tag it directly. jcgoble3 (talk) 01:44, 9 December 2012 (UTC)Reply

Edit protected

edit

Please include -> {{#if:{{{expiry|}}}|{{#ifexpr:{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|[[Category:Wikipedia pages with incorrect protection templates|{{PAGENAME}}]]}}|[[Category:Wikipedia protected pages without expiry|{{PAGENAME}}]]}} <- where "<includeonly>[[Category:Wikipedia pending changes protected pages (level 1)]]" ends like this:

<includeonly>[[Category:Wikipedia pending changes protected pages (level 1)]]{{#if:{{{expiry|}}}|{{#ifexpr:{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|[[Category:Wikipedia pages with incorrect protection templates|{{PAGENAME}}]]}}|[[Category:Wikipedia protected pages without expiry|{{PAGENAME}}]]}}</includeonly>

The pages that are not PC-protected still having the template after it expires, for example Beneath Your Beautiful. I'm going to left the template at that page in case something should be changed. Tbhotch. Grammatically incorrect? Correct it! See terms and conditions. 02:20, 31 December 2012 (UTC)Reply

  DoneMr. Stradivarius (have a chat) 09:53, 31 December 2012 (UTC)Reply

Updated template parameters

edit

I've made a change to the template's sandbox code so that it will show an expiry date and custom reason in the hover-over message. Would an admin please copy over the code from the sandbox. There is also an updated documentation subpage at User:Callanecc/doc which explains how it works. I've tested it with different parameters and as long as it is used per the documentation it'll work just fine. Any problems please leave a message on my talk page. Thanks! Callanecc (talkcontribslogs) 04:45, 9 January 2013 (UTC)Reply

  Done. Nice work on the coding! You can update the /doc subpage yourself, as it's not protected. (It's also a good idea to do it yourself so that the attribution of the text doesn't depend on User:Callanecc/doc not being deleted.) — Mr. Stradivarius (have a chat) 20:13, 9 January 2013 (UTC)Reply
Thank you! Yeah I thought it'd be a good idea to update it myself, but want to give you it to look at, and the option to do it yourself if you wanted too. Regards, Callanecc (talkcontribslogs) 03:32, 10 January 2013 (UTC)Reply

Overlap

edit

On my computer, this template seems to overlap the topicon of {{Spoken Wikipedia}} (specifically {{Spoken Wikipedia boilerplate}}). See Star Trek for example. HueSatLum 02:10, 1 February 2013 (UTC)Reply

And Julius Caesar for another. Callanecc (talkcontribslogs) 05:14, 21 October 2013 (UTC)Reply
Yes, this is a known issue, and it requires a fix to Template:Pp-meta. The idea is that the PC padlock should go where all the other padlocks go, and that when a page is both semi-protected and PC-protected we should use only the semi-protection padlock. Unfortunately, doing that will require restructuring the template, which is not going to be an easy job. My preferred solution is to rewrite the whole thing as a Lua module, but I haven't got around to it yet. See this VPT thread for some more context. — Mr. Stradivarius ♪ talk ♪ 06:16, 21 October 2013 (UTC)Reply

Edit request on 25 August 2013

edit

Change:

|small=yes
|demospace={{{demospace|}}}

To:

|small=yes
|right={{{right|25px}}}
|demospace={{{demospace|}}}

This doesn't change anything right now, but will be needed after an edit to Template:pp-meta. Jackmcbarn (talk) 19:08, 25 August 2013 (UTC)Reply

  Done --Redrose64 (talk) 21:08, 25 August 2013 (UTC)Reply

Template should be invisible if page is fully protected or not PC1-protected

edit

Proposal:

Please change the code so that

  • if the page is NOT protected with PC1-level protection then the template is essentially inactive (or perhaps put in a category for mis-applied protection templates),
  • if the page is fully protected AND has PC1-level protection, as Tiger versus lion is for the next few days, the template will not be visible but the categories will still be present.

If there are no unresolved objections within a week (or within a week of the last objection being resolved), please consider this an {{edit protected}} request. davidwr/(talk)/(contribs) 18:28, 23 January 2014 (UTC)Reply

Proposal to convert this template to Lua

edit

There is currently a proposal to convert this and other protection templates to Lua at Module talk:Protection banner#Proposal to convert all protection templates to use this module. Please join this discussion over there if you are interested. — Mr. Stradivarius ♪ talk ♪ 23:47, 22 July 2014 (UTC)Reply

Template-protected edit request on 24 May 2015

edit

Currently, when a user floats over the padlock icon for this template, the pop-up message reads "The article is semi-protected until [June 24, 2015] for [vandalism, etc.]" Shouldn't that be changed to "The article is pending changes protected until [June 24, 2015] for [vandalism, etc.]" (or something along those lines)?... Anyway, hopefully somebody can take a look at this, if necessary. Thanks in advance. Note: I have included no code in this request, because that is quite beyond me! --IJBall (talk) 16:26, 24 May 2015 (UTC)Reply

@IJBall: Where are you seeing this? Alakzi (talk) 16:39, 24 May 2015 (UTC)Reply
Ah, good catch @Alakzi: – you're right: now that I've checked, I'm not seeing this everywhere (so I withdraw my original request...). I'm only seeing it at Russians – is that article both PC1 and semi protected?... --IJBall (talk)
Correct; semi protection is set to expire in June. I suppose Module:Protection banner prioritises edit protection. Alakzi (talk) 16:47, 24 May 2015 (UTC)Reply
Excellent. I've added a {{pp}} tag to Russians as well, so I think this is now sorted. Thanks again, Alakzi! --IJBall (talk) 16:59, 24 May 2015 (UTC)Reply

Indefinite pending changes

edit

Callanecc, Mr. Stradivarius: The documentation says

  • If protection is set without an expiry date (indefinitely) do not include the |expiry= parameter. Do not use |expiry=indef (or indefinitely) as this will break the template.

But if you don't do that, the page is put in Category:Wikipedia protected pages without expiry. What does "this will break the template" mean, exactly? The page is categorised into Category:Wikipedia pending changes protected pages (level 1); the silver padlock is displayed; it has the tooltip "All edits by unregistered and new users are subject to review" and links to Wikipedia:Protection policy#pc1. What's the problem? --Redrose64 (talk) 20:57, 26 June 2015 (UTC)Reply

@Redrose64: There's no problem - I must have just not noticed that part of the docs when I made the switch to Module:Protection banner. I've removed it. — Mr. Stradivarius ♪ talk ♪ 00:45, 27 June 2015 (UTC)Reply

Category:Wikipedia pending changes protected pages (level 1) renamed

edit

Category:Wikipedia pending changes protected pages (level 1) has been renamed to Category:Wikipedia pending changes protected pages - how do we get the template updated? I can't find the relevant text anywhere. Timrollpickering 11:14, 8 January 2018 (UTC)Reply

@Timrollpickering: The template is no longer a true template, nowadays it invokes a Lua module: Module:Protection banner, but that's not the whole story - there are several submodules. I think that all that is needed is this edit. --Redrose64 🌹 (talk) 20:21, 8 January 2018 (UTC)Reply

Requested move 5 October 2018

edit
The following is a closed discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review. No further edits should be made to this section.

The result of the move request was: page moved. wbm1058 (talk) 20:23, 13 October 2018 (UTC)Reply



Template:Pp-pc1Template:Pp-pc – PC2 protection has been removed since February 2017, and there is only one PC protection level in here. B dash (talk) 14:22, 5 October 2018 (UTC)Reply


The above discussion is preserved as an archive of a requested move. Please do not modify it. Subsequent comments should be made in a new section on this talk page or in a move review. No further edits should be made to this section.