jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1189964?usp=email )
Change subject: [10.5.0] Publisch Pywikibot 10.5 ...................................................................... [10.5.0] Publisch Pywikibot 10.5 Change-Id: I85e9828cb133ea94a0f2169e6ee727d06c0aeb0b --- M ROADMAP.rst M pywikibot/__metadata__.py 2 files changed, 22 insertions(+), 1 deletion(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/ROADMAP.rst b/ROADMAP.rst index 721ed5a..e96964f 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -1,6 +1,20 @@ Current Release Changes ======================= +* :class:`Siteinfo<pywikibot.site._siteinfo.Siteinfo>` query is made with formatversion 2. Several + boolean values are available now. Note that '*' keys for some data are kept for backward + compatibility but may be removed later. (:phab:`T404301`) +* A new property :attr:`APISite.restrictions<pywikibot.site._apisite.APISite.restrictions>` was + added. It replaces the methods :meth:`APISite.protection_types() + <pywikibot.site._apisite.APISite.protection_types>` and :meth:`APISite.protection_levels() + <pywikibot.site._apisite.APISite.protection_levels>` which are deprecated now. +* Support for mswikiquote was added (:phab:`T404702`) +* :meth:`APISite.rollbackpage()<pywikibot.site._apisite.APISite.rollbackpage>` supports *pageid* + argument as alternative to *page*. *markbot* defaults to True if the rollbacker is a bot and not + explicitly given. The method now returns a dictionary with rollback information. The version + history no longer has to be preloaded. (:phab:`T403425`) +* :meth:`BasePage.rollback()<page.BasePage.rollback>` was implemented (:phab:`T403425`) +* The first parameter of :exc:`exceptions.PageRelatedError` may now be a pageid (:phab:`T403425`) * i18n Updates * Use 'login' token from API response in :meth:`login.ClientLoginManager.login_to_site` (:phab:`T328814`) @@ -14,6 +28,13 @@ Pending removal in Pywikibot 13 ------------------------------- +* 10.5.0: Accessing the fallback '*' keys in 'languages', 'namespaces', 'namespacealiases', and + 'skins' properties of :attr:`APISite.siteinfo<pywikibot.site._apisite.APISite.siteinfo>` are + deprecated and will be removed. +* 10.5.0: The methods :meth:`APISite.protection_types() + <pywikibot.site._apisite.APISite.protection_types>` and :meth:`APISite.protection_levels() + <pywikibot.site._apisite.APISite.protection_levels>` are deprecated. + :attr:`APISite.restrictions<pywikibot.site._apisite.APISite.restrictions>` should be used instead. * 10.4.0: Require all parameters of :meth:`Site.allpages() <pywikibot.site._generators.GeneratorsMixin.allpages>` except *start* to be keyword arguments. * 10.4.0: Positional arguments of :class:`pywikibot.Coordinate` are deprecated and must be given as diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py index f278904..7daac19 100644 --- a/pywikibot/__metadata__.py +++ b/pywikibot/__metadata__.py @@ -12,6 +12,6 @@ from time import strftime -__version__ = '10.5.0.dev0' +__version__ = '10.5.0' __url__ = 'https://www.mediawiki.org/wiki/Manual:Pywikibot' __copyright__ = f'2003-{strftime("%Y")}, Pywikibot team' -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1189964?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I85e9828cb133ea94a0f2169e6ee727d06c0aeb0b Gerrit-Change-Number: 1189964 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt <[email protected]> Gerrit-Reviewer: Xqt <[email protected]> Gerrit-Reviewer: jenkins-bot
_______________________________________________ Pywikibot-commits mailing list -- [email protected] To unsubscribe send an email to [email protected]
