jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1288094?usp=email )
Change subject: doc/interwiki: Fix spelling mistake. Also fix interwiki arg
handling
......................................................................
doc/interwiki: Fix spelling mistake. Also fix interwiki arg handling
Change-Id: If197050f4664657ba4e98c606b77b9d1820c7f9e
---
M scripts/CHANGELOG.rst
M scripts/interwiki.py
M tests/site_generators_tests.py
3 files changed, 5 insertions(+), 6 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/CHANGELOG.rst b/scripts/CHANGELOG.rst
index 308e905..187ef05 100644
--- a/scripts/CHANGELOG.rst
+++ b/scripts/CHANGELOG.rst
@@ -512,7 +512,7 @@
^^^^^^^^^^^^^
* L10N updates
-* A `-textfile` option was addet to fetch the text from a file
+* A `-textfile` option was added to fetch the text from a file
create_isbn_edition
^^^^^^^^^^^^^^^^^^^
@@ -892,7 +892,7 @@
touch
^^^^^
-\*Do not pass OtherPageSaveRelatedError silently
+* Do not pass OtherPageSaveRelatedError silently
unusedfiles
^^^^^^^^^^^
@@ -939,8 +939,7 @@
general
^^^^^^^
-* show a warning if pywikibot.__version_\_ is behind
- scripts.__version_\_
+* show a warning if ``pywikibot.__version__`` is behind
``scripts.__version__``
addtext
^^^^^^^
diff --git a/scripts/interwiki.py b/scripts/interwiki.py
index 88f2d7b..0d448e2 100755
--- a/scripts/interwiki.py
+++ b/scripts/interwiki.py
@@ -2369,7 +2369,7 @@
opthintsonly = True
elif arg == '-number':
number = int(value)
- elif arg == '-until:':
+ elif arg == '-until':
until = value
else:
unknown.append(option)
diff --git a/tests/site_generators_tests.py b/tests/site_generators_tests.py
index 9f902ae..b182ba3 100755
--- a/tests/site_generators_tests.py
+++ b/tests/site_generators_tests.py
@@ -1795,7 +1795,7 @@
self.assertLength(self.nofollow, 1)
def test_backlinks_redirects_status(self) -> None:
- """Test backlinks redirects statur."""
+ """Test backlinks redirects status."""
for page in self.backlinks:
self.assertTrue(page.isRedirectPage())
for page in self.references:
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1288094?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: If197050f4664657ba4e98c606b77b9d1820c7f9e
Gerrit-Change-Number: 1288094
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[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]