From 7fd0b4c4fe7962e91a56e76f19c9fdf4795940c1 Mon Sep 17 00:00:00 2001 From: xqt Date: Sun, 8 Dec 2024 10:50:32 +0100 Subject: [PATCH] IMPR: fix spelling mistakes Change-Id: Iefa12241c0703dea910d6cb3baa5bc3771807564 --- scripts/checkimages.py | 4 ++-- scripts/transwikiimport.py | 2 +- tests/data/xml/article-pear.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/checkimages.py b/scripts/checkimages.py index ca695d8571..7e8e5b2ed5 100755 --- a/scripts/checkimages.py +++ b/scripts/checkimages.py @@ -353,7 +353,7 @@ } # A page where there's a list of template to consider as licenses. -PAGE_WITH_ALOWED_TEMPLATES = { +PAGE_WITH_ALLOWED_TEMPLATES = { 'commons': 'User:Filbot/Allowed templates', 'de': 'Benutzer:Xqbot/Lizenzvorlagen', 'it': 'Progetto:Coordinamento/Immagini/Bot/AllowedTemplates', @@ -514,7 +514,7 @@ def __init__( self.page_hidden = i18n.translate(self.site, PAGE_WITH_HIDDEN_TEMPLATES) self.page_allowed = i18n.translate(self.site, - PAGE_WITH_ALOWED_TEMPLATES) + PAGE_WITH_ALLOWED_TEMPLATES) self.comment = i18n.twtranslate(self.site.lang, 'checkimages-source-tag-comment') # Adding the bot's nickname at the notification text if needed. diff --git a/scripts/transwikiimport.py b/scripts/transwikiimport.py index 67bcfb59a1..53bfc676e1 100755 --- a/scripts/transwikiimport.py +++ b/scripts/transwikiimport.py @@ -115,7 +115,7 @@ This option is quite *dangerous*. If the title of an existing page on home wiki clashes with the title of one of the linked pages it would be -*overritten*. The histories would be merged. (If the imported version is +*overwritten*. The histories would be merged. (If the imported version is newer.) Even if ``-overwrite`` is not set the linked page *can be overwritten*. diff --git a/tests/data/xml/article-pear.xml b/tests/data/xml/article-pear.xml index 0ab16a6d3f..69fce657bc 100644 --- a/tests/data/xml/article-pear.xml +++ b/tests/data/xml/article-pear.xml @@ -83,7 +83,7 @@ Unlike most fruits, European pears do not ripen on the tree. They must be picked Pears are consumed fresh, canned, and as juice. Fermented pear juice is called [[perry]]. -[[Fruit tree propogation]] +[[Fruit tree propagation]] 188924