jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/699483 )
Change subject: [doc] Update ROADMAP.rst and other docs ......................................................................
[doc] Update ROADMAP.rst and other docs
Change-Id: I4d60323be9c4bd0e6ace04201d99bc627af8886e --- M ROADMAP.rst M pywikibot/specialbots/_upload.py M pywikibot/textlib.py 3 files changed, 8 insertions(+), 0 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/ROADMAP.rst b/ROADMAP.rst index 9f0b216..01e5632 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -1,6 +1,10 @@ Current release changes ^^^^^^^^^^^^^^^^^^^^^^^
+* add add_text function to textlib (T284388) +* Require setuptools >= 49.4.0 (T284297) +* Require wikitextparser>=0.47.5 +* Allow images to upload locally even they exist in the shared repository (T267535) * Show a warning if pywikibot.__version__ is behind scripts.__version__ (T282766) * Handle <ce>/<chem> tags as <math> aliases within textlib.replaceExcept() (T283990) * Expand simulate query response for wikibase support (T76694) diff --git a/pywikibot/specialbots/_upload.py b/pywikibot/specialbots/_upload.py index cdc6c5b..92d9c4f 100644 --- a/pywikibot/specialbots/_upload.py +++ b/pywikibot/specialbots/_upload.py @@ -57,6 +57,8 @@ *Changed in version 6.2:* asynchronous upload is used if *asynchronous* parameter is set.
+ *New in version 6.4:* force_if_shared parameter. + :param url: path to url or local file, or list of urls or paths to local files. :param description: Description of file for its page. If multiple files diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py index 9deac38..4c301c0 100644 --- a/pywikibot/textlib.py +++ b/pywikibot/textlib.py @@ -835,6 +835,8 @@ def add_text(text: str, add: str, *, site=None) -> str: """Add text to a page content above categories and interwiki.
+ *New in version 6.4.* + :param text: The page content to add text to. :param add: Text to add. :param site: The site that the text is coming from. Required for