Pywikibot

Latest version: v9.1.2

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

Scan your dependencies

Page 7 of 16

6.6.1

-----
*21 September 2021*

* Fix for removed action API token parameters of MediaWiki 1.37 (:phab:`T291202`)
* APISite.validate_tokens() no longer replaces outdated tokens (:phab:`T291202`)
* L10N updates

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 possbile
* 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`)

Page 7 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.