Manual:Pywikibot/coordinate import.py
From MediaWiki.org
Wikimedia Git repository has this file:
![]() |
Pywikibot scripts |
---|
coordinate_import.py is a script to mass import coordinates from Wikipedia to Wikidata .
Concept[edit]
On Wikimedia wiki's GeoData extension is installed. This adds coordinates to the api. This bot uses that information to add a claim to Wikidata. By default P625 (coordinate location) is used.
In the future the bot might support other properties as long as the property is of type globe-coordinate.
Syntax[edit]
The bot expects a generator:
python coordinate_import.py <some generator>