Manual:Pywikibot/Wikidata/zh

This page explains how to create python bots on Wikidata using the basic pywikibot library.

If you just want to run some scripts without writing a line of python, see the included Wikidata scripts.

Configuration
To start contributing/testing using your bot's account you must add the following to your user-config.py:


 * Production site


 * 测试网站

例子
see d:Wikidata:Creating a bot for an extended documentation. pywikibot core supports most Wikibase features already, e.g., qualifiers, sources, properties with item, coordinate, time, and string type.