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

Change subject: doc: Update documentation, including ROADMAP.rst
......................................................................

doc: Update documentation, including ROADMAP.rst

Change-Id: Icb1f97a3d82a620c6f87ace72f8d16834bfb411a
---
M ROADMAP.rst
M pywikibot/page/_collections.py
M pywikibot/page/_wikibase.py
3 files changed, 31 insertions(+), 9 deletions(-)

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




diff --git a/ROADMAP.rst b/ROADMAP.rst
index ee856a1..ef3ed78 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,6 +1,17 @@
 Release 11.10
 =============

+* Enable lexeme creation through 
:class:`LexemePage.editEntity()<pywikibot.LexemePage.editEntity>`.
+  See :ref:`Creating Lexemes` for further information. (:phab:`T442295`)
+* Initialize :class:`LexemePage<pywikibot.LexemePage>` collections for unsaved 
entities.
+  (:phab:`T442290`)
+* Various performance, stability, and code quality improvements.
+* Serialize nested form and sense edits in :class:`page.SubEntityCollection
+  <pywikibot.page._collections.SubEntityCollection>` and 
:class:`LexemePage<pywikibot.LexemePage>`
+  (:phab:`T189321`)
+* Add 
:attr:`ignore_save_related_errors<bot.BaseBot.ignore_save_related_errors>`
+  and :attr:`ignore_server_errors<bot.BaseBot.ignore_server_errors>` attributes
+  to :class:`bot.BaseBot` and use them in 
:meth:`userPut()<bot.BaseBot.userPut>`. (:phab:`T156908`)
 * Add support for Scribunto redirects. (:phab:`T417129`)
 * Serialize term removals and empty feature sets in 
:class:`page.LexemeSubEntity`
   and :class:`LexemeForm<pywikibot.LexemeForm>`. (:phab:`T189321`)
@@ -28,7 +39,6 @@
   with :attr:`BaseBot.update_options<bot.BaseBot.update_options>`. 
(:phab:`T439883`)
 * Update translations (i18n).
 * Reject nested wikilinks in file captions with 
:attr:`textlib.FILE_LINK_REGEX`. (:phab:`T396721`)
-* Various performance, stability, and code quality improvements.
 * Speed up parsing of API ISO timestamps in :meth:`Timestamp._from_iso8601()
   <pywikibot.time.Timestamp._from_iso8601>`.
 
diff --git a/pywikibot/page/_collections.py b/pywikibot/page/_collections.py
index 3e07c30..957f945 100644
--- a/pywikibot/page/_collections.py
+++ b/pywikibot/page/_collections.py
@@ -579,8 +579,11 @@
     def normalizeData(cls, data: list[dict]) -> list[dict]:
         """Normalize explicit API operations without inferring removals.

-        Each operation must identify an existing child by id, add a child
-        with ``add``, or delete one with both ``id`` and ``remove``.
+        Each operation must identify an existing child by id, add a
+        child with ``add``, or delete one with both ``id`` and ``remove``.
+
+        .. version-changed:: 11.10
+           Method was implemented.

         :param data: List of child operation dictionaries
         :return: Normalized operations in their original order
@@ -606,9 +609,13 @@
         """Serialize current children or changes against a complete baseline.

         Full serialization is API edit data, not replacement of server
-        content. Unsaved children carry an ``add`` marker. Only a supplied
-        baseline allows missing children to become explicit removals.
-        An empty result makes no changes; it does not clear the collection.
+        content. Unsaved children carry an ``add`` marker. Only a
+        supplied baseline allows missing children to become explicit
+        removals. An empty result makes no changes; it does not clear
+        the collection.
+
+        .. version-changed:: 11.10
+           Method was implemented.

         :param diffto: Complete original collection, or None for all fields
         :return: Child edits followed by removals in baseline order
diff --git a/pywikibot/page/_wikibase.py b/pywikibot/page/_wikibase.py
index fa8f5d3..cc5672f 100644
--- a/pywikibot/page/_wikibase.py
+++ b/pywikibot/page/_wikibase.py
@@ -2370,9 +2370,14 @@
         explicit API data or populate the Lexeme before saving. Explicit
         data is not combined with local fields.

-        Forms, senses and claims must be reacquired from this Lexeme after
-        saving. Existing references are snapshots and are not updated with
-        server-assigned identifiers. Data is reloaded on the next access.
+        Forms, senses and claims must be reacquired from this Lexeme
+        after saving. Existing references are snapshots and are not
+        updated with server-assigned identifiers. Data is reloaded on
+        the next access.
+
+        .. seealso:: :ref:`Creating Lexemes`: How to create lexemes with
+           either an explicit creation dictionary or fields populated on
+           the object

         :param data: API changes, or None to save local changes
         """

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