Manual:Pywikibot/Overview

From MediaWiki.org
Jump to: navigation, search

The Python MediaWiki Robot Framework (Pywikibot) is a collection of tools made to fit the maintenance need on Wikipedia, but it can also be used on other MediaWiki sites.

There is a compat release that supports older mediawiki software.

There is the core release of the Python Wikipedia Robot Framework, formerly known as the rewrite branch. It features several improvements, such as full API usage and a pythonic package layout.

The table below may assist in choosing between the compat and core release.

Requirements for a bot[edit | edit source]

To run a bot on your wiki, you will need Shell access to your hosting account. If you don't know whether you have Shell access or not, ask your hosting provider. You will need Python version > 2.5 and less than 3.0 although Python 2.4.3 has also worked for at least one bot script. Preferred version is 2.7.2. or higher. To check whether you have Python installed and its version, just type "python" at the Shell prompt.


Python version pywikibot compat pywikibot core
Former release pywikipedia trunk pywikibot rewrite branch
<= 2.3 no support no support
2.4 no PLURAL support, only few scripts supported. Not supported anymore
2.5 unicode bug sf.net#1382, don't use it with wikimedia projects
2.6.0 — 2.6.4 unicode bug sf.net#1246, don't use it with wikimedia projects
2.6.5 — 2.6.8 should run
2.7
2.7.1
should run
2.7.1
toolserver and labs only
OK OK
2.7.2 — 2.7.x OK OK
3.0
3.1
3.2
no support no support
3.3 — 3.4 OK

License[edit | edit source]

Here you can view the LICENSE files for core and compat.

Other licenses[edit | edit source]