Pywikibot

Latest version: v9.6.2

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

Scan your dependencies

Page 1 of 18

9.6.2

-----
*02 February 2025*

* Add support for kncwiki (:phab:`T385187`)
* Fix a f-string in :meth:`Claim.fromJSON()<pywikibot.Claim.fromJSON>`
* i18n updates.

9.6.1

-----
*13 December 2024*

* Add support for tigwiki (:phab:`T381381`)
* Fix use of importlib.metadata.entry_points for pywikibot-scripts with Python 3.8 and 3.9 (:phab:`T358635`)
* i18n updates.

9.6.0

-----
*03 December 2024*

* Add support for idwikivoyage (:phab:`T381082`)
* Add docstrings of :class:`tools.classproperty` methods (:phab:`T380628`)
* Site property :attr:`BaseSite.codes<pywikibot.site._basesite.BaseSite.codes>` was added (:phab:`T380606`)
* Increase *leeway* parameter of :meth:`login.OauthLoginManager.identity` (:phab:`T380270`)
* Show a warning if *ignore_extension* parameter of :class:`pywikibot.FilePage` was set and the extension is invalid
* Remove old code of Python 3.2 or older in :func:`tools.chars.replace_invisible` due to :pep:`393`
* use :meth:`BasePage.autoFormat()<page.BasePage.autoFormat>` instead of :func:`date.getAutoFormat` in
:mod:`titletranslate`
* Upcast :class:`pywikibot.Page` to :class:`pywikibot.FilePage` in :meth:`PageGenerator.result()
<data.api.PageGenerator.result>` if ``imageinfo`` is given (:phab:`T379513`)
* Update oauth requirements
* i18n-updates
* Implement param *with_sort_key* in :meth:`page.BasePage.categories` (:phab:`T75561`)
* Python 3.7 support will be discontinued and probably this is the last version supporting it
* Add :meth:`page.BasePage.get_revision` method
* Retry :meth:`data.sparql.SparqlQuery.query` on internal server error (500) (:phab:`T378788`)
* Extract :meth:`APISite.linktrail()<pywikibot.site._apisite.APISite.linktrail>`
for hr-wiki (:phab:`T378787`)

9.5.0

-----
*30 October 2024*

* Add support for tcywikisource and tcywiktionary (:phab:`T378473`, :phab:`T378465`)
* i18n-updates
* Update invisible chars in :mod:`tools.chars` from unicode 16.0.0
* Rename :meth:`DataSite.getPropertyType()<pywikibot.site._datasite.DataSite.getPropertyType>`
to :meth:`DataSite.get_property_type()<pywikibot.site._datasite.DataSite.get_property_type>`
* provide XXXI with :func:`date.romanNumToInt` and :func:`date.intToRomanNum` functions
* No longer raise :exc:`exceptions.UnsupportedPageError` within :meth:`data.api.PageGenerator.result` (:phab:`T377651`)
* Extract messages with strong tag from xtools as error message in
:meth:`Page.authorship()<page._toolforge.WikiBlameMixin.authorship>` (:phab:`T376815`)

9.4.1

-----
*15 October 2024*

* Add support for new wikis (:phab:`T375019`, :phab:`T375104`, :phab:`T375426`,
:phab:`T376332`, :phab:`T376574`, :phab:`T377090`)

9.4.0

-----
*05 October 2024*

* Ignore :exc:`ValueError` during upcast of :class:`FilePage<pywikibot.page.FilePage>` due to invalid file extension
(:phab:`T367777`, :phab:`T376452`)
* Provide an entry point to connect foreign scripts with pwb wapper (:phab:`T139143`, :phab:`T139144`)
* Show a warning message for a deleted or unknown :class:`Claim<pywikibot.Claim>` type (:phab:`T374676`)
* ``preload_sites`` maintenance script was removed (:phab:`T348925`)
* Add :meth:`User.renamed_target()<pywikibot.User.renamed_target>` method
* Check whether Claim exists within :meth:`Claim.fromJSON()<pywikibot.Claim.fromJSON>` method (:phab:`T374681`)
* Add :attr:`logentries.LogEntry.params` as a public property
* Add support for several wikis (:phab:`T375435`, :phab:`T375097`, :phab:`T374646`, :phab:`T374817`, :phab:`T375026`)
* Add :meth:`title()<pywikibot.MediaInfo.title>` method to :class:`pywikibot.MediaInfo` (:phab:`T366424`)
* Add tags to the wikibase functions (:phab:`T372513`)
* :func:`diff.get_close_matches_ratio()` function was added
* Initialize super classes of :exc:`EditReplacementError` (:phab:`T212740`)
* Add a hint to import missing module in :mod:`wrapper<pywikibot.scripts.wrapper>` script
* i18n updates

Page 1 of 18

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.