Last modified: 2012-05-18 15:35:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28608, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26608 - Allow fetching globalusage for multiple images
Allow fetching globalusage for multiple images
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
GlobalUsage (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-06 15:07 UTC by Bryan Tong Minh
Modified: 2012-05-18 15:35 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bryan Tong Minh 2011-01-06 15:07:44 UTC
Allow fetching globalusage for multiple images. This could be all images in a category, all images uploaded by a certain user, etc.
Comment 1 Smallman 2012-05-18 15:35:13 UTC
You can already do that by providing a generator. For example:

(This will give image info for 2 files)

https://commons.wikimedia.org/w/api.php?action=query&prop=globalusage&titles=File:Example.jpg|File:Apple.jpg


(This will give image info for files in the Physics commons category)

https://commons.wikimedia.org/w/api.php?action=query&generator=categorymembers&gcmtitle=Category:Physics&gcmtype=file&gcmlimit=max&prop=globalusage&gulimit=max

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links