jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/834661 )
Change subject: [doc] Update ROADMAP.rst and CHANGELOG.rst ......................................................................
[doc] Update ROADMAP.rst and CHANGELOG.rst
Also some other fixes.
Change-Id: I09feadfb8d1cb8300f5cdb723c32c90b4984259f --- M ROADMAP.rst M docs/scripts/index.rst M pywikibot/page/_collections.py M pywikibot/tools/threading.py M scripts/CHANGELOG.rst 5 files changed, 15 insertions(+), 2 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/ROADMAP.rst b/ROADMAP.rst index d94a213..fc3acfc 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -1,7 +1,15 @@ Current release 7.7.0 ^^^^^^^^^^^^^^^^^^^^^
+* TypeError is raised if *aliases* parameter of :meth:`WikibaseEntity.editEntity + <page.WikibaseEntity.editEntity>` or :meth:`WikibasePage.editEntity + <page.WikibasePage.editEntity>` method is not a list (:phab:`T318034`) +* Raise TypeError in :meth:`AliasesDict.normalizeData + <pywikibot.page._collections.AliasesDict.normalizeData>` if *data* value is not a list (:phab:`T318034`) * tools' threading classes were moved to :mod:`tools.threading` submodule +* No longer raise NotimplementedError in :meth:`APISite.page_from_repository + <pywikibot.site._apisite.APISite.page_from_repository>` (:phab:`T318033`) +* Ability to set ``PYWIKIBOT_TEST_...`` environment variables with pwb wrapper (:phab:`T139847`) * OmegaWiki family was removed * Provide global ``-config`` option to specify the user config file name * Run :mod:`pywikibot.scripts.login` script in parallel tasks if ``-async`` option is given (:phab:`T57899`) diff --git a/docs/scripts/index.rst b/docs/scripts/index.rst index c20b9a5..95d07b9 100644 --- a/docs/scripts/index.rst +++ b/docs/scripts/index.rst @@ -3,6 +3,7 @@
.. automodule:: scripts :no-members: + :noindex:
.. include:: ../../scripts/README.rst :start-after: included. diff --git a/pywikibot/page/_collections.py b/pywikibot/page/_collections.py index cd8af8e..14cc42d 100644 --- a/pywikibot/page/_collections.py +++ b/pywikibot/page/_collections.py @@ -150,7 +150,7 @@ """Helper function to expand data into the Wikibase API structure.
.. versionchanged:: 7.7 - raises TypeError *data* value is not a list. + raises TypeError if *data* value is not a list.
:param data: Data to normalize :return: The dict with normalized data diff --git a/pywikibot/tools/threading.py b/pywikibot/tools/threading.py index c4d997c..6d13cbe 100644 --- a/pywikibot/tools/threading.py +++ b/pywikibot/tools/threading.py @@ -1,4 +1,4 @@ -"""Miscellaneous helper functions (not wiki-dependent).""" +"""Classes which can be used for threading.""" # # (C) Pywikibot team, 2008-2022 # diff --git a/scripts/CHANGELOG.rst b/scripts/CHANGELOG.rst index 8066403..9a1008c 100644 --- a/scripts/CHANGELOG.rst +++ b/scripts/CHANGELOG.rst @@ -11,6 +11,10 @@ * Add -sort option to sort archives by (latest) timestamp * Archive unsigned threads using timestamp of the next thread (:phab:`T69663`, :phab:`T182685`)
+category_redirect +~~~~~~~~~~~~~~~~~ +* Use localized template prefix (:phab:`T318049`) + create_isbn_edition ~~~~~~~~~~~~~~~~~~~