Steps to replicate the issue:
- Visit https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use/fr as an anonymous user (logged-out)
What happens?:
Since your user interface is English, you are redirected to https://foundation.wikimedia.org/wiki/Policy:Terms_of_Use
What should have happened instead?:
Since English as UI language is not expected by user (T5665, T58464), you should be redirected to https://foundation.wikimedia.org/wiki/Policy:Terms_of_Use/fr
I.e. for anonymous user, we should skip the user interface language detection in the lookup chain <user lang> -> <explicit lang> -> <fallback lang(s)> -> <base> (rMWb8332e99160f)
Other information:
Workarround: https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use/fr?uselang=random_string