Select Page

Template talk:Welcome to Wikipedia: Difference between revisions

Content deleted Content added
did the template break?: We'll do that then ;) ~~~~ (later for me, but feel free to beat me to it)
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 59: Line 59:
::{{Re|Fred Gandt}} Yea. -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 16:24, 26 April 2021 (UTC)
::{{Re|Fred Gandt}} Yea. -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 16:24, 26 April 2021 (UTC)
:::We'll do that then ;) <code style="background:#DFF;white-space:pre">[[User:Fred Gandt|Fred Gandt]] · [[User talk:Fred Gandt|talk]] · [[Special:Contributions/Fred Gandt|contribs]]</code> 17:34, 26 April 2021 (UTC)
:::We'll do that then ;) <code style="background:#DFF;white-space:pre">[[User:Fred Gandt|Fred Gandt]] · [[User talk:Fred Gandt|talk]] · [[Special:Contributions/Fred Gandt|contribs]]</code> 17:34, 26 April 2021 (UTC)

:::::yea [[User:Vincentvikram|VV]] 19:06, 26 April 2021 (UTC)

Revision as of 19:06, 26 April 2021

WikiProject iconEditor Retention
WikiProject iconThis template is within the scope of WikiProject Editor Retention, a collaborative effort to improve the coverage of efforts to improve editor retention on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.

Unterminated br-tag breaks syntax highlighting

Please fix unterminated br-tags. This is currently breaking proper functioning of syntax highlighting when editing the wikicode of any page that includes the template. To fix:

  • Please change all <br> to <br/>.
  • Please change all <br> tags containing html attributes, to add an ending slash as required by Html syntax. For example:
    • Change <br style="line-height:220%"> to <br style="line-height:220%" /> as well as all similar code lines starting with '<br'.

Although the Html5 spec considers <br> a self-closing tag (thus not requiring an ending slash) that doesn't mean that all associated programs can handle it properly. In particular, the syntax highlighting program cannot. The principle to consider here, is: "Be strict in what you send, but generous in what you receive." We should end br-tags with a slash, at least until syntax highlighting handles it properly. Mathglot (talk) 05:10, 24 January 2019 (UTC)[reply]

Maybe an easy fix is by using {{break}} since I assume that will generate the required break, without messing with the highlighting. Mathglot (talk) 05:14, 24 January 2019 (UTC)[reply]
 Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. "I assume that" - that's what the sandbox and testcases are for. I've refreshed the sandbox as a mirror of the live template ready for you. Cabayi (talk) 09:53, 24 January 2019 (UTC)[reply]
 Done Advice on Help:HTML in wikitext is to "avoid" slashless <br>s. Developing code to coddle other programs that incorrectly handle the data they're required to parse is bad practice. The syntax highlighting is broken, not this template. However, in all likelihood, the syntax highlighting will be broken for a while more, so fair enough. Fred Gandt · talk · contribs 12:25, 24 January 2019 (UTC)[reply]
Cool, thanks. Mathglot (talk) 12:36, 24 January 2019 (UTC)[reply]
Fred Gandt, not worth another intervention on this at this point, but somewhere I remember seeing that use of {{br}} avoids the problem entirely, so maybe is a better solution going forward, in similar situations. I've used it to good advantage, and have seen no problems. Mathglot (talk) 09:14, 17 July 2020 (UTC)[reply]

Template-protected edit request on 13 June 2020

The {{NUMBEROFUSERS}} template should be substituted so it stays the same (approximately user ID ± a constant) 83.9.228.74 (talk) 15:18, 13 June 2020 (UTC)[reply]

I agree, and have made the change in the template sandbox. -- John of Reading (talk) 15:31, 13 June 2020 (UTC)[reply]
(More) Though I see that the change was proposed before, at the top of this page, and rejected. -- John of Reading (talk) 15:45, 13 June 2020 (UTC)[reply]
I didn't so much "reject" it, as stated my opinion and no discussion was forthcoming. Since the subject's cropped up again, and John's already to go with it, I don't feel strongly enough one way or the other to argue. Fred Gandt · talk · contribs 21:02, 13 June 2020 (UTC)[reply]
 Done. P.I. Ellsworth  ed. put'r there 19:42, 14 June 2020 (UTC)[reply]

Template-protected edit request on 29 December 2020

Hey, I suggest to replace File:UncialB-01.png with File:UncialB-01.svg in the template. ZabeMath (talk) 16:14, 29 December 2020 (UTC)[reply]

 Done Fred Gandt · talk · contribs 17:39, 29 December 2020 (UTC)[reply]

Template-protected edit request on 3 February 2021

Hi, can we update the picture of "Don't get blocked" to Stop hand nuvola? And can we update the picture of "What Wikipedia is not" to Stop x nuvola? Thanks. Tested in sandbox Larryzhao123 (talk | contribs) 15:50, 3 February 2021 (UTC)[reply]

I think the images currently in use are clearer and match their fellow images better than those you suggest. Why do you want to change these images? Fred Gandt · talk · contribs 23:43, 3 February 2021 (UTC)[reply]
 Not done for now: please establish a consensus for this alteration before using the {{edit template-protected}} template. – Jonesey95 (talk) 16:15, 4 February 2021 (UTC)[reply]

did the template break?

I think the template broke. See here as an example VV 11:58, 26 April 2021 (UTC)[reply]

@Vincentvikram: The template works correctly on a user talk page; you've accidentally placed it on the user page. -- John of Reading (talk) 13:01, 26 April 2021 (UTC)[reply]
LOL thanks John of Reading after welcoming a few hundred folk.. My first "welcome" error :D VV 13:40, 26 April 2021 (UTC)[reply]
@Vincentvikram: We've all done it. Check out the user pages for Somtell and OLine84 -- John of Reading (talk) 13:55, 26 April 2021 (UTC)[reply]
I suppose rendering something usefully explaining that it's in the wrong place when it is would be a good idea e.g. A sizable red box stating "REVISIONUSER has placed a welcome template here erroneously. It should have been placed on the user talk page. Please see documentation." (linked and substed as appropriate). That way, it makes sense to the user if the welcommer doesn't notice their error (if they didn't preview first or something), and to the welcommer if they do. Yea / nay? Fred Gandt · talk · contribs 16:00, 26 April 2021 (UTC)[reply]
@Fred Gandt: Yea. -- John of Reading (talk) 16:24, 26 April 2021 (UTC)[reply]
We'll do that then ;) Fred Gandt · talk · contribs 17:34, 26 April 2021 (UTC)[reply]
yea VV 19:06, 26 April 2021 (UTC)[reply]