Steps to reproduce
- Open https://www.wiktionary.org/
- Search for Saraiki Wiktionary (ﺱﺭﺎﺋیکی, skr, 10k+ articles category).
Actual result
- It’s not there.
Expected result
- It’s there.
Debugging results
After some hours of debugging (the developer documentation is quite far from being perfect 🙁), I found out that the issue is that there’s no skr localization – only skr-arab. So actually this symptom is the result of two issues:
- Why does the language code of the l10n differ from the language code of the wiki, and how could it not differ? This should be handled in this ticket, and it’s something I hope the Translatewiki folks can answer/solve.
- Why does the generation script simply ignore languages that don’t have translations? Either it should use some fallback data, or show a giant error (or at least warning) message to the developer… This is a more complicated issue that should be handled in T319138.