jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1337318?usp=email )

Change subject: doc: Update ROADMAP.rst, CHANGELOG.rst and other documentation 
parts
......................................................................

doc: Update ROADMAP.rst, CHANGELOG.rst and other documentation parts

Change-Id: Ic789d9bd8698650c388443fb6ea88e31bea07f87
---
M HISTORY.rst
M ROADMAP.rst
M pywikibot/data/api/_requests.py
M pywikibot/page/_page.py
M pywikibot/pagegenerators/__init__.py
M pywikibot/pagegenerators/_factory.py
M pywikibot/specialbots/_upload.py
M pywikibot/tools/itertools.py
M scripts/CHANGELOG.rst
M scripts/maintenance/make_i18n_dict.py
10 files changed, 112 insertions(+), 10 deletions(-)

Approvals:
  jenkins-bot: Verified
  Xqt: Looks good to me, approved




diff --git a/HISTORY.rst b/HISTORY.rst
index 1d0a352..fcd35a7 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -5,6 +5,8 @@
 ------
 *22 August 2026*

+* Raise ConnectionError for lost SOCKS connection in 
:func:`comms.http.error_handling_callback`.
+* Various performance, stability, and code quality improvements.
 * Yield non-strict unconnected pages in :meth:`APISite.unconnected_pages()
   <pywikibot.site._extensions.WikibaseClientMixin.unconnected_pages>` and fix 
the
   regression introduced in :ref:`10.4.0`.
diff --git a/ROADMAP.rst b/ROADMAP.rst
index 3e7ad59..c134af4 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,12 +1,35 @@
 Release 11.8
 ============

-* Update translations (i18n)
-* Add new :class:`family.WikimediaSubdomainFamily`
-* Update documentation for :meth:`page.BasePage.exists`. (:phab:`T334341`)
+* Reset the retry counter for each query in :class:`data.sparql.SparqlQuery`.
+* Deduplicate intersections with a single input in 
:func:`tools.itertools.intersect_generators`.
+* Accept path-like filenames and detect suffixes case-insensitively in 
:func:`tools.open_archive`.
+* Add support for all existing Beta Cluster wikis. (:phab:`T225892`)
+* Various performance, stability, and code quality improvements.
+* Support selective page preloading of :meth:`APISite.preloadpages
+  <pywikibot.site._generators.GeneratorsMixin.preloadpages>` with
+  :func:`pagegenerators.PreloadingGenerator` and 
:func:`pagegenerators.DequePreloadingGenerator`.
+* Apply title filters first in 
:meth:`pagegenerators.GeneratorFactory.getCombinedGenerator`
+  and avoid loading page data for titles rejected by title filters.
+* Support immutable sequences in :func:`data.api.encode_url`.
+* Clear bundle cache when switching packages with 
:func:`i18n.set_messages_package`.
+* Use pathlib for path containment in :func:`config.shortpath` and
+  :func:`version.get_module_filename`.
+* Add *depth* parameter to :func:`pagegenerators.PetScanPageGenerator`.
+* The :class:`specialbots.UploadRobot` class now cleans up temporary download 
files
+  after upload completion or failure, while preserving caller-provided local 
files.
+* Fix 
:meth:`APISite.loadrevisions<pywikibot.site._generators.GeneratorsMixin.loadrevisions>`
+  *step* handling.
+* Keep preload *groupsize* per site in 
:func:`pagegenerators.PreloadingGenerator`.
+* Preserve colliding intersection items without ``hash()`` in
+  :func:`tools.itertools.intersect_generators`.
 * :meth:`page.BasePage.get` no longer validates section fragments or raises
-  :exc:`exceptions.SectionError` for them (:phab:`T422856`,
-  :phab:`T422859`).
+  :exc:`exceptions.SectionError` for them, as the method always retrieves the 
complete
+  page text (:phab:`T422856`, :phab:`T422859`).
+* Update translations (i18n).
+* Add new :class:`family.WikimediaSubdomainFamily`.
+* Update documentation for :meth:`page.BasePage.exists`. (:phab:`T334341`)
+

 Deprecations
 ============
diff --git a/pywikibot/data/api/_requests.py b/pywikibot/data/api/_requests.py
index 0c83aee..5fc20c9 100644
--- a/pywikibot/data/api/_requests.py
+++ b/pywikibot/data/api/_requests.py
@@ -1404,6 +1404,9 @@
 def encode_url(query) -> str:
     """Encode parameters to pass with a url.

+    .. version-changed:: 11.8
+       Support immutable sequences with *query* parameter.
+
     Reorder parameters so that token parameters go last and call wraps
     :py:obj:`urlencode`. Return an HTTP URL query fragment which
     complies with :api:`Edit#Parameters` (See the 'token' bullet.)
diff --git a/pywikibot/page/_page.py b/pywikibot/page/_page.py
index 6c1de70..c06cf96 100644
--- a/pywikibot/page/_page.py
+++ b/pywikibot/page/_page.py
@@ -52,6 +52,8 @@
         This best-effort check supports strict redirect-target handling; it
         does not reproduce MediaWiki's parser-generated anchors.

+        .. version-added:: 11.8
+
         :raises SectionError: The section does not match an extracted heading.
         """
         page_section = self.section()
