API:Imageusage
Jump to navigation
Jump to search
| This page is part of the MediaWiki Action API documentation. |
| Please help improve this technical documentation! Take our MediaWiki Action API Technical Documentation User Feedback Survey before 6 January – Note: The survey uses Google Forms. See Privacy Statement – Thanks! |
| Imageusage | ||
|---|---|---|
This module can be used as a Generator. |
||
| Prefix | iu | |
| Required rights | none | |
| Post only? | No | |
| Generated help | Current | |
| Version added |
|
|
Find all pages that use the given image title.
In MW 1.9 and 1.10, the module name was imagelinks.
Parameters[edit]
iutitle: List pages linking to this title. The title does not need to exist.iunamespace: Only list pages in these namespaces.iufilterredir: How to filter redirects. (Default:all)all: List all pages regardless of their redirect flag.redirects: Only list redirects.nonredirects: Don't list redirects.
iulimit: Maximum amount of pages to list. Maximum limit is halved ifiuredirectis set. No more than 500 (5000 for bots) allowed. (Default: 10)iuredirect: If set, pages linking toiutitlethrough a redirect will also be listed.iucontinue: Used to continue a previous request.
Errors Codes[edit]
| Code | Info |
|---|---|
| iubadcontinue | Invalid continue param. You should pass the original value returned by the previous query. |