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=mapdata (mpd)

(main | query | mapdata)
  • This module is internal or unstable, and you should not use it. Its operation may change without notice.
  • This module requires read rights.
  • Source: Kartographer
  • License: MIT

Request all Kartographer map data for the given pages

Specific parameters:
Other general parameters are available.
mpdgroups

Pipe-separated groups to return data for

Default: (empty)
mpdlimit

Data for how many pages to return

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

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

Type: integer
Examples:
Request all map data from the page Metallica
api.php?action=query&prop=mapdata&titles=Metallica [open in sandbox]
Request map data in groups group1 and group2 from the page Metallica
api.php?action=query&prop=mapdata&titles=Metallica&mpdgroups=group1|group2 [open in sandbox]