API:Imageusage
From MediaWiki.org
| This page is part of the MediaWiki action API documentation. |
MediaWiki action API
- Introduction and quick start
- FAQ
- Tutorial
- Formats
- Error reporting
- Restricting usage
- Cross-site requests
- Authentication
- Queries
- Searching (by title, content, coordinates...)
- Parsing wikitext and expanding templates
- Purging pages' caches
- Parameter information
- Changing wiki content
- Create and edit pages
- Move pages
- Merge pages
- Rollback
- Delete pages
- Restore deleted revisions
- (Un)protect pages
- (Un)block users
- (Un)watch pages
- Mark revisions of watched pages as visited
- Send email
- Patrol changes
- Import pages
- Change user group membership
- Upload files
- User options
- Tokens
- Page language
- More...
- Watchlist feed
- Wikidata
- Extensions
- Using the API in MediaWiki and extensions
- Miscellaneous
- Implementation
- Client code
- Asserting
| 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. (Note: 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 namespacesiufilterredir: How to filter redirects (Default:all)all: List all pages regardless of their redirect flagredirects: Only list redirectsnonredirects: 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. See below for more detailed information.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. |