Steps to replicate the issue (include links if applicable):
- Navigate to https://zh.wikipedia.org/wiki/Special:%E6%9C%80%E6%96%B0%E9%A1%B5%E9%9D%A2 (possibly replicable on other wikis as well but not tried)
- For instance, NS5 is displayed as "Wikipedia讨论"
- Turn JavaScript off, and open the same page again
- Now NS5 is displayed as alias "维基百科讨论"
What should have happened instead?:
- The namespace names in HTML and JavaScript should be consistent.
- They should both display in the UI variant language instead of site language.
- They should both respect MediaWiki:Conversion-ns{ns_id}/{lang_tag} system messages. (display 维基百科讨论 instead of Wikipedia讨论)
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
146aca8 (but this issue has been present for quite some time)
Other information (browser name/version, screenshots, etc.):
Before this consistency was introduced it's likely to show both localized aliases.

