jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1083761?usp=email )
Change subject: [cleanup] remove -repository option which was never implemented
in core
......................................................................
[cleanup] remove -repository option which was never implemented in core
Change-Id: Iddc89be2f5127c9965b78639728deb6e169344b6
---
M scripts/interwiki.py
1 file changed, 6 insertions(+), 9 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/interwiki.py b/scripts/interwiki.py
index de206ac..6b02cd5 100755
--- a/scripts/interwiki.py
+++ b/scripts/interwiki.py
@@ -171,8 +171,6 @@
above for the format, one can for example give
"en:something" or "20:" as hint.
--repository Include data repository
-
-same Looks over all 'serious' languages for the same title.
``-same`` is equivalent to ``-hint:all``.
@@ -566,10 +564,11 @@
elif arg == 'lack':
self.lacklanguage, _, minlinks = value.partition(':')
self.minlinks = int(minlinks or 1)
- elif arg in ('cleanup', 'confirm', 'force', 'hintnobracket',
- 'hintsareright', 'initialredirect', 'localonly', 'quiet',
- 'repository', 'same', 'select', 'skipauto',
- 'untranslated'):
+ elif arg in (
+ 'cleanup', 'confirm', 'force', 'hintnobracket', 'hintsareright',
+ 'initialredirect', 'localonly', 'quiet', 'same', 'select',
+ 'skipauto', 'untranslated',
+ ):
assert hasattr(self, arg)
assert value == ''
setattr(self, arg, True)
@@ -643,8 +642,7 @@
"""
def __init__(self, origin=None, hints=None, conf=None) -> None:
- """
- Initializer.
+ """Initializer.
Takes as arguments the Page on the home wiki
plus optionally a list of hints for translation
@@ -653,7 +651,6 @@
super().__init__(origin)
- self.repoPage = None
# todo is a list of all pages that still need to be analyzed.
# Mark the origin page as todo.
self.todo = SizedKeyCollection('site')
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1083761?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: Iddc89be2f5127c9965b78639728deb6e169344b6
Gerrit-Change-Number: 1083761
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[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]