Mike_Peel created this task. Mike_Peel added projects: Wikidata, MediaWiki-Interwiki. Restricted Application added subscribers: Liuxinyu970226, Aklapper.
TASK DESCRIPTION The sidebar link to Wikimedia Commons on various Wikipedias currently uses P373 <https://phabricator.wikimedia.org/P373>. It would be better to use the interwiki sitelinks to Commons instead. The logic in this case would be: 1. If there is a sitelink to Commons in the attached Wikidata item, use that (optional: unless it is to a gallery page) 2. If there is a P910 <https://phabricator.wikimedia.org/P910> value, follow that to the category item and use the sitelink to Commons from there 3. If there is a P1754 <https://phabricator.wikimedia.org/P1754> value, follow that to the category item and use the sitelink to Commons from there 4. Otherwise, display nothing. This follows the logic of the "_getCommonslink" function of https://commons.wikimedia.org/wiki/Module:WikidataIB - which is used to display the links in https://en.wikipedia.org/wiki/Template:Commons_category . This is one of the blockers for the eventual deletion of P373 <https://phabricator.wikimedia.org/P373> from Wikidata - see the ongoing discussion at https://www.wikidata.org/wiki/Wikidata:Properties_for_deletion#Property:P373 TASK DETAIL https://phabricator.wikimedia.org/T232927 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mike_Peel Cc: Aklapper, Liuxinyu970226, Lydia_Pintscher, Mike_Peel, darthmon_wmde, DannyS712, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
