jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1170642?usp=email )
Change subject: doc: Update ROADMAP.rst and CHANGELOG.rst ...................................................................... doc: Update ROADMAP.rst and CHANGELOG.rst Change-Id: I8ccd50a16ae2ab2a63405f1ce61053d508e56abc --- M ROADMAP.rst M scripts/CHANGELOG.rst 2 files changed, 90 insertions(+), 49 deletions(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/ROADMAP.rst b/ROADMAP.rst index 26bbc03..fef7510 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -1,84 +1,118 @@ Current Release Changes ======================= +* Refactor the :class:`throttle.Trottle` class (:phab:`T289318`) +* L10N-Updates: add language aliases for ``gsw``, ``sgs``, ``vro``, ``rup`` and ``lzh`` + to :class:`family.WikimediaFamily` family class + (:phab:`T399411`, :phab:`T399438`, :phab:`T399444`, :phab:`T399693`, :phab:`T399697` ) +* Refactor HTML removal logic in :func:`textlib.removeHTMLParts` using :class:`textlib.GetDataHTML` + parser; *removetags* parameter was introduced to remove specified tag blocks (:phab:`T399378`) +* Refactor :class:`echo.Notification` and fix :meth:`mark_as_read()<echo.Notification.mark_as_read>` + method (:phab:`T398770`) +* Update beta domains in family files from beta.wmflabs.org to beta.wmcloud.org (:phab:`T289318`) * ``textlib.to_latin_digits()`` was renamed to :func:`textlib.to_ascii_digits` (:phab:`T398146#10958283`), - ``NON_LATIN_DIGITS`` of :mod:`userinterfaces.transliteration` was renamed to ``NON_ASCII_DIGITS``. -* Add -cookies option to :mod:`login<pywikibot.scripts.login>` script to login with cookies files only -* Create a Site using :func:`pywikibot.Site` constructor with a given url even if the url ends with - a slash (:phab:`T396592`) + ``NON_LATIN_DIGITS`` of :mod:`userinterfaces.transliteration` was renamed to ``NON_ASCII_DIGITS`` +* Add -cookies option to the :mod:`login<pywikibot.scripts.login>` script to log in with cookies + files only +* Create a Site using the :func:`pywikibot.Site` constructor with a given url even if the URL, even + if it ends with a slash (:phab:`T396592`) * Remove hard-coded error messages from :meth:`login.LoginManager.login` and use API response instead -* Add additional informations to :meth:`Site.login()<pywikibot.site._apisite.APISite.login>` error message (:phab:`T395670`) +* Add additional information to :meth:`Site.login()<pywikibot.site._apisite.APISite.login>` + error message (:phab:`T395670`) * i18n updates -Current Deprecations -==================== +Deprecations +============ -* 10.3.0: ``textlib.to_latin_digits()`` will be removed in favour of :func:`textlib.to_ascii_digits`, - ``NON_LATIN_DIGITS`` of :mod:`userinterfaces.transliteration` will be removed in favour of ``NON_ASCII_DIGITS``. +Pending removal in Pywikibot 13 +------------------------------- + +* 10.3.0: :meth:`throttle.Trottle.getDelay` and :meth:`throttle.Trottle.setDelays` were renamed; the + old methods will be removed (:phab:`T289318`) +* 10.3.0: :attr:`throttle.Trottle.next_multiplicity` attribute is unused and will be removed + (:phab:`T289318`) +* 10.3.0: *requestsize* parameter of :class:`throttle.Trottle` call is deprecated and will be + dropped (:phab:`T289318`) +* 10.3.0: :func:`textlib.to_latin_digits` will be removed in favour of + :func:`textlib.to_ascii_digits`, ``NON_LATIN_DIGITS`` of :mod:`userinterfaces.transliteration` + will be removed in favour of ``NON_ASCII_DIGITS`` (:phab:`T398146#10958283`) * 10.2.0: :mod:`tools.threading.RLock<tools.threading>` is deprecated and moved to :mod:`backports` module. The :meth:`backports.RLock.count` method is also deprecated. For Python 3.14+ use ``RLock`` from Python library ``threading`` instead. (:phab:`T395182`) * 10.1.0: *revid* and *date* parameters of :meth:`Page.authorship() <page._toolforge.WikiBlameMixin.authorship>` were dropped -* 10.0.0: *last_id* of :class:`comms.eventstreams.EventStreams` was renamed to *last_event_id* (:phab:`T309380`) +* 10.0.0: *last_id* of :class:`comms.eventstreams.EventStreams` was renamed to *last_event_id* + (:phab:`T309380`) * 10.0.0: 'millenia' argument for *precision* parameter of :class:`pywikibot.WbTime` is deprecated; - 'millennium' must be used instead. + 'millennium' must be used instead * 10.0.0: *includeredirects* parameter of :func:`pagegenerators.AllpagesPageGenerator` and :func:`pagegenerators.PrefixingPageGenerator` is deprecated and should be replaced by *filterredir* + + +Pending removal in Pywikibot 12 +------------------------------- + * 9.6.0: :meth:`BaseSite.languages()<pywikibot.site._basesite.BaseSite.languages>` will be removed in favour of :attr:`BaseSite.codes<pywikibot.site._basesite.BaseSite.codes>` * 9.5.0: :meth:`DataSite.getPropertyType()<pywikibot.site._datasite.DataSite.getPropertyType>` will be removed in favour of :meth:`DataSite.get_property_type()<pywikibot.site._datasite.DataSite.get_property_type>` * 9.3.0: :meth:`page.BasePage.userName` and :meth:`page.BasePage.isIpEdit` are deprecated in favour of ``user`` or ``anon`` attributes of :attr:`page.BasePage.latest_revision` property -* 9.2.0: Imports of :mod:`logging` functions from :mod:`bot` module is deprecated and will be desupported +* 9.2.0: Imports of :mod:`logging` functions from the :mod:`bot` module are deprecated and will be desupported * 9.2.0: *total* argument in ``-logevents`` pagegenerators option is deprecated; use ``-limit`` instead (:phab:`T128981`) * 9.0.0: The *content* parameter of :meth:`proofreadpage.IndexPage.page_gen` is deprecated and will be ignored (:phab:`T358635`) -* 9.0.0: ``userinterfaces.transliteration.transliterator`` was renamed to :class:`Transliterator - <userinterfaces.transliteration.Transliterator>` -* 9.0.0: ``next`` parameter of :meth:`userinterfaces.transliteration.transliterator.transliterate` was +* 9.0.0: ``next`` parameter of :meth:`userinterfaces.transliteration.Transliterator.transliterate` was renamed to ``succ`` -* 9.0.0: ``type`` parameter of :meth:`site.APISite.protectedpages() +* 9.0.0: ``userinterfaces.transliteration.transliterator`` object was renamed to :class:`Transliterator + <userinterfaces.transliteration.Transliterator>` +* 9.0.0: The ``type`` parameter of :meth:`site.APISite.protectedpages() <pywikibot.site._generators.GeneratorsMixin.protectedpages>` was renamed to ``protect_type`` -* 9.0.0: ``all`` parameter of :meth:`site.APISite.namespace()<pywikibot.site._apisite.APISite.namespace>` - was renamed to ``all_ns`` +* 9.0.0: The ``all`` parameter of :meth:`site.APISite.namespace() + <pywikibot.site._apisite.APISite.namespace>` was renamed to ``all_ns`` * 9.0.0: ``filter`` parameter of :func:`date.dh` was renamed to ``filter_func`` * 9.0.0: ``dict`` parameter of :class:`data.api.OptionSet` was renamed to ``data`` -* 9.0.0: ``pywikibot.version.get_toolforge_hostname()`` is deprecated without replacement +* 9.0.0: :func:`pywikibot.version.get_toolforge_hostname` is deprecated with no replacement * 9.0.0: ``allrevisions`` parameter of :class:`xmlreader.XmpDump` is deprecated, use ``revisions`` instead (:phab:`T340804`) * 9.0.0: ``iteritems`` method of :class:`data.api.Request` will be removed in favour of ``items`` -* 9.0.0: ``SequenceOutputter.output()`` is deprecated in favour of :attr:`tools.formatter.SequenceOutputter.out` - property +* 9.0.0: ``SequenceOutputter.output()`` is deprecated in favour of the + :attr:`tools.formatter.SequenceOutputter.out` property Pending removal in Pywikibot 11 ------------------------------- -* 8.4.0: *modules_only_mode* parameter of :class:`data.api.ParamInfo`, its *paraminfo_keys* class attribute - and its preloaded_modules property will be removed -* 8.4.0: *dropdelay* and *releasepid* attributes of :class:`throttle.Throttle` will be removed - in favour of *expiry* class attribute -* 8.2.0: :func:`tools.itertools.itergroup` will be removed in favour of :func:`backports.batched` -* 8.2.0: *normalize* parameter of :meth:`WbTime.toTimestr` and :meth:`WbTime.toWikibase` will be removed -* 8.1.0: Dependency of :exc:`exceptions.NoSiteLinkError` from :exc:`exceptions.NoPageError` will be removed -* 8.1.0: ``exceptions.Server414Error`` is deprecated in favour of :exc:`exceptions.Client414Error` -* 8.0.0: :meth:`Timestamp.clone()<pywikibot.time.Timestamp.clone>` method is deprecated - in favour of ``Timestamp.replace()`` method. -* 8.0.0: :meth:`family.Family.maximum_GET_length` method is deprecated in favour of - :ref:`config.maximum_GET_length<Account Settings>` (:phab:`T325957`) -* 8.0.0: ``addOnly`` parameter of :func:`textlib.replaceLanguageLinks` and - :func:`textlib.replaceCategoryLinks` are deprecated in favour of ``add_only`` -* 8.0.0: :class:`textlib.TimeStripper` regex attributes ``ptimeR``, ``ptimeznR``, ``pyearR``, ``pmonthR``, - ``pdayR`` are deprecated in favour of ``patterns`` attribute which is a - :class:`textlib.TimeStripperPatterns`. -* 8.0.0: :class:`textlib.TimeStripper` ``groups`` attribute is deprecated in favour of ``textlib.TIMEGROUPS`` -* 8.0.0: :meth:`LoginManager.get_login_token<login.ClientLoginManager.get_login_token>` was - replaced by ``login.ClientLoginManager.site.tokens['login']`` -* 8.0.0: ``data.api.LoginManager()`` is deprecated in favour of :class:`login.ClientLoginManager` -* 8.0.0: :meth:`APISite.messages()<pywikibot.site._apisite.APISite.messages>` method is deprecated in - favour of :attr:`userinfo['messages']<pywikibot.site._apisite.APISite.userinfo>` -* 8.0.0: :meth:`Page.editTime()<page.BasePage.editTime>` method is deprecated and should be replaced by - :attr:`Page.latest_revision.timestamp<page.BasePage.latest_revision>` +* 8.4.0: The *modules_only_mode* parameter in the :class:`data.api.ParamInfo` class, its + *paraminfo_keys* class attribute, and its ``preloaded_modules`` property will be removed +* 8.4.0: The *dropdelay* and *releasepid* attributes of the :class:`throttle.Throttle` class will be + removed in favour of the *expiry* class attribute +* 8.2.0: The :func:`tools.itertools.itergroup` function will be removed in favour of the + :func:`backports.batched` function +* 8.2.0: The *normalize* parameter in the :meth:`WbTime.toTimestr` and :meth:`WbTime.toWikibase` + methods will be removed +* 8.1.0: The inheritance of the :exc:`exceptions.NoSiteLinkError` exception from + :exc:`exceptions.NoPageError` will be removed +* 8.1.0: The ``exceptions.Server414Error`` exception is deprecated in favour of the + :exc:`exceptions.Client414Error` exception +* 8.0.0: The :meth:`Timestamp.clone()<pywikibot.time.Timestamp.clone>` method is deprecated in + favour of the ``Timestamp.replace()`` method +* 8.0.0: The :meth:`family.Family.maximum_GET_length` method is deprecated in favour of the + :ref:`config.maximum_GET_length<Account Settings>` configuration option (:phab:`T325957`) +* 8.0.0: The ``addOnly`` parameter in the :func:`textlib.replaceLanguageLinks` and + :func:`textlib.replaceCategoryLinks` functions is deprecated in favour of ``add_only`` +* 8.0.0: The regex attributes ``ptimeR``, ``ptimeznR``, ``pyearR``, ``pmonthR``, and ``pdayR`` of + the :class:`textlib.TimeStripper` class are deprecated in favour of the ``patterns`` attribute, + which is a :class:`textlib.TimeStripperPatterns` object +* 8.0.0: The ``groups`` attribute of the :class:`textlib.TimeStripper` class is deprecated in favour + of the :data:`textlib.TIMEGROUPS` constant +* 8.0.0: The :meth:`LoginManager.get_login_token<login.ClientLoginManager.get_login_token>` method + has been replaced by ``login.ClientLoginManager.site.tokens['login']`` +* 8.0.0: The ``data.api.LoginManager()`` constructor is deprecated in favour of the + :class:`login.ClientLoginManager` class +* 8.0.0: The :meth:`APISite.messages()<pywikibot.site._apisite.APISite.messages>` method is + deprecated in favour of the :attr:`userinfo['messages']<pywikibot.site._apisite.APISite.userinfo>` + attribute +* 8.0.0: The :meth:`Page.editTime()<page.BasePage.editTime>` method is deprecated and should be + replaced by the :attr:`Page.latest_revision.timestamp<page.BasePage.latest_revision>` attribute diff --git a/scripts/CHANGELOG.rst b/scripts/CHANGELOG.rst index 62f50ea..4242aba 100644 --- a/scripts/CHANGELOG.rst +++ b/scripts/CHANGELOG.rst @@ -9,13 +9,20 @@ archivebot ^^^^^^^^^^ -* Use wikidata items for archive header templates (:phab:`T396399`) +* Use Wikidata items for archive header templates (:phab:`T396399`) + +interwiki +^^^^^^^^^ + +* Ignore :exc:`exceptions.SectionError` in :meth:`interwiki.Subject.page_empty_check` and treat it + as an empty page (:phab:`T398983`) +* Show a warning if no username is configured for a site (:phab:`T135228`) redirect ^^^^^^^^ -* Try one more move to fix redirect targets (:phab:`T396473`) -* Don't fix broken redirects if namespace of source and target are different (:phab:`T396456`) +* Attempt an additional move to fix redirect targets (:phab:`T396473`) +* Do not fix broken redirects if the source and target namespaces differ (:phab:`T396456`) 10.2.0 -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1170642?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: I8ccd50a16ae2ab2a63405f1ce61053d508e56abc Gerrit-Change-Number: 1170642 Gerrit-PatchSet: 2 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]
