Page MenuHomePhabricator

Lua should have access to get Q-ID from wiki:page pair
Closed, DuplicatePublic

Description

Articles translated from other language wikis are marked by Translated template on cswiki (with source wiki, article and revision parameters filled in). The template could detect (using Module:Wikidata), whether the article is connected with that source article and categorize it if not. But if that source article is connected with other article in home wiki, it is false positive there (could be categorized too, but in a different maintenance category). I can not single out these false positives, because I can find out (using Lua function in Module:Wikidata), if there is an article in home wiki for any Q-ID given. But I can not find out that Q-ID for any wiki:page pair given. It is not only a problem on cswiki, on enwiki in Module:Wikidata talk page is another request from @czar: QID lookup from enwp article title.