Page MenuHomePhabricator

support Wikidata in commons_link.py
Open, Needs TriagePublic

Description

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 should 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


Version: unspecified
Severity: enhancement

Details

Reference
bz57027

Related Objects

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:37 AM
bzimport set Reference to bz57027.
bzimport added a subscriber: Unknown Object (????).
JAnD created this task.Nov 13 2013, 8:15 PM

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

Change 147899 merged by jenkins-bot:
standard pagegenerators and minor improvements for commons_link.py

https://gerrit.wikimedia.org/r/147899

Standard pagegenerators have been implemented:

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

Restricted Application added subscribers: Steinsplitter, Aklapper. · View Herald TranscriptSep 2 2015, 10:34 PM
dachary updated the task description. (Show Details)Aug 3 2016, 11:47 AM
Restricted Application added a subscriber: Avicennasis. · View Herald TranscriptAug 3 2016, 11:47 AM
Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptMar 23 2019, 10:15 PM