Make a function to get the user language from the Babel settings as an alternative to the earlier used preferences. This can only be used in pages that is not cached.
Version: unspecified
Severity: enhancement
Make a function to get the user language from the Babel settings as an alternative to the earlier used preferences. This can only be used in pages that is not cached.
Version: unspecified
Severity: enhancement
There are probably better and more expected sources like:
The "Babel tower defining the language" would be an obscure feature, and not intuitive at all: most users willing to set language would first try the preferences pages.
This would be interesting to offer proper localization to people not familiar with our preferences, but I'm doubtful we'll have a lot of people able to write {{#babel:de|en-2|ru-1}} in their user page without knowing the preference.
[Moving to Babel extension, as it's more logical the function is implemented there. Adding wikidata keyword for better tracking. ]
This is about language fallbacks that is not covered by normal content negotiation, nor by preferences (it is a list of alternate languages). If it is not implemented in Babel it could easily be moved to Wikibase and be done there.