Jump to content

Template talk:Contains special characters

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Displaying only when needed[edit]

Would it be theoretically possible to code this template so that it checks what rendering capabilities a reader has and displays only if the reader does not have the capability to render the characters? That would be nice, as it's a wasted warning in the situation where a reader's browser can actually render them. {{u|Sdkb}}talk 04:58, 8 January 2024 (UTC)[reply]

I seem to have had this thought already two years back, but it got basically no response at the time, so might as well re-up here. {{u|Sdkb}}talk 05:33, 8 January 2024 (UTC)[reply]
No, not without some privacy-infringing or resource-intensive gadget. Nardog (talk) 10:48, 8 January 2024 (UTC)[reply]
No, browsers won't tell you about this for privacy reasons. You can do some tricks with Javascript that are pretty expensive to detect it, but it's not really worth it. —TheDJ (talkcontribs) 09:49, 9 January 2024 (UTC)[reply]

Template-protected edit request on 1 April 2024[edit]

Could the image be added to the Ottoman Turkish template, as in Special:Diff/1193170987? – anlztrk (talk | contribs) 10:35, 1 April 2024 (UTC)[reply]

 Done Primefac (talk) 11:26, 1 April 2024 (UTC)[reply]

Cuneiform support[edit]

The single parameter for cuneiform needs to be replaced with multiple new parameters for:

  • Old Babylonian cuneiform
  • Neo-Assyrian cuneiform
  • Neo-Babylonian cuneiform
  • Anatolian cuneiform
  • Urartian cuneiform.

These variants of the cuneiform use different fonts, and a single parameter for each of them would only be confusing for readers who would try to download the rendering support.

Additionally, the template links to Help:Special characters when the cuneiform parameter is used although it should link to Help:Multilingual support#Cuneiform. Can this be corrected? Antiquistik (talk) 14:03, 29 May 2024 (UTC)[reply]

Please provide the text that should be used so that it can be added in to the code. Primefac (talk) 16:30, 29 May 2024 (UTC)[reply]
@Primefac: For Old Babylonian cuneiform: This page contains Old Babylonian cuneiform script. Without proper rendering support, you may see question marks, boxes, or other symbols instead of cuneiform script.
For Neo-Assyrian cuneiform: This page contains Neo-Assyrian cuneiform script. Without proper rendering support, you may see question marks, boxes, or other symbols instead of cuneiform script.
For Neo-Babylonian cuneiform: This page contains cuneiform script. Without proper rendering support, you may see question marks, boxes, or other symbols instead of cuneiform script.
For Anatolian cuneiform: This page contains Anatolian (Hattic, Hittite, Hurrian, Luwian or Palaic) cuneiform script. Without proper rendering support, you may see question marks, boxes, or other symbols instead of cuneiform script.
A separate template for Urartian cuneiform won't be needed as Urartian uses Neo-Assyrian cuneiform. Antiquistik (talk) 17:52, 29 May 2024 (UTC)[reply]
Sorry for the delay; done. Primefac (talk) 17:47, 8 June 2024 (UTC)[reply]

Line feed[edit]

On the North British Academy of Arts article, the {{Contains special characters}} template is introducing an extra line feed at the top of the article. Praemonitus (talk) 16:41, 7 June 2024 (UTC)[reply]

This does not appear to be the case. Primefac (talk) 17:09, 8 June 2024 (UTC)[reply]
When I compare North British Academy of Arts to, say, Salt substitute, the first line is quite clearly at a different location. Praemonitus (talk) 19:00, 8 June 2024 (UTC)[reply]
Looks the same to me. I did check the code, for what it's worth, and there is no extraneous whitespace above or below any part of the template code. Primefac (talk) 19:03, 8 June 2024 (UTC)[reply]
Must be a browser difference then. Thanks. Praemonitus (talk) 19:26, 8 June 2024 (UTC)[reply]