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.

Parameters:
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, 828, 829, 2300, 2301, 2302, 2303
To specify all values, use *.
Default: *
gusite

Limit results to these sites.

Values (separate with | or alternative):
gucontinue

When more results are available, use this to continue.

gufilterlocal

Filter local usage of the file.

Type: boolean (details)