Steps to replicate the issue (include links if applicable):
- Go to any Wikipedia page that is associated with a Wikidata item, and set the language to Persian. Example: https://en.wikipedia.org/wiki/Lai_People's_Party?uselang=fa
- On the sidebar menu, look for the link to the Wikidata item for that page
What happens?:
The message will be shown as "آیتم Wikidata"
What should have happened instead?:
The message should be shown as "آیتم ویکیداده" using the localized name for Wikidata
Other information (browser name/version, screenshots, etc.):
The message generating that message is wikibase-dataitem and uses the {{WBREPONAME}} magic word. It seems like the magic word is not localized.
