Allow User to Change Language on Wiki Page
While viewing wiki pages, users can't change their language selection. It would be possible to change this behavior if we also implemented the following:
- Analyze the URL we are redirecting to after changing the language. If it's a wiki page that has a translation in the desired language, change the redirect to the translation URL.
- If no translation exists, land on an empty article saying that the page is written in another language, and providing the link(s) to return to the page. If the user has permission, allow them to translate it.
This only applies for the language chooser since it always passes through the same script. A similar method should be applied if the language was changed via the current URL.