Steps to replicate the issue (include links if applicable):
- Open Wikifunctions and ensure you're logged in.
- Change your interface language to anything other than English (I'm using Polish but it's likely to be reproducible in other languages too).
- Navigate to a nonexistent ZObject, for example: https://www.wikifunctions.org/view/en/Z15 (it has to be done through the /view/.../Z... endpoint, the language code doesn't matter).
What happens?:
You're redirected to a page whose name is the translation of Main Page into your interface language that's set in your preferences. For example if you set Polish, you would end up at https://www.wikifunctions.org/wiki/Strona_główna where Strona główna is Polish phrase meaning main page.
What should have happened instead?:
You should be redirected to either the proper main page (Wikifunctions:Main_Page) or to a page saying that the object doesn't exist, like https://www.wikifunctions.org/wiki/Z15 does (notice, here /wiki/Z... endpoint is used).
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):