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, and you should not use it. Its operation may change without notice.
- This module requires read rights.
- This module only accepts POST requests.
- Kilde: Kartographer
- Licens: 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\Api\ApiSanitizeMapData)
- text
GeoJSON to sanitize
- This parameter is required.
Eksempel:
- Sanitize a GeoJSON blob
- api.php?action=sanitize-mapdata&text={"foo":"bar"} [open in sandbox]