[[Portal:Zh]]

And suddenly, this is another unexpected issue that I've found, after those changes, in Kazakh portal page, the links after "Cyrl" and "Latn" appear, but links after "Arab" (https://translatewiki.net/w/i.php?title=Special:Translate&language=kk-arab and https://translatewiki.net/w/i.php?title=Special:Recentchanges&trailer=%2Fkk-arab&translations=only), which is the first ISO 15924 value, are missing.

Liuxinyu970226 (talk)09:26, 31 January 2018

Now use "15924-1=" instead of "15924=" when the default ISO 15924 script is not implied and the language code must be suffixed by a script code or variant code.

This solves the 3 cases: Kazakh ("kk" disabled need "kk-cyrl"), Uighur ("ug" disabled need "ug-arab"), and Chinese ("zh" disabled need "zh-hans").

If translations can still be done one unsuffixed language code (in its default script), AND on suffixed language code, use

  • "|15924=Scr0" for the default implied script (ambiguous/mixed),
  • "|15924-2=Scr1" for the *first* script
  • "|15924-3=Scr2" for the second script

But normally we should have only:

  • "|15924-1=Scr1" for the *first* script
  • "|15924-2=Scr2" for the *second* script

Variants are not impacted.

I documented this case in the template to make it more flexible

Verdy p (talk)10:56, 31 January 2018