Thread:User talk:CodeCat/Template:catfix/reply (11)

Right now, script detection counts characters in each of the language's scripts, and returns the one with the most characters matched. So there's no "default". However, if all of a language's scripts return 0 matches, then "None" is returned as the script. So perhaps that's where the default could fit in; it would be a fallback. But keep in mind it would only apply if there are no characters from ANY of the language's scripts. Just a single "a" when Latn is included in the list of scripts will make it pick Latn, even if the remaining characters are all gibberish.