Manual:Pywikibot/coordinate import.py/zh

coordinate_import.py是一个用于将坐标从维基百科大量导入到ll|Wikibase的脚本.

概念
This will work on all pages in the category "coordinates not on Wikidata" and will import the coordinates on these pages to Wikidata.

The data from the is used so that extension has to be setup properly. On Wikimedia wiki's GeoData extension is installed. You can look at the Special:Nearby page on your local Wiki to see if it's populated.

维基媒体的维基上安装了$ext-geodata扩展，这会为api添加坐标. 此机器人使用该信息向维基数据添加声称. 默认使用P625 (地理坐标).

将来，只要属性为全球坐标类型，机器人就可以支持其他属性.

这个机器人需要一个Manual:Pywikibot/Page Generators|生成器:

You can also run over a set of items on the repo without coordinates and try to import them from any connected page. To do this, you need to explicitly provide the repo as the site using -lang a -family arguments. Example:

The following command line parameters are supported: