Page MenuHomePhabricator

wikibase-dataitem does not return the localized name for Wikidata
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
The message will be shown as "آیتم Wikidata"

image.png (360×360 px, 27 KB)

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.

Event Timeline

Noting (from the merged-in task) that this issue apparently doesn't occur when viewing the MediaWiki:wikibase-dataitem page directly (e.g., at https://zh.wikipedia.org/wiki/MediaWiki:wikibase-dataitem). To me, that makes it potentially seem similar to T395640: Non-localized digits on Mediawiki:Recentchangestext on Bengali Wikipedia, given that (in both cases) the magic word/parser function does seem to be localized when viewing the page in the MediaWiki: namespace.

I guess we'll see whether or not the patch from that task (https://gerrit.wikimedia.org/r/1152331/) fixes this issue when it goes out with this week's deployment train ¯\_(ツ)_/¯

Following that patch's deployment with the train, this bug now seems to be resolved for me - @Huji @Dabao_qian please could you confirm whether the issue still exists for you?

A_smart_kitten assigned this task to cscott.

Assuming that it's been fixed, as I can't reproduce this issue anymore - please feel free to reopen if that's not the case, though!