MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

prop=globalusage (gu)

(main | query | globalusage)
  • This module requires read rights.
  • Source: Global Usage
  • License: MIT

Returns global image usage for a certain image.

Specific parameters:
Other general parameters are available.
guprop

Which properties to return:

url
Adds url.
pageid
Adds page ID.
namespace
Adds namespace ID.
Values (separate with | or alternative): namespace, pageid, url
Default: url
gulimit

How many links to return.

Type: integer or max
The value must be between 1 and 500.
Default: 10
gunamespace

Limit results to these namespaces.

Values (separate with | or alternative): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 730, 731, 828, 829
To specify all values, use *.
Default: *
gusite

Limit results to these sites.

Values (separate with | or alternative): bgwiki, bnwiki, cswiki, datawiki, dewiki, enwiki, eowiki, eswiki, frwiki, hiwiki, huwiki, hywiki, itwiki, jawiki, kawiki, kkwiki, newiki, nlwiki, plwiki, poolwiki, pt_brwiki, ptwiki, quotewiki, ruwiki, srwiki, svwiki, trwiki
gucontinue

When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.

gufilterlocal

Filter local usage of the file.

Type: boolean (details)