This page is within the scope of the Wikipedia Help Project, a collaborative effort to improve Wikipedia's help documentation for readers and contributors. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks. To browse help related resources see the Help Menu or Help Directory. Or ask for help on your talk page and a volunteer will visit you there.Wikipedia HelpWikipedia:Help ProjectTemplate:Wikipedia Help ProjectHelp
<br> vs. <br /> vs. </br>. (One concept inserted in the middle of another doesn't help.)
These sentences must confuse many readers.
"<br> or <br /> inserts a line break. Both versions of the break are supported by HTML5. </br> is invalid. Using <br> without the / breaks syntax highlighting, so should be avoided."
The last sentence should follow the first two. This will be more easily understood.
"<br> or <br /> inserts a line break. Both versions of the break are supported by HTML5. Using <br> without the / breaks syntax highlighting, so should be avoided. Use <br>. </br> is invalid. Do not use it." ... PeterEasthope (talk) 15:17, 4 April 2020 (UTC)[reply]
Sorry, I should have linked to a diff. I implemented the proposed change "The last sentence should follow the first two", not the proposed text, which was redundant and internally inconsistent. – Jonesey95 (talk) 03:55, 5 April 2020 (UTC)[reply]
I'm attempting to make a live clock with HTML here, but MediaWiki's wikitext keeps messing up the code by using {{}} etc. How can I stop this? (tbh if someone could also help me with the clock it would be much appreciated). — Yours, Berrely • Talk∕Contribs17:08, 4 July 2020 (UTC)[reply]
Berrely, you can't have full HTML pages in MediaWiki (both for security and WP:NOTWEBHOST reasons) - to achieve what you're trying to do, you can make a user script (where you add all the code between the <script> tags) then on the Wiki page just set it to <span id="txt"></span>Ed6767talk!23:22, 4 July 2020 (UTC)[reply]
Ed6767 I actually do know how to make a user script with the time, but what I want to do is put a clock on my user talk so people know what time it is for me, and I'm pretty sure you can't do that without constantly purging the page, and no such thing as an automatic purger exists. 86.18.238.106 (talk) 07:46, 5 July 2020 (UTC)[reply]
All existing methods require a purge, other than the gadget mentioned by Mrjulesd. For performance reasons, Wikipedia pages are not updated dynamically. --Redrose64 🌹 (talk) 08:41, 6 July 2020 (UTC)[reply]
Template:Tooltip, Template:Hover_title, and Template:Abbr
{{Abbr}} (a wrapper for <abbr>...</abbr>) has long been abused for non-abbreviation markup (against the HTML specs).
We had a template, {{Tooltip}}, with <span>...</span> for non-abbreviation use, but it was "merged" (not really) and redirected to {{Abbr}}.
The redir was then deprecated (for the reason mentioned above), but the community ignored the deprecation.
In the interim, {{Hover title}} was created to do the same thing, but with backwards parameters (and some additional features).
Both the {{Tooltip}} then-redirect and {{Hover title}} template have been transcluded in tens of thousands of articles, mainly via infoboxes and other templates.
I created a new {{Tooltip}} template, with all the features of {{Hover title}} but preserving the {{Abbr}} parameter order (to not break deployed translcusions).
The TfM linked above would merge away {{Hover title}}, but it's going to require flipping the |1= and |2= parameters of its extant instances.
Oh, and the documentation would need updating after merger, of course.
In viewing §§ bdi, it does not appear to do anything in the example given. The text describes <bdi> in that it isolates the content from the surrounding text-direction settings, but there are no text-direction settings shown for the example to demonstrate. — CJDOS, Sheridan, OR (talk) 22:46, 14 August 2021 (UTC)[reply]
See also MOS:MARKUP: "Other things being equal, keep markup simple. This makes wikitext easier to understand and edit, and the results seen by the reader more predictable. Use HTML and CSS markup sparingly." --Timeshifter (talk) 08:49, 11 February 2023 (UTC)[reply]
Notice all the dashes on the page Beerware, I was thinking wrapping these in a span tag to stop these from being read, even though screen readers probably know to skip long lines I just think its good practice. Anyway are you meant to wrap them in span tags like that here in Wikitext? Anthony2106 (talk) 07:45, 5 March 2025 (UTC)[reply]