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-b...@lists.wikimedia.org Reporter: maar...@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&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. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l