Last modified: 2014-09-09 09:18:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59027, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57027 - support Wikidata in commons_link.py
support Wikidata in commons_link.py
Status: NEW
Product: Pywikibot
Classification: Unclassified
Wikidata (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-13 20:15 UTC by JAn Dudík
Modified: 2014-09-09 09:18 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description JAn Dudík 2013-11-13 20:15:11 UTC
commons_link.py now can add {{commonscat}} or {{commons}} when commons page have the same name like the page.
For many pages is this value stored on wikidata, so bot shoul look at first to corresponding item on wikidata (P373 = commonscat, P935 = commons). When there is not, look for category/gallery on commons

additionally, script should use standad pagegenerators.py, now is supporting only -link(s) / -cat / -page / -ref
Comment 1 Gerrit Notification Bot 2014-07-20 13:11:20 UTC
Change 147899 had a related patch set uploaded by Ricordisamoa:
standard pagegenerators and minor improvements for commons_link.py

https://gerrit.wikimedia.org/r/147899
Comment 2 Gerrit Notification Bot 2014-08-08 13:56:48 UTC
Change 147899 merged by jenkins-bot:
standard pagegenerators and minor improvements for commons_link.py

https://gerrit.wikimedia.org/r/147899
Comment 3 Ricordisamoa 2014-08-09 03:16:49 UTC
Standard pagegenerators have been implemented:
- https://gerrit.wikimedia.org/r/139036 for core
- https://gerrit.wikimedia.org/r/147899 for compat

Only the Wikidata part remains, and also applies to core.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links