Template talk:Shared IP
Template:Shared IP 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. Functionality of the template can be checked using test cases. |
This is the talk page for discussing improvements to the Shared IP template. |
|
Archives: 1Auto-archiving period: 120 days |
This template was considered for deletion on 2017 February 18. The result of the discussion was "redirect". |
Fully protected edit request on 20 June 2017
[edit]This edit request to Template:SharedIP has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
A protected redirect, Template:SharedIP, needs redirect category (rcat) templates added. Please modify it as follows:
- from this:
#REDIRECT [[Template:Shared IP]]
- to this:
#REDIRECT [[Template:Shared IP]] {{Redirect category shell| {{R from modification}} {{R from template shortcut}} }}
- WHEN YOU COPY & PASTE, PLEASE LEAVE THE SKIPPED LINE BLANK FOR READABILITY.
The {{Redirect category shell}} template is used to sort redirects into one or more categories. When {{pp-protected}} and/or {{pp-move}} suffice, the Redirect category shell template will detect the protection level(s) and categorize the redirect automatically. (Also, the categories will be automatically removed or changed when and if protection is lifted, raised or lowered.) Thank you in advance! Paine Ellsworth put'r there 16:19, 20 June 2017 (UTC)
- Not done: The page's protection level has changed since this request was placed. You should now be able to edit the page yourself. If you still seem to be unable to, please reopen the request with further details. Jo-Jo Eumerus (talk, contributions) 16:30, 20 June 2017 (UTC)
- Many thanks, Jo-Jo Eumerus! Paine Ellsworth put'r there 18:56, 20 June 2017 (UTC)
Div id=lastRevInfo warning
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
One of my userscripts that checks for common errors is triggering on this template. I'm getting the following: Please update warning box to use 'class="lastRevInfo floatright"' with an id set to the name of the template.
I suspect it has to do with the <div id="lastRevInfo" class="floatright" ...>
, which it wants changed to <div id="shared-ip" class="lastRevInfo floatright" ...>
or something similar. — AfroThundr (u · t · c) 02:26, 4 January 2019 (UTC)
- Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format and provide a reliable source if appropriate. Primefac (talk) 02:41, 4 January 2019 (UTC)
- @Primefac: I would guess the change suggested is
<div id="lastRevInfo" class="floatright" ...>
-><div id="shared-ip" class="lastRevInfo floatright" ...>
:^). --Izno (talk) 03:10, 4 January 2019 (UTC)- Is that going to break anything? Primefac (talk) 03:35, 4 January 2019 (UTC)
- Yes, I think it will. That div was put in there by User:Technical 13, and it is invisible by default. I believe one can reference that "id" in one's personal CSS or JS to make it visible. I have made it visible in the sandbox so you can see what it looks like. It displays who last edited the page on which the template is trancluded and when. It is a feature of all of the Category:Shared IP header templates. I personally don't see its purpose or know whether anyone is using it, and, obviously, Technical 13 won't be telling us. --Bsherr (talk) 05:06, 4 January 2019 (UTC)
- @Bsherr, Izno, and Primefac: The particular script responsible for the warning is here (written by Technical 13). According to a similar edit he made here (also here), the reasoning behind the change is in the case of there being more than one of these type of templates on a page, the IDs would no longer be unique, and the second occurrence might not behave correctly due to the conflict. The box would remain hidden by default after the change due to the inline
display:none;
on the div. - The only users I could see being affected are any who added a rule to their
common.css
to force the div to display, rather than letting one of the user-related scripts do it (like the one linked above). I'm not seeing any occurrence of this right now after doing an advanced search for 'lastRevInfo' or '#lastRevInfo' in the user or WP namespaces, so I think this change won't affect anyone in that category. — AfroThundr (u · t · c) 20:14, 4 January 2019 (UTC)- Interesting. Any insight as to what the purpose of this feature is? I'm wondering whether it shouldn't be removed as unused. --Bsherr (talk) 20:58, 4 January 2019 (UTC)
- Purpose of the last edited box? Most likely (at least in WP:ACC workflows) to provide easy (at-a-glance) access to the last talk page activity for a particular IP, so we know what/when the last problematic activity occurred (or at least, last activity that triggered a talk page message). It's slightly redundant in my particular case, since I use another script already to expose page data like size, last edited date, and editor, but for users using the ACC scripts, it's probably a handy feature to have. Outside of that workflow, it's probably only mildly useful, which is most likely why it's hidden by default. — AfroThundr (u · t · c) 21:44, 4 January 2019 (UTC)
- All right, that satisfies me. Thanks AfroThundr. --Bsherr (talk) 15:01, 5 January 2019 (UTC)
- Purpose of the last edited box? Most likely (at least in WP:ACC workflows) to provide easy (at-a-glance) access to the last talk page activity for a particular IP, so we know what/when the last problematic activity occurred (or at least, last activity that triggered a talk page message). It's slightly redundant in my particular case, since I use another script already to expose page data like size, last edited date, and editor, but for users using the ACC scripts, it's probably a handy feature to have. Outside of that workflow, it's probably only mildly useful, which is most likely why it's hidden by default. — AfroThundr (u · t · c) 21:44, 4 January 2019 (UTC)
- Interesting. Any insight as to what the purpose of this feature is? I'm wondering whether it shouldn't be removed as unused. --Bsherr (talk) 20:58, 4 January 2019 (UTC)
- @Bsherr, Izno, and Primefac: The particular script responsible for the warning is here (written by Technical 13). According to a similar edit he made here (also here), the reasoning behind the change is in the case of there being more than one of these type of templates on a page, the IDs would no longer be unique, and the second occurrence might not behave correctly due to the conflict. The box would remain hidden by default after the change due to the inline
- Yes, I think it will. That div was put in there by User:Technical 13, and it is invisible by default. I believe one can reference that "id" in one's personal CSS or JS to make it visible. I have made it visible in the sandbox so you can see what it looks like. It displays who last edited the page on which the template is trancluded and when. It is a feature of all of the Category:Shared IP header templates. I personally don't see its purpose or know whether anyone is using it, and, obviously, Technical 13 won't be telling us. --Bsherr (talk) 05:06, 4 January 2019 (UTC)
- Is that going to break anything? Primefac (talk) 03:35, 4 January 2019 (UTC)
- @Primefac: I would guess the change suggested is
Template-protected edit request on 9 April 2019
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change
[[Special:Userlogin|Create an account!]]
to
[[Special:CreateAccount|Create an account!]]
to avoid a misleading link. The text "Create an account" should lead to the page for creating an account.
Thanks, --DannyS712 (talk) 01:56, 9 April 2019 (UTC)
- @DannyS712: Done Jc86035 (talk) 08:49, 9 April 2019 (UTC)
Preview function
[edit]The preview function, that is quite handy and found in all of the welcome and warning templates (afaik) is oddly missing from the SharedIP templates (and all of it's the subs, such as DynamicIP, StaticIP, Edu, Gov't, etc.) Was that deliberate? Is it possible to add that function to those templates? (am I even asking in the right place?) Any help with this would be appreciated. Cheers - wolf 06:03, 2 January 2021 (UTC)
- I'm going to assume that you're referring to tools like Twinkle that let you see a preview of the message you want to place, in which case you probably want to post at WT:TW. Primefac (talk) 13:53, 2 January 2021 (UTC)
Template-protected edit request on 3 June 2022
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Can we include {{distinguish|Template:User shared IP address}} to the template, so that users don't confuse between the two. Itcouldbepossible Talk 14:16, 3 June 2022 (UTC)
- (Non-TE comment) @Itcouldbepossible: Done. Hatnotes like these, from what I've seen in other places, always go onto the documentation page. Aidan9382 (talk) 14:25, 3 June 2022 (UTC)
- @Aidan9382 Thanks for the change. I didn't know if they got in the documentation page, or I would not have bothered other editors with an edit request. Thanks for the information. Best, Itcouldbepossible Talk 14:27, 3 June 2022 (UTC)