jenkins-bot merged this change.

View Change

Approvals: Zoranzoki21: Looks good to me, but someone else must approve Dvorapa: Looks good to me, approved jenkins-bot: Verified
fix typos in the comments of misspelling.py

Change-Id: I63fd5d28edb4e77ed27affde2758a641593e167a
---
M scripts/misspelling.py
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/misspelling.py b/scripts/misspelling.py
index d86635a..d832c40 100755
--- a/scripts/misspelling.py
+++ b/scripts/misspelling.py
@@ -133,10 +133,10 @@
templates = (templates, )
for template, params in disambPage.templatesWithParams():
if template.title(withNamespace=False) in templates:
- # The correct spelling is in the last paramter.
+ # The correct spelling is in the last parameter.
correctSpelling = params[-1]
# On de.wikipedia, there are some cases where the
- # misspelling is ambigous, see for example:
+ # misspelling is ambiguous, see for example:
# https://de.wikipedia.org/wiki/Buthan
for match in self.linkR.finditer(correctSpelling):
self.alternatives.append(match.group('title'))

To view, visit change 433912. To unsubscribe, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I63fd5d28edb4e77ed27affde2758a641593e167a
Gerrit-Change-Number: 433912
Gerrit-PatchSet: 1
Gerrit-Owner: PeterTheOne <petertheone@gmail.com>
Gerrit-Reviewer: Dvorapa <dvorapa@seznam.cz>
Gerrit-Reviewer: John Vandenberg <jayvdb@gmail.com>
Gerrit-Reviewer: Welcome, new contributor! <ssethi@wikimedia.org>
Gerrit-Reviewer: Zoranzoki21 <zorandori4444@gmail.com>
Gerrit-Reviewer: jenkins-bot <>