jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/809341 )
Change subject: replace use of deprecated FilePage.usingPages()
......................................................................
replace use of deprecated FilePage.usingPages()
Change-Id: I259c5b1398c7c219e5f78d8d3fb0a3bd4d7cce36
---
M pywikibot/page/_filepage.py
M scripts/checkimages.py
2 files changed, 3 insertions(+), 3 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/page/_filepage.py b/pywikibot/page/_filepage.py
index 32fcf9f..0e61412 100644
--- a/pywikibot/page/_filepage.py
+++ b/pywikibot/page/_filepage.py
@@ -217,7 +217,7 @@
.. versionadded:: 7.1
"""
- return bool(list(self.usingPages(total=1)))
+ return bool(list(self.using_pages(total=1)))
def upload(self, source: str, **kwargs) -> bool:
"""
@@ -311,7 +311,7 @@
"""
Iterate all global usage for this page.
- .. seealso:: :meth:`usingPages`
+ .. seealso:: :meth:`using_pages`
:param total: iterate no more than this number of pages in total
:return: a generator that yields Pages also on sites different from
diff --git a/scripts/checkimages.py b/scripts/checkimages.py
index b7cf1f3..ef83170 100755
--- a/scripts/checkimages.py
+++ b/scripts/checkimages.py
@@ -798,7 +798,7 @@
Get tuples of image and time, return the most used or oldest image.
.. versionchanged: 7.2
- itertools.zip_longest is used to stop `usingPages` as soon as
+ itertools.zip_longest is used to stop `using_pages` as soon as
possible.
:param list_given: a list of tuples which hold seconds and FilePage
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/809341
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I259c5b1398c7c219e5f78d8d3fb0a3bd4d7cce36
Gerrit-Change-Number: 809341
Gerrit-PatchSet: 1
Gerrit-Owner: JJMC89 <JJMC89.Wikimedia(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/808475 )
Change subject: [7.5] Prepare next release
......................................................................
[7.5] Prepare next release
Change-Id: I16b6645b90671bbde6a4e4a0c8d3d5589b74503f
---
M .appveyor.yml
M HISTORY.rst
M ROADMAP.rst
M pywikibot/__metadata__.py
M scripts/__init__.py
5 files changed, 24 insertions(+), 17 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/.appveyor.yml b/.appveyor.yml
index 0498d73..c970728 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -1,7 +1,7 @@
image: Visual Studio 2019
clone_depth: 50
skip_tags: true
-version: 7.4.{build}
+version: 7.5.{build}
environment:
PYWIKIBOT_DIR: "%appdata%\\Pywikibot"
diff --git a/HISTORY.rst b/HISTORY.rst
index a060378..dfec894 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,6 +1,25 @@
Release history
^^^^^^^^^^^^^^^
+7.4.0
+-----
+*26 June 2022*
+
+* Provide Built Distribution with Pywikibot (:pep:`427`)
+* Update `WRITE_ACTIONS` in used by :class:`api.Request<pywikibot.data.api.Request>`
+* Move :func:`get_closest_memento_url<pywikibot.data.memento.get_closest_memento_url>` from weblinkchecker script to memento module.
+* Add :mod:`memento module<pywikibot.data.memento>` to fix memento_client package (:phab:`T185561`)
+* L10N and i18n updates
+* Fix Flow board topic continuation when iterating in reverse (:phab:`T138323`)
+* Add Avestan transliteration
+* Use Response.json() instead of json.loads(Response.text)
+* Show an APIError if PetScanPageGenerator.query() fails (:phab:`T309538`)
+* `login.py` is now a utiliy script even for site-package installation (:phab:`T309290`)
+* `preload_sites.py` is now a utiliy script even for site-package installation (:phab:`T308912`)
+* :attr:`generator_completed<pywikibot.bot.BaseBot.generator_completed>` became a public attribute
+* Return gracefully from pwb.find_alternates if folder in user_script_paths does not exist (:phab:`T308910`)
+
+
7.3.0
-----
*21 May 2022*
diff --git a/ROADMAP.rst b/ROADMAP.rst
index 0108bac..eb3b70b 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,19 +1,7 @@
-Current release 7.4.0
+Current release 7.5.0
^^^^^^^^^^^^^^^^^^^^^
-* Provide Built Distribution with Pywikibot (:pep:`427`)
-* Update `WRITE_ACTIONS` in used by :class:`api.Request<pywikibot.data.api.Request>`
-* Move :func:`get_closest_memento_url<pywikibot.data.memento.get_closest_memento_url>` from weblinkchecker script to memento module.
-* Add :mod:`memento module<pywikibot.data.memento>` to fix memento_client package (:phab:`T185561`)
-* L10N and i18n updates
-* Fix Flow board topic continuation when iterating in reverse (:phab:`T138323`)
-* Add Avestan transliteration
-* Use Response.json() instead of json.loads(Response.text)
-* Show an APIError if PetScanPageGenerator.query() fails (:phab:`T309538`)
-* `login.py` is now a utiliy script even for site-package installation (:phab:`T309290`)
-* `preload_sites.py` is now a utiliy script even for site-package installation (:phab:`T308912`)
-* :attr:`generator_completed<pywikibot.bot.BaseBot.generator_completed>` became a public attribute
-* Return gracefully from pwb.find_alternates if folder in user_script_paths does not exist (:phab:`T308910`)
+* *No changes yet*
Deprecations
^^^^^^^^^^^^
diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py
index aafe5b9..8e1887d 100644
--- a/pywikibot/__metadata__.py
+++ b/pywikibot/__metadata__.py
@@ -11,7 +11,7 @@
__name__ = 'pywikibot'
-__version__ = '7.4.0'
+__version__ = '7.5.0.dev0'
__description__ = 'Python MediaWiki Bot Framework'
__maintainer__ = 'The Pywikibot team'
__maintainer_email__ = 'pywikibot(a)lists.wikimedia.org'
diff --git a/scripts/__init__.py b/scripts/__init__.py
index 4385672..3640623 100644
--- a/scripts/__init__.py
+++ b/scripts/__init__.py
@@ -29,4 +29,4 @@
#
# Distributed under the terms of the MIT license.
#
-__version__ = '7.4.0'
+__version__ = '7.5.0'
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/808475
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I16b6645b90671bbde6a4e4a0c8d3d5589b74503f
Gerrit-Change-Number: 808475
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/808430 )
Change subject: Revert "[7.5] Prepare next release"
......................................................................
Revert "[7.5] Prepare next release"
This reverts commit 0ad355906a14dca80f868f2c06512909a211637b.
Reason for revert: not for stable release
Change-Id: I6587f5150d739e3753a51f840cc582d8020fc9e9
---
M .appveyor.yml
M HISTORY.rst
M ROADMAP.rst
M pywikibot/__metadata__.py
M scripts/__init__.py
5 files changed, 17 insertions(+), 24 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/.appveyor.yml b/.appveyor.yml
index c970728..0498d73 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -1,7 +1,7 @@
image: Visual Studio 2019
clone_depth: 50
skip_tags: true
-version: 7.5.{build}
+version: 7.4.{build}
environment:
PYWIKIBOT_DIR: "%appdata%\\Pywikibot"
diff --git a/HISTORY.rst b/HISTORY.rst
index dfec894..a060378 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,25 +1,6 @@
Release history
^^^^^^^^^^^^^^^
-7.4.0
------
-*26 June 2022*
-
-* Provide Built Distribution with Pywikibot (:pep:`427`)
-* Update `WRITE_ACTIONS` in used by :class:`api.Request<pywikibot.data.api.Request>`
-* Move :func:`get_closest_memento_url<pywikibot.data.memento.get_closest_memento_url>` from weblinkchecker script to memento module.
-* Add :mod:`memento module<pywikibot.data.memento>` to fix memento_client package (:phab:`T185561`)
-* L10N and i18n updates
-* Fix Flow board topic continuation when iterating in reverse (:phab:`T138323`)
-* Add Avestan transliteration
-* Use Response.json() instead of json.loads(Response.text)
-* Show an APIError if PetScanPageGenerator.query() fails (:phab:`T309538`)
-* `login.py` is now a utiliy script even for site-package installation (:phab:`T309290`)
-* `preload_sites.py` is now a utiliy script even for site-package installation (:phab:`T308912`)
-* :attr:`generator_completed<pywikibot.bot.BaseBot.generator_completed>` became a public attribute
-* Return gracefully from pwb.find_alternates if folder in user_script_paths does not exist (:phab:`T308910`)
-
-
7.3.0
-----
*21 May 2022*
diff --git a/ROADMAP.rst b/ROADMAP.rst
index eb3b70b..0108bac 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,7 +1,19 @@
-Current release 7.5.0
+Current release 7.4.0
^^^^^^^^^^^^^^^^^^^^^
-* *No changes yet*
+* Provide Built Distribution with Pywikibot (:pep:`427`)
+* Update `WRITE_ACTIONS` in used by :class:`api.Request<pywikibot.data.api.Request>`
+* Move :func:`get_closest_memento_url<pywikibot.data.memento.get_closest_memento_url>` from weblinkchecker script to memento module.
+* Add :mod:`memento module<pywikibot.data.memento>` to fix memento_client package (:phab:`T185561`)
+* L10N and i18n updates
+* Fix Flow board topic continuation when iterating in reverse (:phab:`T138323`)
+* Add Avestan transliteration
+* Use Response.json() instead of json.loads(Response.text)
+* Show an APIError if PetScanPageGenerator.query() fails (:phab:`T309538`)
+* `login.py` is now a utiliy script even for site-package installation (:phab:`T309290`)
+* `preload_sites.py` is now a utiliy script even for site-package installation (:phab:`T308912`)
+* :attr:`generator_completed<pywikibot.bot.BaseBot.generator_completed>` became a public attribute
+* Return gracefully from pwb.find_alternates if folder in user_script_paths does not exist (:phab:`T308910`)
Deprecations
^^^^^^^^^^^^
diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py
index 8e1887d..aafe5b9 100644
--- a/pywikibot/__metadata__.py
+++ b/pywikibot/__metadata__.py
@@ -11,7 +11,7 @@
__name__ = 'pywikibot'
-__version__ = '7.5.0.dev0'
+__version__ = '7.4.0'
__description__ = 'Python MediaWiki Bot Framework'
__maintainer__ = 'The Pywikibot team'
__maintainer_email__ = 'pywikibot(a)lists.wikimedia.org'
diff --git a/scripts/__init__.py b/scripts/__init__.py
index 3640623..4385672 100644
--- a/scripts/__init__.py
+++ b/scripts/__init__.py
@@ -29,4 +29,4 @@
#
# Distributed under the terms of the MIT license.
#
-__version__ = '7.5.0'
+__version__ = '7.4.0'
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/808430
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: stable
Gerrit-Change-Id: I6587f5150d739e3753a51f840cc582d8020fc9e9
Gerrit-Change-Number: 808430
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/808451 )
Change subject: [7.5] Prepare next release
......................................................................
[7.5] Prepare next release
Change-Id: Ib43f154a746b7c38bee6498371c5af0fd46816c6
---
M .appveyor.yml
M HISTORY.rst
M ROADMAP.rst
M pywikibot/__metadata__.py
M scripts/__init__.py
5 files changed, 24 insertions(+), 17 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/.appveyor.yml b/.appveyor.yml
index 0498d73..c970728 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -1,7 +1,7 @@
image: Visual Studio 2019
clone_depth: 50
skip_tags: true
-version: 7.4.{build}
+version: 7.5.{build}
environment:
PYWIKIBOT_DIR: "%appdata%\\Pywikibot"
diff --git a/HISTORY.rst b/HISTORY.rst
index a060378..dfec894 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,6 +1,25 @@
Release history
^^^^^^^^^^^^^^^
+7.4.0
+-----
+*26 June 2022*
+
+* Provide Built Distribution with Pywikibot (:pep:`427`)
+* Update `WRITE_ACTIONS` in used by :class:`api.Request<pywikibot.data.api.Request>`
+* Move :func:`get_closest_memento_url<pywikibot.data.memento.get_closest_memento_url>` from weblinkchecker script to memento module.
+* Add :mod:`memento module<pywikibot.data.memento>` to fix memento_client package (:phab:`T185561`)
+* L10N and i18n updates
+* Fix Flow board topic continuation when iterating in reverse (:phab:`T138323`)
+* Add Avestan transliteration
+* Use Response.json() instead of json.loads(Response.text)
+* Show an APIError if PetScanPageGenerator.query() fails (:phab:`T309538`)
+* `login.py` is now a utiliy script even for site-package installation (:phab:`T309290`)
+* `preload_sites.py` is now a utiliy script even for site-package installation (:phab:`T308912`)
+* :attr:`generator_completed<pywikibot.bot.BaseBot.generator_completed>` became a public attribute
+* Return gracefully from pwb.find_alternates if folder in user_script_paths does not exist (:phab:`T308910`)
+
+
7.3.0
-----
*21 May 2022*
diff --git a/ROADMAP.rst b/ROADMAP.rst
index 0108bac..eb3b70b 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,19 +1,7 @@
-Current release 7.4.0
+Current release 7.5.0
^^^^^^^^^^^^^^^^^^^^^
-* Provide Built Distribution with Pywikibot (:pep:`427`)
-* Update `WRITE_ACTIONS` in used by :class:`api.Request<pywikibot.data.api.Request>`
-* Move :func:`get_closest_memento_url<pywikibot.data.memento.get_closest_memento_url>` from weblinkchecker script to memento module.
-* Add :mod:`memento module<pywikibot.data.memento>` to fix memento_client package (:phab:`T185561`)
-* L10N and i18n updates
-* Fix Flow board topic continuation when iterating in reverse (:phab:`T138323`)
-* Add Avestan transliteration
-* Use Response.json() instead of json.loads(Response.text)
-* Show an APIError if PetScanPageGenerator.query() fails (:phab:`T309538`)
-* `login.py` is now a utiliy script even for site-package installation (:phab:`T309290`)
-* `preload_sites.py` is now a utiliy script even for site-package installation (:phab:`T308912`)
-* :attr:`generator_completed<pywikibot.bot.BaseBot.generator_completed>` became a public attribute
-* Return gracefully from pwb.find_alternates if folder in user_script_paths does not exist (:phab:`T308910`)
+* *No changes yet*
Deprecations
^^^^^^^^^^^^
diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py
index aafe5b9..8e1887d 100644
--- a/pywikibot/__metadata__.py
+++ b/pywikibot/__metadata__.py
@@ -11,7 +11,7 @@
__name__ = 'pywikibot'
-__version__ = '7.4.0'
+__version__ = '7.5.0.dev0'
__description__ = 'Python MediaWiki Bot Framework'
__maintainer__ = 'The Pywikibot team'
__maintainer_email__ = 'pywikibot(a)lists.wikimedia.org'
diff --git a/scripts/__init__.py b/scripts/__init__.py
index 4385672..3640623 100644
--- a/scripts/__init__.py
+++ b/scripts/__init__.py
@@ -29,4 +29,4 @@
#
# Distributed under the terms of the MIT license.
#
-__version__ = '7.4.0'
+__version__ = '7.5.0'
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/808451
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: stable
Gerrit-Change-Id: Ib43f154a746b7c38bee6498371c5af0fd46816c6
Gerrit-Change-Number: 808451
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged