Category talk:Thai terms spelled with ๆ

From Wiktionary, the free dictionary
Latest comment: 4 years ago by Octahedron80 in topic Thai sortkey
Jump to navigation Jump to search

Thai sortkey[edit]

@Erutuon Something seems to be broken here. DTLHS (talk) 17:31, 5 December 2019 (UTC)Reply

Ah, yeah, it's a problem with the sort_key value of Thai in Module:languages/data2: it makes the makeSortKey method on the Thai language object in Module:category tree/charactercat remove the character so that the sortkey for the parent category is empty. Perhaps the module can avoid using the result of makeSortKey in this case because it results in an empty string. Octahedron80, you made the edit to remove that character from sortkeys; do you think we need a more general solution? — Eru·tuon 18:23, 5 December 2019 (UTC)Reply
To think about other languages, it might happen either if the sort key had only ignorable symbol. I saw Erutuon's code that I think it is enough to fix the case. --Octahedron80 (talk) 00:16, 6 December 2019 (UTC)Reply