Hi folks,

a new stable release 6.1.0 was published yesterday. There are some important points with this release:


Either mwparserfromhell or wikitextparser package are strictly recommended. They will become mandatory with the next release. Please follow the instructions if you get a FutureWarning due to this issue. The reason is that there are many bugs with nested templates and the current behaviour is a regression against old compat (1.0) release formerly known as trunk release. But the old implementation had some bugs too and there is no reason to reinvent the wheel. Therefore a MediaWiki Markup parser will be used in future and our regex implementation will be dropped. (T106763)

Vulnerability was found in Pillow which is used by our GUI userinterface. Therefore Python 3.5 has to be dropped for this code parts. If you are useing Python 3.5 is recommended to update your Python anyway because Python 3.5 has reached it's life cycle.But there is no plan to drop Python 3.5 yet. But be aware that more and more packages does not support it any longer.

Release 1.0.0 of PyMySQL is supported with Pywikibot.

Bugfixes and impovements

BaseBot.treat() may process items other than a Page object. A sample can be shown in patrol.py were a dict is assigned to bot.treat_page_type.

API:Revisiondelete is supported with Site.deleterevs().

Site.deletepage() was renamed to delete(). It is able to delete an old Image if a file idis give with oldimage parameter. Refer API:delete and the doc string for further Information.

Code cleanups

Some code cleanups were made. Refer HISTORY.rst and ROADMAP for them.
See https://github.com/wikimedia/pywikibot/blob/master/ROADMAP.rst and https://github.com/wikimedia/pywikibot/blob/master/HISTORY.rst

A lot of thanks to all who have contributed new code or reviewed proposed changed.
By the way I reworked the documentation a bit: https://doc.wikimedia.org/pywikibot/master/index.html
I added a new Pywikibot logo on it and hope you like it.

Thank you all. Comments are welcome.