diff --git a/pywikibot/pagegenerators/__init__.py 
b/pywikibot/pagegenerators/__init__.py
index eacee9b..7a2c9c0 100644
--- a/pywikibot/pagegenerators/__init__.py
+++ b/pywikibot/pagegenerators/__init__.py
@@ -685,7 +685,9 @@
     """Yield preloaded pages taken from another generator.

     .. version-changed:: 11.8
-       Optional page properties can be selected for preloading.
+       The effective preload group size is calculated independently for
+       each site and limited by its API limit. Optional page properties
+       can be selected for preloading.

     :param generator: Pages to iterate over
     :param groupsize: How many pages to preload at once
diff --git a/pywikibot/pagegenerators/_factory.py 
b/pywikibot/pagegenerators/_factory.py
index c01c43e..aed01d1 100644
--- a/pywikibot/pagegenerators/_factory.py
+++ b/pywikibot/pagegenerators/_factory.py
@@ -225,6 +225,8 @@
            with the *quiet* option.
            The generator specified by ``-start`` and ``-until`` is
            evaluated lazily by this method.
+        .. versionchanged:: 11.8
+           Avoid loading page data for titles rejected by title filters.

         :param gen: Another generator to be combined with
         :param preload: Preload pages using PreloadingGenerator
diff --git a/pywikibot/specialbots/_upload.py b/pywikibot/specialbots/_upload.py
index 2415662..e4452fc 100644
--- a/pywikibot/specialbots/_upload.py
+++ b/pywikibot/specialbots/_upload.py
@@ -69,9 +69,14 @@
         """Initializer.

         .. version-changed:: 6.2
-           asynchronous upload is used if *asynchronous* parameter is set
+           asynchronous upload is used if *asynchronous* parameter is
+           set.
         .. version-changed:: 6.4
-           *force_if_shared* parameter was added
+           *force_if_shared* parameter was added.
+        .. version-changed:: 11.8
+           Temporary files created for URL downloads are now cleaned up
+           after use, including when the download or upload fails.
+           Caller-provided local files are preserved.

         :param url: path to url or local file, or list of urls or paths
             to local files.
diff --git a/pywikibot/tools/itertools.py b/pywikibot/tools/itertools.py
index b7d4949..3c23276 100644
--- a/pywikibot/tools/itertools.py
+++ b/pywikibot/tools/itertools.py
@@ -119,7 +119,7 @@
     .. version-added:: 3.0

     .. version-changed:: 5.0
-       Avoid duplicates (:phab:`T263947`).
+       Avoid duplicates except *allow_duplicates* is set.

     .. version-changed:: 6.4
        ``genlist`` was renamed to ``iterables``; consecutive iterables
@@ -132,6 +132,10 @@
        Iterable elements may consist of lists or tuples
        ``allow_duplicates`` is a keyword-only argument

+    .. version-changed:: 11.8
+       Preserve colliding intersection items without ``hash()``. Avoid
+       duplicates for a single iterable if *allow_duplicates* is not set.
+
     :param iterables: Page generators
     :param allow_duplicates: Optional keyword argument to allow duplicates
         if present in all generators
diff --git a/scripts/CHANGELOG.rst b/scripts/CHANGELOG.rst
index 9f15026..b8cb89c 100644
--- a/scripts/CHANGELOG.rst
+++ b/scripts/CHANGELOG.rst
@@ -9,6 +9,60 @@

 * Fix ``-locale`` and ``-timezone`` options.

+category_redirect
+^^^^^^^^^^^^^^^^^
+
+*  Fix delay option parsing.
+
+coordinate_import
+^^^^^^^^^^^^^^^^^
+
+* Use selective page preloading of :func:`pagegenerators.PreloadingGenerator`.
+
+data_ingestion
+^^^^^^^^^^^^^^
+
+*  Fix ``-csvdir`` option parsing.
+
+download_dump
+^^^^^^^^^^^^^
+
+* Prompt for empty path with ``-storepath`` option
+
+
+illustrate_wikidata
+^^^^^^^^^^^^^^^^^^^
+
+* Use selective page preloading of :func:`pagegenerators.PreloadingGenerator`.
+
+make_i18n_dict
+^^^^^^^^^^^^^^
+
+* Fix script attribute lookup regression introduced with release 3.0.20200703
+* Fix pathlib conversion regressions introduced in release 10.2.0.`
+
+parser_function_count
+^^^^^^^^^^^^^^^^^^^^^
+
+* Fix explicit :func:`pywikibot.handle_args` arguments.
+
+solve_disambiguation
+^^^^^^^^^^^^^^^^^^^^
+
+* Return on OSError, preserving the initialized ignore list as the pre-pathlib 
implementation
+  did.
+
+
+tracking_param_remover
+^^^^^^^^^^^^^^^^^^^^^^
+
+* Avoid unsafe C tokenizer without GIL. (:phab:`T435717`)
+
+transwikiimport
+^^^^^^^^^^^^^^^
+
+* Make summaries order-independent.
+

 11.7.0
 ------
diff --git a/scripts/maintenance/make_i18n_dict.py 
b/scripts/maintenance/make_i18n_dict.py
index 5e24e9b..7a42caf 100755
--- a/scripts/maintenance/make_i18n_dict.py
+++ b/scripts/maintenance/make_i18n_dict.py
@@ -45,7 +45,12 @@

 class i18nBot:  # noqa: N801

-    """I18n bot."""
+    """I18n bot.
+
+    .. version-changed:: 11.8
+       Fix regressions for pathlib conversion and script attribute
+       lookup.
+    """

     def __init__(self, script, *args, **kwargs) -> None:
         """Initializer."""

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1337318?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: Ic789d9bd8698650c388443fb6ea88e31bea07f87
Gerrit-Change-Number: 1337318
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Siebrand <[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]

Reply via email to