Original title:
"Add a global variable (table) or function returning all language codes supported by MediaWiki"
This will be required to avoid template constructions like https://commons.wikimedia.org/w/index.php?title=Template:Lle&action=edit
or local maintained lists of available language codes in a module
Version: unspecified
Severity: enhancement