jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057395?usp=email )
Change subject: [flow] add __all__ to flow module
......................................................................
[flow] add __all__ to flow module
Change-Id: I3753903cca9f5f664a0c32d874a5162702c354a4
---
M pywikibot/flow.py
1 file changed, 8 insertions(+), 1 deletion(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/pywikibot/flow.py b/pywikibot/flow.py
index 15e7f12..bb51164 100644
--- a/pywikibot/flow.py
+++ b/pywikibot/flow.py
@@ -3,7 +3,6 @@
Structured Discussions was formerly known as Flow. Flow was renamed in
2017 as the focus was scoped to user-to-user discussions.
-.. versionadded:: 3.0.20170403
.. caution:: Structured Discussions support previously known as Flow is
no longer tested because the test environment was disabled. Please
use this module with care.
@@ -39,6 +38,14 @@
from pywikibot.tools import cached, deprecated_args
+__all__ = (
+ 'Board',
+ 'FlowPage',
+ 'Post',
+ 'Topic',
+)
+
+
class FlowPage(BasePage, abc.ABC):
"""The base page meta class for the Flow extension.
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057395?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: I3753903cca9f5f664a0c32d874a5162702c354a4
Gerrit-Change-Number: 1057395
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057378?usp=email )
Change subject: [9.4] Prepare next release
......................................................................
[9.4] Prepare next release
Change-Id: Idca98e6b8945cd3fd2f60bacfc89ddad179720be
---
M HISTORY.rst
M ROADMAP.rst
M pywikibot/__metadata__.py
M scripts/__init__.py
4 files changed, 25 insertions(+), 19 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/HISTORY.rst b/HISTORY.rst
index 74b5323..91ed982 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,6 +1,28 @@
Release History
===============
+9.3.0
+-----
+*28 July 2024*
+
+* Only add lang links from API response to a given page if present in family file (:phab:`T371107`)
+* Add support for ``cswikivoyage`` to Pywikibot (:phab:`T370915`)
+* :class:`pywikibot.FilePage` has a parameter *ignore_extension* to ignore file extension check :phab:`T352237`)
+* Provide :attr:`cosmetic_changes.main_sortkey` to localize sort key in
+ :meth:`CosmeticChangesToolkit.standardizePageFooter<cosmetic_changes.CosmeticChangesToolkit.standardizePageFooter>`
+* Add *ignore_section parameter* to :meth:`site.APISite.getredirtarget` and :meth:`page.BasePage.getRedirectTarget` to
+ ignore :exc:`exceptions.SectionError` (:phab:`T370295`)
+* Avoid backslash in repr string of :class:`page.WikibaseEntity`
+* *botflag* parameter of :meth:`page.BasePage.save`, :meth:`page.BasePage.put`, :meth:`page.BasePage.touch`,
+ :meth:`pywikibot.Page.set_redirect_target` and :meth:`pywikibot.ItemPage.set_redirect_target` was renamed to *bot* to
+ be in sync with :meth:`APISite.editpage<pywikibot.site._apisite.APISite.editpage>` and :api:`edit`.
+* use :meth:`page.BasePage.templates` in :meth:`Page.templatesWithParams<page.Page.templatesWithParams>` to cache
+ templates
+* Re-implement :meth:`Page.main_authors()<page._toolforge.WikiBlameMixin.main_authors>` as
+ :meth:`Page.authorship()<page._toolforge.WikiBlameMixin.authorship>` using ``xtools`` (:phab:`T366100`);
+ ``wikitextparser`` packages is required for it.
+
+
9.2.1
-----
*13 July 2024*
diff --git a/ROADMAP.rst b/ROADMAP.rst
index 63d76f2..c2fb21e 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,23 +1,7 @@
Current Release Changes
=======================
-* Only add lang links from API response to a given page if present in family file (:phab:`T371107`)
-* Add support for ``cswikivoyage`` to Pywikibot (:phab:`T370915`)
-* :class:`pywikibot.FilePage` has a parameter *ignore_extension* to ignore file extension check :phab:`T352237`)
-* Provide :attr:`cosmetic_changes.main_sortkey` to localize sort key in
- :meth:`CosmeticChangesToolkit.standardizePageFooter<cosmetic_changes.CosmeticChangesToolkit.standardizePageFooter>`
-* Add *ignore_section parameter* to :meth:`site.APISite.getredirtarget` and :meth:`page.BasePage.getRedirectTarget` to
- ignore :exc:`exceptions.SectionError` (:phab:`T370295`)
-* Avoid backslash in repr string of :class:`page.WikibaseEntity`
-* *botflag* parameter of :meth:`page.BasePage.save`, :meth:`page.BasePage.put`, :meth:`page.BasePage.touch`,
- :meth:`pywikibot.Page.set_redirect_target` and :meth:`pywikibot.ItemPage.set_redirect_target` was renamed to *bot* to
- be in sync with :meth:`APISite.editpage<pywikibot.site._apisite.APISite.editpage>` and :api:`edit`.
-* use :meth:`page.BasePage.templates` in :meth:`Page.templatesWithParams<page.Page.templatesWithParams>` to cache
- templates
-* Re-implement :meth:`Page.main_authors()<page._toolforge.WikiBlameMixin.main_authors>` as
- :meth:`Page.authorship()<page._toolforge.WikiBlameMixin.authorship>` using ``xtools`` (:phab:`T366100`);
- ``wikitextparser`` packages is required for it.
-
+* (no changes yet)
Current Deprecations
====================
diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py
index ff248c6..aeaccf7 100644
--- a/pywikibot/__metadata__.py
+++ b/pywikibot/__metadata__.py
@@ -12,6 +12,6 @@
from time import strftime
-__version__ = '9.3.0'
+__version__ = '9.4.0.dev1'
__url__ = 'https://www.mediawiki.org/wiki/Manual:Pywikibot'
__copyright__ = f'2003-{strftime("%Y")}, Pywikibot team'
diff --git a/scripts/__init__.py b/scripts/__init__.py
index dac5584..02c277d 100644
--- a/scripts/__init__.py
+++ b/scripts/__init__.py
@@ -32,4 +32,4 @@
#
# Distributed under the terms of the MIT license.
#
-__version__ = '9.3.0'
+__version__ = '9.4.0'
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057378?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: Idca98e6b8945cd3fd2f60bacfc89ddad179720be
Gerrit-Change-Number: 1057378
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <dalangi-ctr(a)wikimedia.org>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057375?usp=email )
Change subject: Merge branch 'master' into stable
......................................................................
Merge branch 'master' into stable
Change-Id: I15774e6cd593d123d565babf40abab19dbcb72ab
---
M HISTORY.rst
M ROADMAP.rst
M pywikibot/__metadata__.py
4 files changed, 119 insertions(+), 41 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/HISTORY.rst b/HISTORY.rst
index 20a7673..74b5323 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,17 +1,6 @@
Release History
===============
-<<<<<<< HEAD (e7da58 Update git submodules)
-||||||| BASE
-9.1.3
------
-*28.05.2024*
-
-* Add support for dtpwiki (:phab:`T365232`)
-* i18n updates
-
-9.1.2
-=======
9.2.1
-----
*13 July 2024*
@@ -20,7 +9,6 @@
* i18n updates
->>>>>>> BRANCH (27ca7e [9.3] Publish Pywikibot 9.3)
9.2.0
-----
*22 June 2024*
diff --git a/ROADMAP.rst b/ROADMAP.rst
index ae8eabd..63d76f2 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,28 +1,6 @@
Current Release Changes
=======================
-<<<<<<< HEAD (e7da58 Update git submodules)
-* Add support for ``aewikimedia`` to Pywikibot (:phab:`T362529`)
-* i18n updates
-||||||| BASE
-* Add support for ``btmwiki`` to Pywikibot (:phab:`T368069`)
-* Include image repository extensions in :attr:`site.APISite.file_extensions
- <pywikibot.site._apisite.APISite.file_extensions>`
-* Ignore :exc:`ValueError` durig upcast of :class:`FilePage<pywikibot.page.FilePage>` due to invalid file extension
- (:phab:`T367777`)
-* Add :func:`pagegenerators.SupersetPageGenerator` pagegenerator (:phab:`T367684`)
-* No longer wait in :meth:`data.api.Request._http_request` for ``ImportError`` and ``NameError``
-* Replace ``requests.utils.urlparse`` with ``urllib.parse.urlparse`` in
- :func:`comms.http.get_authentication` (:phab:`T367649`)
-* Show an appropiate message if ``requests_oauthlib`` package is required but missing (:phab:`T353387`)
-* Retry ``DBUnexpectedError`` in :meth:`data.api.Request._internal_api_error` (:phab:`T367383`)
-* Duplicated entries found in :mod:`pywikibot` were removed
-* Pass ``None`` instead of an empty string as *expiry* argument in
- :meth:`site.APISite.protect()<pywikibot.site._apisite.APISite.protect>` (:phab:`T367176`)
-* Fix keyword argument in :meth:`Page.undelete()<page.BasePage.undelete>` when
- calling :meth:`site.APISite.undelete()<pywikibot.site._apisite.APISite.undelete>` (:phab:`T367037`)
-* Check whether :attr:`BaseBot.generator<bot.BaseBot.generator>` is None in :meth:`run()<bot.BaseBot.run>` method
-=======
* Only add lang links from API response to a given page if present in family file (:phab:`T371107`)
* Add support for ``cswikivoyage`` to Pywikibot (:phab:`T370915`)
* :class:`pywikibot.FilePage` has a parameter *ignore_extension* to ignore file extension check :phab:`T352237`)
@@ -40,7 +18,6 @@
:meth:`Page.authorship()<page._toolforge.WikiBlameMixin.authorship>` using ``xtools`` (:phab:`T366100`);
``wikitextparser`` packages is required for it.
->>>>>>> BRANCH (27ca7e [9.3] Publish Pywikibot 9.3)
Current Deprecations
====================
diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py
index fcc5815..ff248c6 100644
--- a/pywikibot/__metadata__.py
+++ b/pywikibot/__metadata__.py
@@ -12,12 +12,6 @@
from time import strftime
-<<<<<<< HEAD (e7da58 Update git submodules)
-__version__ = '9.2.1'
-||||||| BASE
-__version__ = '9.2.0'
-=======
__version__ = '9.3.0'
->>>>>>> BRANCH (27ca7e [9.3] Publish Pywikibot 9.3)
__url__ = 'https://www.mediawiki.org/wiki/Manual:Pywikibot'
__copyright__ = f'2003-{strftime("%Y")}, Pywikibot team'
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057375?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: stable
Gerrit-Change-Id: I15774e6cd593d123d565babf40abab19dbcb72ab
Gerrit-Change-Number: 1057375
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057348?usp=email )
Change subject: [doc] update ROADMAP.rst and CHANGELOG.rst
......................................................................
[doc] update ROADMAP.rst and CHANGELOG.rst
Change-Id: I5057cb43d8a4bf28e6f1a91c06c14b9914350ff9
---
M ROADMAP.rst
M scripts/CHANGELOG.rst
2 files changed, 34 insertions(+), 0 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/ROADMAP.rst b/ROADMAP.rst
index ce8bc73..63d76f2 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,6 +1,14 @@
Current Release Changes
=======================
+* Only add lang links from API response to a given page if present in family file (:phab:`T371107`)
+* Add support for ``cswikivoyage`` to Pywikibot (:phab:`T370915`)
+* :class:`pywikibot.FilePage` has a parameter *ignore_extension* to ignore file extension check :phab:`T352237`)
+* Provide :attr:`cosmetic_changes.main_sortkey` to localize sort key in
+ :meth:`CosmeticChangesToolkit.standardizePageFooter<cosmetic_changes.CosmeticChangesToolkit.standardizePageFooter>`
+* Add *ignore_section parameter* to :meth:`site.APISite.getredirtarget` and :meth:`page.BasePage.getRedirectTarget` to
+ ignore :exc:`exceptions.SectionError` (:phab:`T370295`)
+* Avoid backslash in repr string of :class:`page.WikibaseEntity`
* *botflag* parameter of :meth:`page.BasePage.save`, :meth:`page.BasePage.put`, :meth:`page.BasePage.touch`,
:meth:`pywikibot.Page.set_redirect_target` and :meth:`pywikibot.ItemPage.set_redirect_target` was renamed to *bot* to
be in sync with :meth:`APISite.editpage<pywikibot.site._apisite.APISite.editpage>` and :api:`edit`.
@@ -14,6 +22,8 @@
Current Deprecations
====================
+* 9.3.0: :meth:`page.BasePage.userName` and :meth:`page.BasePage.isIpEdit` are deprecated in favour of
+ ``user`` or ``anon`` attributes of :attr:`page.BasePage.latest_revision` property
* 9.2.0: Imports of :mod:`logging` functions from :mod:`bot` module is deprecated and will be desupported
* 9.2.0: *total* argument in ``-logevents`` pagegenerators option is deprecated;
use ``-limit`` instead (:phab:`T128981`)
diff --git a/scripts/CHANGELOG.rst b/scripts/CHANGELOG.rst
index 31ae292..b207ef7 100644
--- a/scripts/CHANGELOG.rst
+++ b/scripts/CHANGELOG.rst
@@ -1,6 +1,30 @@
Scripts Changelog
=================
+9.3.0
+-----
+
+delinker
+^^^^^^^^
+
+* Ignore file extension check :phab:`T352237`)
+
+fixing_redirects
+^^^^^^^^^^^^^^^^
+
+* Ignore :exc:`SectionError` in fixing_redirects.py script (:phab:`T370295`)
+
+interwiki
+^^^^^^^^^
+
+* ``-wiktionary`` option was removed
+
+redirect
+^^^^^^^^
+
+* Show the current redirect target with redirect summary (:phab:`T254839`)
+
+
9.2.0
-----
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057348?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: I5057cb43d8a4bf28e6f1a91c06c14b9914350ff9
Gerrit-Change-Number: 1057348
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <dalangi-ctr(a)wikimedia.org>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057347?usp=email )
Change subject: [tests] Disable flow_edit_tests.py and flow_thanks_tests.py
......................................................................
[tests] Disable flow_edit_tests.py and flow_thanks_tests.py
Bug: T371112
Change-Id: I0c6b0f4acc4ecad7402a98d9a5da00a6e18a583b
---
M tests/flow_edit_tests.py
M tests/flow_thanks_tests.py
2 files changed, 5 insertions(+), 2 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/tests/flow_edit_tests.py b/tests/flow_edit_tests.py
index f78f16b..b84ca6c 100755
--- a/tests/flow_edit_tests.py
+++ b/tests/flow_edit_tests.py
@@ -18,6 +18,7 @@
MODERATION_REASON = 'Pywikibot test'
+(a)unittest.skip('T371112: Structured Discussion was disabled on test-wiki')
class TestFlowCreateTopic(TestCase):
"""Test the creation of Flow topics."""
@@ -55,6 +56,7 @@
self.assertEqual(topic.summary(), content)
+(a)unittest.skip('T371112: Structured Discussion was disabled on test-wiki')
class TestFlowReply(TestCase):
"""Test replying to existing posts."""
@@ -174,6 +176,7 @@
self.assertLength(more_root_replies, len(new_root_replies) + 1)
+(a)unittest.skip('T371112: Structured Discussion was disabled on test-wiki')
class TestFlowLockTopic(TestCase):
"""Locking and unlocking topics."""
@@ -182,7 +185,6 @@
code = 'test'
write = True
- @unittest.expectedFailure # T367301
def test_lock_unlock_topic(self):
"""Lock and unlock a test topic."""
# Setup
@@ -251,11 +253,11 @@
self.assertFalse(flow.is_moderated)
+(a)unittest.skip('T371112: Structured Discussion was disabled on test-wiki')
class TestFlowHide(FlowTests):
"""Hiding topics and posts."""
- @unittest.expectedFailure # T367303
def test_hide(self):
"""Hide and restore a test topic and post."""
for flow in (self.topic, self.post):
diff --git a/tests/flow_thanks_tests.py b/tests/flow_thanks_tests.py
index 2f875af..5f1cced 100755
--- a/tests/flow_thanks_tests.py
+++ b/tests/flow_thanks_tests.py
@@ -16,6 +16,7 @@
NO_THANKABLE_POSTS = 'There is no recent post which can be test thanked.'
+(a)unittest.skip('T371112: Structured Discussion was disabled on test-wiki')
class TestThankFlowPost(TestCase):
"""Test thanks for Flow posts."""
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057347?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: I0c6b0f4acc4ecad7402a98d9a5da00a6e18a583b
Gerrit-Change-Number: 1057347
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057340?usp=email )
Change subject: [fix] Only add lang links to page._langlinks if present in family file
......................................................................
[fix] Only add lang links to page._langlinks if present in family file
Language links retrieved via API may have links which aren't present in
the family file.
Bug: T371107
Change-Id: I9e850f2f02eac3208bc1361eb6ff76d4589f2575
---
M pywikibot/data/api/_generators.py
1 file changed, 20 insertions(+), 5 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/data/api/_generators.py b/pywikibot/data/api/_generators.py
index de6f011..69ca560 100644
--- a/pywikibot/data/api/_generators.py
+++ b/pywikibot/data/api/_generators.py
@@ -20,7 +20,12 @@
import pywikibot
from pywikibot import config
from pywikibot.backports import Callable, Iterable
-from pywikibot.exceptions import Error, InvalidTitleError, UnsupportedPageError
+from pywikibot.exceptions import (
+ Error,
+ InvalidTitleError,
+ UnknownSiteError,
+ UnsupportedPageError,
+)
from pywikibot.site import Namespace
from pywikibot.tools import deprecated
from pywikibot.tools.collections import GeneratorWrapper
@@ -936,10 +941,20 @@
def _update_langlinks(page, langlinks) -> None:
- """Update page langlinks."""
- links = {pywikibot.Link.langlinkUnsafe(link['lang'], link['*'],
- source=page.site)
- for link in langlinks}
+ """Update page langlinks.
+
+ .. versionadded:: 9.3
+ only add a language link if it is found in the family file.
+
+ :meta public:
+ """
+ links = set()
+ for langlink in langlinks:
+ with suppress(UnknownSiteError):
+ link = pywikibot.Link.langlinkUnsafe(langlink['lang'],
+ langlink['*'],
+ source=page.site)
+ links.add(link)
if hasattr(page, '_langlinks'):
page._langlinks |= links
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057340?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: I9e850f2f02eac3208bc1361eb6ff76d4589f2575
Gerrit-Change-Number: 1057340
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057237?usp=email )
Change subject: [tests] test TestInterwikidataBot.test_main for unconnected sites
......................................................................
[tests] test TestInterwikidataBot.test_main for unconnected sites
Bug: T371108
Change-Id: I4ee09a18b2b06d7901668f84d3682c413b7a2ca4
---
M tests/interwikidata_tests.py
1 file changed, 11 insertions(+), 3 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/interwikidata_tests.py b/tests/interwikidata_tests.py
index e1bfb08..45ae584 100755
--- a/tests/interwikidata_tests.py
+++ b/tests/interwikidata_tests.py
@@ -55,9 +55,17 @@
def test_main(self):
"""Test main function interwikidata.py."""
- # The main function return None.
- with empty_sites():
- self.assertIsNone(interwikidata.main())
+ # The default site is used here
+ if pywikibot.Site().has_data_repository:
+ with empty_sites():
+ # The main function return None.
+ self.assertIsNone(interwikidata.main())
+ else:
+ with empty_sites(), self.assertRaisesRegex(
+ ValueError,
+ r'[a-z}+:[a-z_-]+ does not have a data repository, use '
+ r'interwiki\.py instead\.'):
+ interwikidata.main()
def test_iw_bot(self):
"""Test IWBot class."""
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057237?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: I4ee09a18b2b06d7901668f84d3682c413b7a2ca4
Gerrit-Change-Number: 1057237
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot