Manual:Pywikibot/Wikidata/en

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


 * Testing site

Example
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.

Some bot examples

 * Example pywikibot code by User:Mike Peel
 * Collection of Wikidata bots by User:Multichill