jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1283630?usp=email )
Change subject: doc: Fix spelling mistakes
......................................................................
doc: Fix spelling mistakes
Also remove TODO hint in parser_function_count.py.
The feature request was moved to Phab task T425518.
Change-Id: I120ba867ae3962535398b21096d05d16be40efc1
---
M pywikibot/cosmetic_changes.py
M pywikibot/page/_filepage.py
M scripts/parser_function_count.py
3 files changed, 2 insertions(+), 9 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/pywikibot/cosmetic_changes.py b/pywikibot/cosmetic_changes.py
index c4df676..cbf34c0 100644
--- a/pywikibot/cosmetic_changes.py
+++ b/pywikibot/cosmetic_changes.py
@@ -692,7 +692,7 @@
"""Replace HTML entities with string."""
ignore = [
38, # Ampersand (&)
- 39, # Single quotation mark (") per T26093
+ 39, # Single quotation mark (') per T26093
60, # Less than (<)
62, # Greater than (>)
91, # Opening square bracket ([)
diff --git a/pywikibot/page/_filepage.py b/pywikibot/page/_filepage.py
index e966386..f7212ff 100644
--- a/pywikibot/page/_filepage.py
+++ b/pywikibot/page/_filepage.py
@@ -313,7 +313,7 @@
raise an UploadError exception if the static boolean is
False.
:type ignore_warnings: bool or callable or iterable of str
- :keyword chunk_size: The chunk size in bytesfor chunked
+ :keyword chunk_size: The chunk size in bytes for chunked
uploading (see :api:`Upload#Chunked_uploading`). It will
only upload in chunks, if the chunk size is positive but
lower than the file size.
diff --git a/scripts/parser_function_count.py b/scripts/parser_function_count.py
index 2f7cc75..e6a4e94 100755
--- a/scripts/parser_function_count.py
+++ b/scripts/parser_function_count.py
@@ -57,13 +57,6 @@
from pywikibot.bot import ExistingPageBot, SingleSiteBot
-# TODO:
-# * Using xml and xmlstart
-# * Using categories
-# * Error handling for uploading (anyway, that's the last action, it's only
-# for the beauty of the program, does not effect anything).
-
-
class ParserFunctionCountBot(SingleSiteBot, ExistingPageBot):
"""Bot class used for obtaining Parser function Count."""
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1283630?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: I120ba867ae3962535398b21096d05d16be40efc1
Gerrit-Change-Number: 1283630
Gerrit-PatchSet: 1
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]