Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/730564 )
Change subject: [docs] Fix a few typos ......................................................................
[docs] Fix a few typos
There are small typos in: - pywikibot/tools/__init__.py - scripts/checkimages.py - scripts/interwiki.py
Fixes: - Should read `throttling` rather than `throtteling`. - Should read `structure` rather than `stucture`. - Should read `notifications` rather than `nofitications`.
PR39 submitted by timgates42. Thanks
Change-Id: Iff511329e0ffdcea0a39c5b3997da787c82f1b9c --- M CREDITS.rst M pywikibot/tools/__init__.py M scripts/checkimages.py M scripts/interwiki.py 4 files changed, 4 insertions(+), 3 deletions(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/CREDITS.rst b/CREDITS.rst index 414caa6..f2e412b 100644 --- a/CREDITS.rst +++ b/CREDITS.rst @@ -303,6 +303,7 @@ theopolisme Thomas R. Koll ThomasV + timgates42 Timo Tijhof Tony Thomas Toto Azéro diff --git a/pywikibot/tools/__init__.py b/pywikibot/tools/__init__.py index a988b10..8eaf722 100644 --- a/pywikibot/tools/__init__.py +++ b/pywikibot/tools/__init__.py @@ -237,7 +237,7 @@
"""Structure to hold values where the key is given by the value itself.
- A stucture like a defaultdict but the key is given by the value + A structure like a defaultdict but the key is given by the value itselfvand cannot be assigned directly. It returns the number of all items with len() but not the number of keys.
diff --git a/scripts/checkimages.py b/scripts/checkimages.py index cee134e..08cac8a 100755 --- a/scripts/checkimages.py +++ b/scripts/checkimages.py @@ -24,7 +24,7 @@ -duplicatesreport Report the duplicates in a log *AND* put the template in the images.
--maxusernotify Maximum nofitications added to a user talk page in a single +-maxusernotify Maximum notifications added to a user talk page in a single check, to avoid email spamming.
-sendemail Send an email after tagging. diff --git a/scripts/interwiki.py b/scripts/interwiki.py index 67ba233..d52cf7b 100755 --- a/scripts/interwiki.py +++ b/scripts/interwiki.py @@ -92,7 +92,7 @@ (note: without ending colon)
-async Put page on queue to be saved to wiki asynchronously. This - enables loading pages during saving throtteling and gives a + enables loading pages during saving throttling and gives a better performance. NOTE: For post-processing it always assumes that saving the the pages was successful.
pywikibot-commits@lists.wikimedia.org