Jarekt added a comment.
In T237899#6459032 <https://phabricator.wikimedia.org/T237899#6459032>, @Lucas_Werkmeister_WMDE wrote: > Furthermore, from a technical perspective I doubt it’s even possible for Wikibase to update statements on Commons when items on Wikidata are merged. Within Wikidata, the software could discover all the affected pages through the pagelinks table, but on Commons I don’t know how Wikibase would even find the affected pages that need to be edited. (MediaInfo statements don’t seem to automatically record entity usage <https://www.mediawiki.org/wiki/Wikibase/Schema/wbc_entity_usage> for entities used in statements; compare the page information for a Test Commons file with one statement <https://test-commons.wikimedia.org/w/index.php?title=File:Screenshot_File_Crystal-8.stl.png&action=info>.) Purging pages on Commons affected by changes on Wikidata is a ongoing issue. See for example T173339 <https://phabricator.wikimedia.org/T173339> where pages on Commons are not purged when wikidata items they link to are updated. But you are right that files on Commons do not seem to keep track of entities they are connected to through SDC statements, the way they keep track of the same entities linked through lua calls originating from file description wikitext. For example File:Seneca_Rocks_climbing_-_13.jpg infopage <https://commons.wikimedia.org/w/index.php?title=File:Seneca_Rocks_climbing_-_13.jpg&action=info> in "Wikidata entities used in this page" section has a link to Seneca Rocks (Q7450337) <https://www.wikidata.org/wiki/Q7450337> because it is linked from infobox template, but links to other depicted entities like Traditional climbing (Q2214812) <https://www.wikidata.org/wiki/Q2214812> is missing as it only shows up in SDC tab. That is a problem. TASK DETAIL https://phabricator.wikimedia.org/T237899 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jarekt Cc: Lucas_Werkmeister_WMDE, Ramsey-WMF, LucasWerkmeister, Cparle, Keegan, Tacsipacsi, Aklapper, Jarekt, CBogen, Akuckartz, darthmon_wmde, Nandana, Namenlos314, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331, Ltrlg
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs