MediaWiki talk:Gadget-UnsupportedTitles.js

Origin of script
For future reference I am not the original author of the script. I just moved it out from MediaWiki:Common.js. It was originated from this diff. Dixtosa (talk) 11:13, 1 November 2018 (UTC)

Hyphen vertical line vertical line hyphen
Unsupported titles/Hyphen vertical line vertical line hyphen needs to be added. — Eru·tuon 21:56, 4 September 2018 (UTC)
 * Done. Dixtosa (talk) 10:01, 5 September 2018 (UTC)

Aboriginal flag emoticons
Hi. Could Unsupported titles/Australian Aboriginal Flag emoticon ([-o-]) and Unsupported titles/Australian Aboriginal Flag emoticon alternative ([-0-]) be added please? Jjamesryan (talk) 04:15, 13 September 2018 (UTC)
 * done. Dixtosa (talk) 11:04, 1 November 2018 (UTC)
 * Thank you! Jjamesryan (talk) 23:02, 1 November 2018 (UTC)

Thai_name_of_Bangkok
Please correct Thai_name_of_Bangkok to the correct one. Thanks. --Octahedron80 (talk) 09:35, 11 December 2018 (UTC)

"กรุงเทพมหานคร อมรรัตนโกสินทร์ มหินทรายุธยา มหาดิลกภพ นพรัตนราชธานีบูรีรมย์ อุดมราชนิเวศน์มหาสถาน อมรพิมานอวตารสถิต สักกะทัตติยวิษณุกรรมประสิทธิ์"
 * ✅. — Eru·tuon 10:07, 11 December 2018 (UTC)

updating Unsupported titles/Five-bar_gate_tally
hi, can someone please add this entry to the titleMap to fix Unsupported titles/Five-bar_gate_tally:

'Five-bar_gate_tally': '',

thanks, --Habst (talk) 23:25, 15 July 2019 (UTC)
 * Sorry, that won't work because the gadget needs HTML code rather than wikitext. (At the moment it also only inserts plain text, not HTML tags, but that can be changed.) — Eru·tuon 01:24, 16 July 2019 (UTC)


 * thank you, in that case can you replace it with this which is the resultant html from that wikitext?

'Five-bar_gate_tally': '<img alt="Tally marks-Five-bar Gate.svg.png" src="//upload.wikimedia.org/wikipedia/commons/thumb/b/b1/Tally_marks-Five-bar_Gate.svg.png/50px-Tally_marks-Five-bar_Gate.svg.png" decoding="async" width="50" height="44" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/b1/Tally_marks-Five-bar_Gate.svg.png/75px-Tally_marks-Five-bar_Gate.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/b1/Tally_marks-Five-bar_Gate.svg.png/100px-Tally_marks-Five-bar_Gate.svg.png 2x" data-file-width="2000" data-file-height="1766">',


 * i also think you would need to change  to   to get the tags to work, maybe also changing the regex on that line. thanks, --Habst (talk) 04:13, 16 July 2019 (UTC)
 * to avoid disruption on pages like Unsupported_titles/Less_than, i think maybe it would be best to include a "raw html" flag on each entry in titleMap, if it's false then it uses  but if it's true then it can use  . (or, we can just replace those title names with their HTML entity codes.) --Habst (talk) 04:17, 16 July 2019 (UTC)
 * Correct, only it's the header, not the title tag, that will have the image added to it. The title tag can only contain plain text. I'm thinking it would be best to have the values in  be a string (as currently) or an object with the URL of an image:   in this case. Then the code below the   can decide whether to put it in the title tag, and whether to set the   property of the header or to create an image tag and append it. Including verbose HTML generated by the MediaWiki parser is best avoided. — Eru·tuon 18:06, 16 July 2019 (UTC)

Colon slash
Please add  for Unsupported titles/Colon slash, thanks. – Nixinova [&zwnj;T|C] 01:41, 12 November 2020 (UTC)
 * Done. — Eru·tuon 04:08, 12 November 2020 (UTC)

Updates needed
Can someone add, , , and ? Thanks. Binarystep (talk) 13:09, 26 October 2022 (UTC)

TitleDisplay requests
We have ♉ displaying as '♉︎', and that is working well. We should include at least the remaining signs of the zodiac:
 * ⛎ > ⛎&#xFE0E;
 * ⛎ > ⛎&#xFE0E;
 * ⛎ > ⛎&#xFE0E;
 * ⛎ > ⛎&#xFE0E;
 * ⛎ > ⛎&#xFE0E;
 * ⛎ > ⛎&#xFE0E;
 * ⛎ > ⛎&#xFE0E;
 * ⛎ > ⛎&#xFE0E;
 * ⛎ > ⛎&#xFE0E;
 * ⛎ > ⛎&#xFE0E;
 * ⛎ > ⛎&#xFE0E;
 * ⛎ > ⛎&#xFE0E;

and the phases of the moon:


 * 🌕 > 🌕&#xFE0E;
 * 🌔 > 🌔&#xFE0E;
 * 🌓 > 🌓&#xFE0E;
 * 🌒 > 🌒&#xFE0E;
 * 🌑 > 🌑&#xFE0E;
 * 🌘 > 🌘&#xFE0E;
 * 🌗 > 🌗&#xFE0E;
 * 🌖 > 🌖&#xFE0E;

(The difference, if not visible with your browser font, is that &amp;#xFE0E; is appended to force the character to display as text.)

Although not a problem for the default fonts I'm using, Venus/female and Mars/male might be a problem for others, so those should be specified as non-emoji as well:
 * ♀ > ♀&#xFE0E;
 * ♂ > ♂&#xFE0E;

We presumably want to include others; from my display, I notice in particular ♿ 🚻 🚹 🚺, but potentially any of the pages that link to Template:emojibox, if the character in question is the name of the article. kwami (talk) 05:28, 26 February 2023 (UTC)
 * I added the ones in the lists above, ♈ to ♂. — Eru·tuon 07:00, 26 February 2023 (UTC)
 * -- could you also add ⚪? We only define that in its text form. Thanks. kwami (talk) 08:50, 12 March 2023 (UTC)
 * Added it. — Eru·tuon 21:58, 12 March 2023 (UTC)

4 new unsupported titles
Hello - could someone please add, , and ? Thanks. Theknightwho (talk) 12:21, 14 March 2023 (UTC)

Underscore titles update request
I've moved three unsupported titles per an RFM discussion, and this script's data needs to be updated accordingly.

&mdash; excarnateSojourner (talk &middot; contrib) 20:09, 23 May 2023 (UTC)
 * is now at
 * is now at
 * is now at