Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1285487?usp=email )

Change subject: doc: Fix spelling mistakes in config.py and 
parser_function_count.py
......................................................................

doc: Fix spelling mistakes in config.py and parser_function_count.py

Change-Id: I6d56c783a1f41ad0ca6c763856a2ff9892d88dfd
---
M pywikibot/config.py
M scripts/parser_function_count.py
2 files changed, 7 insertions(+), 7 deletions(-)

Approvals:
  Xqt: Verified; Looks good to me, approved




diff --git a/pywikibot/config.py b/pywikibot/config.py
index fa9a1e3..743e446 100644
--- a/pywikibot/config.py
+++ b/pywikibot/config.py
@@ -9,7 +9,7 @@
 which may be located in directory specified by the environment variable
 `PYWIKIBOT_DIR`, or the same directory as `pwb.py`, or in a directory
 within the users home. See :py:obj:`get_base_dir` for more information.
-The different file name can specified with global `-config` option.
+A different file name can be specified with the global `-config` option.

 If user config file cannot be found in any of those locations, this
 module will fail to load unless the environment variable
@@ -139,7 +139,7 @@
                      '({revision}) {python} {http_backend}')

 # User agent description
-# This is a free-form string that can be user to describe specific bot/tool,
+# This is a free-form string that can be used to describe specific bot/tool,
 # provide contact information, etc.
 user_agent_description: str | None = None
 # Fake user agent.
@@ -800,9 +800,9 @@
 # foreign wiki, set cosmetic_changes_mylang_only to False, but be careful!
 cosmetic_changes_mylang_only = True

-# The dictionary cosmetic_changes_enable should contain a tuple of languages
-# for each site where you wish to enable in addition to your own langlanguage
-# (if cosmetic_changes_mylang_only is set)
+# The dictionary cosmetic_changes_enable should contain a tuple of site codes
+# for each site where you wish to enable in addition to your own mylang code
+# if cosmetic_changes_mylang_only is set.
 # Please set your dictionary by adding such lines to your user config file:
 # cosmetic_changes_enable['wikipedia'] = ('de', 'en', 'fr')
 cosmetic_changes_enable: dict[str, tuple[str, ...]] = {}
@@ -827,7 +827,7 @@
 # ############# REPLICATION BOT SETTINGS ################
 # You can add replicate_replace to your user config file.
 #
-# Use has the following format:
+# Use the following format:
 #
 # replicate_replace = {
 #            'wikipedia:li': {'Hoofdpagina': 'Veurblaad'}
diff --git a/scripts/parser_function_count.py b/scripts/parser_function_count.py
index e6a4e94..56bdbc1 100755
--- a/scripts/parser_function_count.py
+++ b/scripts/parser_function_count.py
@@ -59,7 +59,7 @@

 class ParserFunctionCountBot(SingleSiteBot, ExistingPageBot):

-    """Bot class used for obtaining Parser function Count."""
+    """Bot class used for obtaining parser function count."""

     use_redirects = False


--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1285487?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: I6d56c783a1f41ad0ca6c763856a2ff9892d88dfd
Gerrit-Change-Number: 1285487
Gerrit-PatchSet: 2
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]

Reply via email to