jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1332207?usp=email )
Change subject: docs: Fix clear spelling errors
......................................................................
docs: Fix clear spelling errors
Correct misspellings across comments, docstrings, help, and docs.
Change-Id: If411cd664a78ab2b165b12357713c793ed364d6c
---
M docs/recipes.rst
M docs/scripts/archive.rst
M docs/scripts/outdated.rst
M docs/tests_ref/utils.rst
M pywikibot/pagegenerators/_factory.py
M scripts/category.py
M scripts/checkimages.py
M scripts/redirect.py
M scripts/transwikiimport.py
9 files changed, 10 insertions(+), 10 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/docs/recipes.rst b/docs/recipes.rst
index 9f5b70c..c6f07cd 100644
--- a/docs/recipes.rst
+++ b/docs/recipes.rst
@@ -24,5 +24,5 @@
>>> links = sorted(link['title'] for link in
>>> pywikibot.link_regex.finditer(sect.header))
>>> pages = [pywikibot.Page(site, title) for title in links]
-* ``links`` is a list containing all link titles in alphabethical order
+* ``links`` is a list containing all link titles in alphabetical order
* ``pages`` is a sorted list containing all ``Page`` objects
diff --git a/docs/scripts/archive.rst b/docs/scripts/archive.rst
index 4481c24..57723b2 100644
--- a/docs/scripts/archive.rst
+++ b/docs/scripts/archive.rst
@@ -26,7 +26,7 @@
casechecker script
==================
-**Bot to find all pages on the wiki with mixed latin and cyrilic alphabets**
+**Bot to find all pages on the wiki with mixed Latin and Cyrillic alphabets**
catall script
=============
diff --git a/docs/scripts/outdated.rst b/docs/scripts/outdated.rst
index 4a8d2b8..455b0f7 100644
--- a/docs/scripts/outdated.rst
+++ b/docs/scripts/outdated.rst
@@ -43,7 +43,7 @@
commons\_category\_redirect script
----------------------------------
-**Script to clean up non-empty catecory redirect category on Commons**
+**Script to clean up non-empty category redirect category on Commons**
Moves all images, pages and categories in redirect categories to the
target category.
diff --git a/docs/tests_ref/utils.rst b/docs/tests_ref/utils.rst
index 55c0e23..b606293 100644
--- a/docs/tests_ref/utils.rst
+++ b/docs/tests_ref/utils.rst
@@ -3,7 +3,7 @@
*************************************
.. automodule:: tests.utils
- :synopsis: Test utility funktions
+ :synopsis: Test utility functions
:members:
:undoc-members:
:show-inheritance:
diff --git a/pywikibot/pagegenerators/_factory.py
b/pywikibot/pagegenerators/_factory.py
index 14e7d73..f7aab25 100644
--- a/pywikibot/pagegenerators/_factory.py
+++ b/pywikibot/pagegenerators/_factory.py
@@ -216,7 +216,7 @@
set the instance variable :attr:`is_preloading` to True or False.
.. version-changed:: 8.0
if ``limit`` option is set and multiple generators are given,
- pages are yieded in a :func:`roundrobin
+ pages are yielded in a :func:`roundrobin
<tools.itertools.roundrobin_generators>` way.
.. version-changed:: 11.3
If *preload* option is set, the preloading generators
diff --git a/scripts/category.py b/scripts/category.py
index 6dc4eaf..88d2b8f 100755
--- a/scripts/category.py
+++ b/scripts/category.py
@@ -373,7 +373,7 @@
self.rebuild()
def rebuild(self) -> None:
- """Rebuild the dabatase."""
+ """Rebuild the database."""
self.cat_content_db = {}
self.superclass_db = {}
diff --git a/scripts/checkimages.py b/scripts/checkimages.py
index ee58463..45c1730 100755
--- a/scripts/checkimages.py
+++ b/scripts/checkimages.py
@@ -1656,7 +1656,7 @@
pywikibot.info(
f'Retrieving the latest {limit} files for checking...')
while True:
- # Defing the Main Class.
+ # Defining the Main Class.
bot = CheckImagesBot(site, sendemail_active=sendemail_active,
duplicates_report=duplicates_report,
log_full_error=log_full_error,
diff --git a/scripts/redirect.py b/scripts/redirect.py
index 95a7af4..7f68287 100755
--- a/scripts/redirect.py
+++ b/scripts/redirect.py
@@ -264,7 +264,7 @@
:[2]: target page title of the redirect, or chain (may not exist)
:[3]: target page of the redirect, or end of chain, or page title
- where chain or loop detecton was halted, or None if unknown
+ where chain or loop detection was halted, or None if unknown
"""
for apiQ in self._next_redirect_group():
gen = pywikibot.data.api.Request(
diff --git a/scripts/transwikiimport.py b/scripts/transwikiimport.py
index 4e5a3d9..8695397 100755
--- a/scripts/transwikiimport.py
+++ b/scripts/transwikiimport.py
@@ -85,7 +85,7 @@
If the target page already exists, the target page will be overwritten
if ``-overwrite`` is set or skipped otherwise.
-The list of pages to be imported can be generated outside of the pywikbot:
+The list of pages to be imported can be generated outside of Pywikibot:
for i in {1..10} ; do python3 pwb.py transwikiimport \
-interwikisource:mul -page:"Page:How to become famous.djvu/$i" \
@@ -110,7 +110,7 @@
The global option ``-simulate`` disables the import and the bot prints
the names of the pages that would be imported. Since the import of pages
-is a quite exceptionell process and potentially dangerous it should be
+is a quite exceptional process and potentially dangerous it should be
made carefully and tested in advance.
The ``-simulate`` option can help to find out which pages would be moved
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1332207?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: If411cd664a78ab2b165b12357713c793ed364d6c
Gerrit-Change-Number: 1332207
Gerrit-PatchSet: 2
Gerrit-Owner: Mahveotm <[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]