API:Imageusage

From MediaWiki.org
Jump to: navigation, search
This page is part of the MediaWiki action API documentation.

MediaWiki action API

v · d · e

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 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 if iuredirect is set. No more than 500 (5000 for bots) allowed. (Default: 10)
  • iuredirect: If set, pages linking to iutitle through 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.