Pywikibot

Latest version: v9.6.2

Safety actively analyzes 706567 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 18

6.6.0

-----
*15 September 2021*

* Drop piprop from meta=proofreadinfo API call (:phab:`T290585`)
* Remove use_2to3 with setup.py (:phab:`T290451`)
* Unify WbRepresentation's abstract method signature
* L10N updates

6.5.0

-----
*05 August 2021*

* Add support for jvwikisource (:phab:`T286247`)
* Handle missingtitle error code when deleting
* Check for outdated setuptools in pwb.py wrapper (:phab:`T286980`)
* Remove traceback for original exception for known API error codes
* Unused strm parameter of init_handlers was removed
* Ignore throttle.pid if a Site object cannot be created (:phab:`T286848`)
* Explicitly return an empty string with OutputProxyOption.out property (:phab:`T286403`)
* Explicitly return None from ContextOption.result() (:phab:`T286403`)
* Add support for Lingua Libre family (:phab:`T286303`)
* Catch invalid titles in Category.isCategoryRedirect()
* L10N updates
* Provide structured data on Commons (:phab:`T213904`, :phab:`T223820`)

6.4.0

-----
*01 July 2021*

* Add support for dagwiki, shiwiki and banwikisource
* Fix and clean up DataSite.get_property_by_name
* Update handling of abusefilter-{disallow,warning} codes (:phab:`T285317`)
* Fix terminal_interface_base.input_list_choice (:phab:`T285597`)
* Fix ItemPage.fromPage call
* Use \*iterables instead of genlist in intersect_generators
* Use a sentinel variable to determine the end of an iterable in roundrobin_generators
* Require setuptools 20.8.1 (:phab:`T284297`)
* Add setter and deleter for summary_parameters of AutomaticTWSummaryBot
* L10N updates
* Add update_options attribute to BaseBot class to update available_options
* Clear put_queue when canceling page save (:phab:`T284396`)
* Add -url option to pagegenerators (:phab:`T239436`)
* Add add_text function to textlib (:phab:`T284388`)
* Require setuptools >= 49.4.0 (:phab:`T284297`)
* Require wikitextparser>=0.47.5
* Allow images to upload locally even they exist in the shared repository (:phab:`T267535`)
* Show a warning if pywikibot.__version__ is behind scripts.__version__ (:phab:`T282766`)
* Handle <ce>/<chem> tags as <math> aliases within textlib.replaceExcept() (:phab:`T283990`)
* Expand simulate query response for wikibase support (:phab:`T76694`)
* Double the wait time if ratelimit exceeded (:phab:`T270912`)
* Deprecated extract_templates_and_params_mwpfh and extract_templates_and_params_regex functions were removed

6.3.0

-----
*31 May 2021*

* Check bot/nobots templates for cosmetic_changes hook (:phab:`T283989`)
* Remove outdated opt._option which is already dropped (:phab:`T284005`)
* Use IntEnum with cosmetic_changes CANCEL
* Remove lru_cache from botMayEdit method and fix it's logic (:phab:`T283957`)
* DataSite.createNewItemFromPage() method was removed in favour of ImagePage.fromPage() (:phab:`T98663`)
* mwparserfromhell or wikitextparser MediaWiki markup parser is mandatory (:phab:`T106763`)

6.2.0

-----
*28 May 2021*

**Improvements and Bugfixes**

* Use different logfiles for multiple processes of the same script (:phab:`T56685`)
* throttle.pip will be reused as soon as possibile
* terminal_interface_base.TerminalHandler is subclassed from logging.StreamHandler
* Fix iterating of SizedKeyCollection (:phab:`T282865`)
* An abstract base user interface module was added
* APISite method pagelanglinks() may skip links with empty titles (:phab:`T223157`)
* Fix Page.getDeletedRevision() method which always returned an empty list
* Async chunked uploads are supported (:phab:`T129216`, :phab:`T133443`)
* A new InvalidPageError will be raised if a Page has no version history (:phab:`T280043`)
* L10N updates
* Fix __getattr__ for WikibaseEntity (:phab:`T281389`)
* Handle abusefilter-{disallow,warning} codes (:phab:`T85656`)

**Code cleanups**

* MultipleSitesBot.site attribute was removed (:phab:`T283209`)
* Deprecated BaseSite.category_namespaces() method was removed
* i18n.twntranslate() function was removed in favour of twtranslate()
* siteinfo must be used as a dictionary ad cannot be called anymore
* APISite.has_transcluded_data() method was removed
* Deprecated LogEntry.title() method was removed
* Deprecated APISite.watchpage() method was removed
* OptionHandler.options dict has been removed in favour of OptionHandler.opt
* The toStdout parameter of ui.output has been dropped
* terminal_interface_base.TerminalFormatter was removed
* Move page functions UnicodeToAsciiHtml, unicode2html, url2unicode to tools.chars with renaming them
* Rename _MultiTemplateMatchBuilder to MultiTemplateMatchBuilder
* User.name() method was removed in favour of User.username property
* BasePage.getLatestEditors() method was removed in favour of contributors() or revisions()
* pagenenerators.handleArg() method was renamed to handle_arg() (:phab:`T271437`)
* CategoryGenerator, FileGenerator, ImageGenerator and ReferringPageGenerator pagegenerator functions were removed
* Family.ignore_certificate_error() method was removed in favour of verify_SSL_certificate (:phab:`T265205`)
* tools.is_IP was renamed to is_ip_address due to :pep:`8`
* config2.py was renamed to config.py
* Exceptions were renamed having a suffix "Error" due to :pep:`8` (:phab:`T280227`)

6.1.0

-----
*17 April 2021*

**Improvements and Bugfixes**

* interwiki_graph module was restored (:phab:`T223826`)
* proofreadpage: search for "new" class after purge (:phab:`T280357`)
* Enable different types with BaseBot.treat()
* Context manager depends on pymysql version, not Python release (:phab:`T279753`)
* Bugfix for Site.interwiki_prefix() (:phab:`T188179`)
* Exclude expressions from parsed template in mwparserfromhell (:phab:`T71384`)
* Provide an object representation for DequeGenerator
* Allow deleting any subclass of BasePage by title (:phab:`T278659`)
* Add support for API:Revisiondelete with Site.deleterevs() method (:phab:`T276726`)
* L10N updates
* Family files can be collected from a zip folder (:phab:`T278076`)

**Dependencies**

* **mwparserfromhell** or **wikitextparser** are strictly recommended (:phab:`T106763`)
* Require **Pillow**>=8.1.1 due to vulnerability found (:phab:`T278743`)
* TkDialog of GUI userinterface requires **Python 3.6+** (:phab:`T278743`)
* Enable textlib.extract_templates_and_params with **wikitextparser** package
* Add support for **PyMySQL** 1.0.0+

**Code cleanups**

* APISite.resolvemagicwords(), BaseSite.ns_index() and remove BaseSite.getNamespaceIndex() were removed
* Deprecated MoveEntry.new_ns() and new_title() methods were removed
* Unused NoSuchSite and PageNotSaved exception were removed
* Unused BadTitle exception was removed (:phab:`T267768`)
* getSite() function was removed in favour of Site() constructor
* Page.fileUrl() was removed in favour of Page.get_file_url()
* Deprecated getuserinfo and getglobaluserinfo Site methods were removed

Page 9 of 18

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.