Tgr changed the title from "[Task] Add mw.wikibase.getEntityObject by site link (title) Lua function" to "[Task] Add Lua function to get Wikibase entity by site link (title)".
Tgr edited the task description. (Show Details)

EDIT DETAILS
Please add a Lua function similar to [[https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua#mw.wikibase.getEntityObject|mw.wikibase.getEntityObject by site link (title) Lua function]] for getting an entity by site link (title), just like [[https://www.wikidata.org/wiki/Special:ItemByTitle or |Special:ItemByTitle]] or the [[https://www.mediawiki.org/wiki/Wikibase/API#wbgetentities|wbgetentities]] API module with titles parameter. It would be nice with and without language code or site code.

On **cswiki** articles translated from other language wikis are marked by Translated template (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 wikia different article, it is false positive there (could be categorized too, but in a different maintenance category). I can not single out these false positives, because even if I can find out (using Lua function in Module:Wikidata) there is an article in home wiki for any Q-ID given, I can notbecause even if I can find out that Q-ID for any wiki:page pair(using Lua function in Module:Wikidata) the Q-id for a given wiki:page.
...

TASK DETAIL
https://phabricator.wikimedia.org/T74815

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Tgr
Cc: srishakatux, Tpt, Jarekt, Wesalius, Zppix, czar, Strainu, Dvorapa, Base, Lucie, Pasleim, SJu, Bene, Herzi.Pinki, Mbch331, Daniel_Mietchen, Aklapper, Edgars2007, matej_suchanek, Aubrey, Accurimbono, ValterVB, Nemo_bis, Yair_rand, Liuxinyu970226, Candalua, Ricordisamoa, Wikidata-bugs, JulesWinnfield-hu, Lydia_Pintscher, hoo, SamanthaNguyen, D3r1ck01, Izno, aude, Osnard, RandomDSdevel, He7d3r, Jdforrester-WMF, Ladsgroup, Jay8g, Tgr
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to