https://bugzilla.wikimedia.org/show_bug.cgi?id=58973
Web browser: --- Bug ID: 58973 Summary: Implement globalusage in site Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: maarten@mdammers.nl Classification: Unclassified Mobile Platform: ---
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&am... . Looks like it works on every Wikimedia site (https://nl.wikipedia.org/w/api.php?action=query&prop=globalusage&tit...). 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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58973
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Normal CC| |ladsgroup@gmail.com Severity|normal |enhancement
pywikipedia-bugs@lists.wikimedia.org