Template talk:UnsignedIP

From Wikipedia, the free encyclopedia

Unsigned
Templates:
Unsigned, Unsigned2, Undated, UnsignedIP, UnsignedIP2

[edit] Problem with indented entries

I have noticed that the message ignores indentation when it shows on a new line. See Talk:Wi-Fi#Alleged Health Concerns for an example. __meco 17:19, 4 June 2007 (UTC)

{{editprotected}} Yah, please remove the linebreak between the noinclude and small. Thanks. --Quiddity 17:58, 5 June 2007 (UTC)

Done. Cheers. --MZMcBride 18:21, 5 June 2007 (UTC)

[edit] Ugly substing

There is no consensus whether "unsigned" templates should be transcluded or subst'd. See an old discussion at Wikipedia_talk:Template_substitution/Archive_3#Unsigned_and_Unsigned2 and also Wikipedia:Subst#Under_debate. As a result, some people transclude template and some use subst:. Unfortunately, current version of template produces very ugly code when subst'd:

<small>—The preceding [[Wikipedia:Signatures|unsigned]] comment was added by [[Special:Contributions/{{{IP|{{{User|10.1.1.1}}}}}}|{{{IP|{{{User|10.1.1.1}}}}}}]] ([[User talk:{{{IP|{{{User|10.1.1.1}}}}}}|talk]]) {{{Time|17:38, August 23, 2007 (UTC)}}}</small><!-- Template:UnsignedIP -->

This is because of this addition of named parameters, which was pretty much useless in the template with only 2 parameters. Also please check Wikipedia:Subst#Templates_that_should_not_be_substituted — this is exactly what happens with this template. {{editprotected}} Please remove named parameters. Unfortunately it looks like first we'll have to find a bot owner to confirm that the template is almost never called with named parameters and correct where it's called.
P.S. The situation is made much worse by some bot owners that prefer to use "the easy way" and simply subst "Unsigned" templates. See User talk:BetacommandBot (1) and User talk:BetacommandBot (2) (the bot stopped expanding templates since then) and current discussion at User_talk:Slakr#SineBot_sig_code (bot still makes hundreds of ugly edits each day) ∴ Alex Smotrov 19:11, 23 August 2007 (UTC)

If there is still verification to do, then it isn't time to put up the editprotected tag. Save that for the last step when an admin can make the change immediately. — Carl (CBM · talk) 22:30, 23 August 2007 (UTC)
I just finished verification, in approx. 2000 translcusion (see results at User:Alex Smotrov/z/UnsignedIP) there was only one with named parameters, which I fixed (bottom change in diff). Adding {editprotected} again ∴ Alex Smotrov 05:06, 25 August 2007 (UTC)
To confirm, the goal is no named parameters at all as in user:CBM/Sandbox? Examples at User:CBM/Sandbox2. — Carl (CBM · talk) 17:56, 25 August 2007 (UTC)
Yes, that looks very good. Please make the change. Originally I also wanted to remove the |0.0.0.0}} part as useless, but it turns out users sometimes do use the template without parameters (why? …); anyway, that part doesn't interfere with substing ∴ Alex Smotrov 05:03, 26 August 2007 (UTC)
done. — Carl (CBM · talk) 13:01, 26 August 2007 (UTC)

[edit] Needs improved documentation

{{editprotected}} This template should have better documentation. I am requesting that subpage Template:UnsignedIP/doc be created with {{Documentation subpage}} added to it,

{{Documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->

be added to the noinclude container on this template page, and that

[[Category:Internal link templates|UnsignedIP]]

be removed from this template page. Following Wikipedia:Template documentation. I will add the documentation to the subpage myself. Another registered user could have created the documentation subpage but this template page would have had to been edited by an administrator anyway. 209.244.43.122 (talk) 01:45, 10 February 2008 (UTC)

Y Done - moved all existing documentation and category to subpage. Feel free to edit the subpage as needed. עוד מישהו Od Mishehu 06:52, 10 February 2008 (UTC)
Cut and pasted usage documentation section from the top of talk page to /doc. 209.244.43.122 (talk) 18:54, 10 February 2008 (UTC)