Hello, the Universal Language Selector has issues with language selection.
*Note: both of those wikis use a JS script that adds Special:MyLanguage/ to most links before page names. This is done after a page has fully loaded. This is not interfering with the selector though, links could as well have this part added manually for the same effect. We turned off the script before as a test and used manually changed links, and the issues still remain. We didn't know any other wikis that use this extension to check, otherwise the above list would be longer.
Issues with the selector:
- When selecting a language, the page properly reloads but the change is not applied, and the previous language still remains. This mostly happened when switching from a non-main language (English in both wiki examples) to another language. This issue fixes itself after reloading the page, but it's consistently appearing again after performing such a switch.
- The language sometimes gets changed to the previous language without user input when visiting another page, or when visiting a translated page.
- Selector has other similar issues that could have rules to them but they seem random for now. Both wikis have only up to a few translated pages currently, so testing wasn't possible.
I am not sure if the Translate extension could be involved, but both wikis are using it. It could possibly also be something with how the language is saved/cached rather than the selector itself.
Can something be done about it?