jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/385973 )
Change subject: [bugfix] Remove overlap warning
......................................................................
[bugfix] Remove overlap warning
The overlap warning was introduced with T92626 but is still unclear what to
do with it. The naming conflict seems already solved.
See also:
https://gerrit.wikimedia.org/r/#/c/196642/5/pywikibot/data/api.py@269
Bug: T92626
Bug: T171068
Bug: T178794
Change-Id: Ib81558295da67145f5b76d4100b60484f9fa2281
---
M pywikibot/data/api.py
1 file changed, 0 insertions(+), 9 deletions(-)
Approvals:
Dalba: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/data/api.py b/pywikibot/data/api.py
index f2c06dd..540648d 100644
--- a/pywikibot/data/api.py
+++ b/pywikibot/data/api.py
@@ -299,15 +299,6 @@
self._fetch(set(['query']))
assert 'query' in self._modules
- _reused_module_names = self._action_modules & self._modules['query']
-
- # The only name clash in core between actions and query submodules is
- # action=tokens and actions=query&meta=tokens, and this will warn if
- # any new ones appear.
- if _reused_module_names > set(['tokens']):
- warn('Unexpected overlap between action and query submodules: %s'
- % (_reused_module_names - set(['tokens'])), UserWarning)
-
def _emulate_pageset(self):
"""Emulate the pageset module, which existed in MW 1.15-1.24."""
# pageset isnt a module in the new system, so it is emulated, with
--
To view, visit https://gerrit.wikimedia.org/r/385973
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib81558295da67145f5b76d4100b60484f9fa2281
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Magul <tomasz.magulski(a)gmail.com>
Gerrit-Reviewer: MarcoAurelio <maurelio(a)tools.wmflabs.org>
Gerrit-Reviewer: Zoranzoki21 <zorandori4444(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>