Skip to content

Commit

Permalink
IMPR: fix spelling mistakes
Browse files Browse the repository at this point in the history
Change-Id: Iefa12241c0703dea910d6cb3baa5bc3771807564
  • Loading branch information
xqt committed Dec 8, 2024
1 parent 0309b0a commit 7fd0b4c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/checkimages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion scripts/transwikiimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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*.
Expand Down
2 changes: 1 addition & 1 deletion tests/data/xml/article-pear.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]</text>
[[Fruit tree propagation]]</text>
</revision>
<revision>
<id>188924</id>
Expand Down

0 comments on commit 7fd0b4c

Please sign in to comment.