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.
- Font : Kartographer
- Licéncia : MIT
Performs data validation for Kartographer extension
Paramètres :
Other general parameters are available.
- title
Títol de la pagina sus la quala aqueste GeoJSON es censat se trobar. Se cap de títol es pas provesit, un pseudòtítol serà utilizat.
- Per defecte: Dummy title (called from Kartographer\Api\ApiSanitizeMapData)
- text
GeoJSON to sanitize
- Cal aquest paràmetre.
Example:
- Sanitize a GeoJSON blob
- api.php?action=sanitize-mapdata&text={"foo":"bar"} [open in sandbox]