Page MenuHomePhabricator

Implement globalusage in site
Closed, DuplicatePublic

Description

Shared image sites (like Wikimedia Commons) offer globalusage in the api, see for example https://commons.wikimedia.org/w/api.php?action=query&prop=globalusage&titles=File:Example.jpg . Looks like it works on every Wikimedia site (https://nl.wikipedia.org/w/api.php?action=query&prop=globalusage&titles=File:Example.jpg). We should implement this as part of site. Probably easiest to expand "def imageusage(self, image, namespaces=None, filterredir=None, step=None, total=None, content=False):" with an option to get globalusage.


Version: core-(2.0)
Severity: enhancement

Details

Reference
bz58973

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 2:27 AM
bzimport added a project: Pywikibot-General.
bzimport set Reference to bz58973.
bzimport added a subscriber: Unknown Object (????).