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
action=sanitize-mapdata
(main | sanitize-mapdata)
- This module is internal or unstable. Its operation may change without notice.
 - This module requires read rights.
 - This module only accepts POST requests.
 - Source: Kartographer
 - License: MIT
 
Performs data validation for Kartographer extension
Specific parameters:
Other general parameters are available.
- title
 Title of page on which this GeoJSON is supposed to be located. If no title is provided, a dummy one will be used.
- Default: Dummy title (called from Kartographer\ApiSanitizeMapData)
 - text
 GeoJSON to sanitize
- This parameter is required.
 
Example:
- Sanitize a GeoJSON blob
 - api.php?action=sanitize-mapdata&text={"foo":"bar"} [open in sandbox]