Jump to: navigation, search
If you need more help on setting up your Pywikibot visit the IRC channel #pywikibotconnect @ freenode server or Pywikibot mailing list.

How to report a bug[edit | edit source]

When you report a bug, please try to include:

  • What Pywikipediabot version you are using. We recommend that you test if the bug is still present in the latest available revision, as stored in Git.
  • Python version (do python -V to check) and operating system you use (e.g. Windows, Linux, Mac OS...).
  • A nice summary.
  • A full description of the problem/report.
  • How to reproduce the bug, with full information (script, command line, family, and language used).
  • The console output provided by the script (included the Python traceback if you are reporting a crash).

To submit a new bug, visit the bug tracker.

Development[edit | edit source]

If you have thought of a function you want to have, and none of the bots provides it yet, you can ask one of the programmers to write it for you. Or even better, you can try to work on the bots yourself. Python is a nice language, and not hard to learn. We will welcome you.

Commit access[edit | edit source]

Anyone can get Developer access. Once you've registered, if you're interested in working on pywikipedia, please email the mailing list and introduce yourself and mention what you'd like to work on, so other people can greet you.

Working with source code[edit | edit source]

#for hacking core
git clone ssh://

and after modifying the code, follow the steps in Gerrit/Tutorial.

Documentation[edit | edit source]

This is the user and developer manual, as can be found on Manual:Pywikibot, please help keeping it updated.

The code itself is partly documented. You can find them, e.g. at:

as well as unit test code coverage reports at:

Bot & Proxy[edit | edit source]

Core master

Use requests environment variables. See phab:T111752.

Core 2.0
Add the following lines to
import httplib2
from httplib2 import socks

proxy = httplib2.ProxyInfo(socks.PROXY_TYPE_HTTP, 'localhost', 8080)

Add the following line to your
proxy = {'host': 'localhost:8080', 'auth': None}

Debugging network issues[edit | edit source]

See Pywikibot/mitmproxy for tips.

See also[edit | edit source]

References[edit | edit source]