Pywikibot

Latest version: v9.5.0

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

Scan your dependencies

Page 1 of 17

9.5.0

-----

* 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` durig 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

9.3.1

-----
*06 August 2024*

* Add support for bdrwiki (:phab:`T371762`)
* i18n updates

9.3.0

-----
*28 July 2024*

* Only add lang links from API response to a given page if present in family file (:phab:`T371107`)
* Add support for ``cswikivoyage`` to Pywikibot (:phab:`T370915`)
* :class:`pywikibot.FilePage` has a parameter *ignore_extension* to ignore file extension check :phab:`T352237`)
* Provide :attr:`cosmetic_changes.main_sortkey` to localize sort key in
:meth:`CosmeticChangesToolkit.standardizePageFooter<cosmetic_changes.CosmeticChangesToolkit.standardizePageFooter>`
* Add *ignore_section parameter* to :meth:`site.APISite.getredirtarget` and :meth:`page.BasePage.getRedirectTarget` to
ignore :exc:`exceptions.SectionError` (:phab:`T370295`)
* Avoid backslash in repr string of :class:`page.WikibaseEntity`
* *botflag* parameter of :meth:`page.BasePage.save`, :meth:`page.BasePage.put`, :meth:`page.BasePage.touch`,
:meth:`pywikibot.Page.set_redirect_target` and :meth:`pywikibot.ItemPage.set_redirect_target` was renamed to *bot* to
be in sync with :meth:`APISite.editpage<pywikibot.site._apisite.APISite.editpage>` and :api:`edit`.
* use :meth:`page.BasePage.templates` in :meth:`Page.templatesWithParams<page.Page.templatesWithParams>` to cache
templates
* Re-implement :meth:`Page.main_authors()<page._toolforge.WikiBlameMixin.main_authors>` as
:meth:`Page.authorship()<page._toolforge.WikiBlameMixin.authorship>` using ``xtools`` (:phab:`T366100`);
``wikitextparser`` packages is required for it.

9.2.1

-----
*13 July 2024*

* Add support for ``aewikimedia`` to Pywikibot (:phab:`T362529`)
* i18n updates

Page 1 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.