[Wikidata-bugs] [Maniphest] [Commented On] T229593: Correct Wikidata IDs not available from Javascript of Commons categories

2020-04-01 Thread Cparle
Cparle added a comment. I guess that would be possible, but the extension we use for structured data on commons is specifically targeted at media files. To adapt it (or to write new code) so we could have structured data on Category pages would be a sizable project - not 2.5 years like SDoC

[Wikidata-bugs] [Maniphest] [Commented On] T229593: Correct Wikidata IDs not available from Javascript of Commons categories

2020-03-31 Thread kaldari
kaldari added a comment. Another idea would be to associate the Wikidata ID with the category from the category side. TASK DETAIL https://phabricator.wikimedia.org/T229593 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: kaldari Cc: Cparle,

[Wikidata-bugs] [Maniphest] [Commented On] T229593: Correct Wikidata IDs not available from Javascript of Commons categories

2020-03-31 Thread Cparle
Cparle added a comment. It seems to me like the only way to resolve this would be to allow a wikidata item to have >1 sitelink to a particular wiki. Looking at the way this stuff is stored in the json, the `sitelinks` part of a wikidata item is a collection of links indexed by the wiki name

[Wikidata-bugs] [Maniphest] [Commented On] T229593: Correct Wikidata IDs not available from Javascript of Commons categories

2020-03-31 Thread kaldari
kaldari added a comment. Any thoughts on this? TASK DETAIL https://phabricator.wikimedia.org/T229593 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: kaldari Cc: PDrouin-WMF, Aklapper, kaldari, EgbeRef, CBogen, Vaibhav0199, Tinzawoo533,