Steps to replicate the issue (include links if applicable):
- Navigate to a page with a link to a ZObject, for example https://www.wikifunctions.org/wiki/User:Msz2001/sandbox
- See what does it link to (e.g. /view/pl/Z10000)
- If it happens that the link leads to your language version:
- Change your interface language
- See that the link target doesn't change (e.g. links to PL even though you have English set)
- Purge the page
- See that the link target is now your interface language
What happens?:
The link targets are stored in a cache that's common to all users. The language code that's embedded in the /view/LANG/Z10000 link is determined for the user who invoked a purge and then it's reused for other people, even if they have other language set.
UPDATE: It affects both the target page and the link label when it's specified in a form like [[Z10000]].
What should have happened instead?:
Everyone should see a link that leads to a page in their own language.
Software version (skip for WMF-hosted wikis like Wikipedia): Wikifunctions
Other information (browser name/version, screenshots, etc.):