Multichill created this task. Multichill added projects: Wikimedia-Hackathon-2020, Pywikibot, StructuredDataOnCommons. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION For quite a few images on Commons we have depicts -> church building, see https://commons.wikimedia.org/w/index.php?sort=relevance&search=haswbstatement%3AP180%3DQ16970+nearcoord%3A200km%2C52.38105%2C4.63657 for some examples. In this context "church building" is a class that we would like to replace it with the instance of the specific church. This can be done fully automatic based on the category the file is in. From the category we can find the relevant Wikidata item on which we can check if it's an instance of church building. If that's the case, we can replace the statement ( https://commons.wikimedia.org/w/api.php?action=help&modules=wbsetclaimvalue ). TASK DETAIL https://phabricator.wikimedia.org/T252292 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: Aklapper, pywikibot-bugs-list, Multichill, JohnsonLee01, Dijkstra, CBogen, Zkhalido, Demian, Viztor, JKSTNK, Wenyi, Jinoytommanjaly, Tbscho, MayS, Mdupont, JJMC89, StuartPrior, Dvorapa, Altostratus, Avicennasis, Volker_E, SBisson, mys_721tx, Jane023, Xelgen, jayvdb, Lydia_Pintscher, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs