https://bugzilla.wikimedia.org/show_bug.cgi?id=57027
Web browser: --- Bug ID: 57027 Summary: commons_link.py feature request Product: Pywikibot Version: compat (1.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jan.dudik@gmail.com Classification: Unclassified Mobile Platform: ---
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
https://bugzilla.wikimedia.org/show_bug.cgi?id=57027
Sam Reed (reedy) sam@reedyboy.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement
https://bugzilla.wikimedia.org/show_bug.cgi?id=57027
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- 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
https://bugzilla.wikimedia.org/show_bug.cgi?id=57027
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=57027
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 147899 merged by jenkins-bot: standard pagegenerators and minor improvements for commons_link.py
https://gerrit.wikimedia.org/r/147899
https://bugzilla.wikimedia.org/show_bug.cgi?id=57027
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |NEW Version|compat (1.0) |unspecified Summary|commons_link.py feature |support Wikidata in |request |commons_link.py
--- Comment #3 from Ricordisamoa ricordisamoa@openmailbox.org --- 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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=57027
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|General |network
https://bugzilla.wikimedia.org/show_bug.cgi?id=57027
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|network |Other scripts
https://bugzilla.wikimedia.org/show_bug.cgi?id=57027
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com Component|Other scripts |Wikidata
pywikipedia-bugs@lists.wikimedia.org