Topic on Extension talk:MobileFrontend

Nicole Sharp (talkcontribs)

Typewriter text ("<tt></tt>") is broken for the Mobile Frontend. This should be fixed in the skin's source code, without needing to set

#mw-content-text tt { font-family: monospace; font-size: large; }

in "MediaWiki:mobile.css".

Typewriter text is not displayed as monospace when Mobile Frontend is active.

Nicole Sharp (talk) 22:51, 4 September 2023 (UTC)

Nicole Sharp (talkcontribs)
Jdlrobson (talkcontribs)

Skin:Minerva only supports HTML5 and does not have supported for deprecated tags such as the TT element. I'd recommend using the code element instead if you can.

Tacsipacsi (talkcontribs)

If it doesn’t support <tt>, why doesn’t it just ignore its existence, but rather removes the default, appropriate styling browsers provide?

Jdlrobson (talkcontribs)
Nicole Sharp (talkcontribs)

Editors should use the KBD element (not the CODE element) for "keyboarded text" which would be the closest HTML5 equivalent of "typewriter text". Technically, TT still has a semantic meaning (not just for styling) if it is used to format actual text output from a typewriter but this can still be expressed using KBD (typewriter input) or SAMP (typewriter output) instead. Either way though, a public wiki will likely have many contributors using deprecated tags, so not supporting deprecated tags like "big" will break the wiki. HTML5 is designed to be backwards-compatible with HTML 4 so all deprecated tags should remain supported. Nicole Sharp (talk) 12:30, 8 September 2023 (UTC)

Reply to "TT"