Thread:User talk:Yair rand/I wonder if you'd care to help me with something controversial/reply

Hm, I really don't like messing with the actual code of editor.js, but that might be possible just by fiddling with the lists of language data... One possibility would be just to edit the list of languages' nesting so that Croatian nests as "Serbo-Croatian/Roman" (diff), only that would have an interwiki link to the Croatian Wiktionary instead of the Serbo-Croatian Wiktionary (not sure if that's a good thing or a bad thing)... Editing the list of ISO codes so that it acts like bs/hr/sr are alternate forms of sh is probably a bad idea, who knows what else that list might be used for... Directly attaching a check for whether the code is bs/hr/sr inside the unfocusing event in the input box and changing it to sh (diff) if it is might be an option, but I think those aren't really supposed to be formatted like *Serbo-Croatin: {t|...}, without subsections for scripts... If I recall correctly, Ivan Stambuk mentioned something like this at some point, so there's a good chance he has some idea of how it could be done.