Manual:Pywikibot/coordinate import.py

coordinate_import.py is a script to mass import coordinates from Wikipedia to .

Concept
On Wikimedia wiki's  extension is installed. This adds coordinates to the api. This bot uses that information to add a claim to Wikidata. By default p625>:d:Property:P625|P625 (coordinate location) is used.

In the future the bot might support other properties as long as the property is of type wd-datatype>:d:Category:Properties with globe-coordinate-datatype|globe-coordinate.

Syntax
The bot expects a pggen>Special:MyLanguage/Manual:Pywikipediabot/pagegenerators.py|generator: