jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1024934?usp=email )
Change subject: [doc] fix spelling mistakes
......................................................................
[doc] fix spelling mistakes
Change-Id: I06bc7c07d5b2e4cb344730dc45ee1c6a6e132a93
---
M HISTORY.rst
M pywikibot/tools/_deprecate.py
2 files changed, 4 insertions(+), 4 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/HISTORY.rst b/HISTORY.rst
index d8d60f1..3415a6d 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -5,8 +5,8 @@
-----
*27 April 2024*
-* Add support for new wikis
- (:phab:`T363272`, :phab:`T363265`, :phab:`T363258`, :phab:`T363251`, :phab:`T363245`,
:phab:`T360312`, :phab:`T360305`)
+* Add support for new wikis (:phab:`T363272`, :phab:`T363265`, :phab:`T363258`,
+ :phab:`T363251`, :phab:`T363245`, :phab:`T360312`, :phab:`T360305`)
* i18n updates
@@ -1094,7 +1094,7 @@
* Property.getType() method has been removed
* Family.server_time() method was removed; it is still available from Site object
(:phab:`T89451`)
* All HttpRequest parameters except of charset has been dropped (:phab:`T265206`)
-* A lot of methods and properties of HttpRequest are deprecared in favour of
requests.Resonse attributes
+* A lot of methods and properties of HttpRequest are deprecated in favour of
requests.Resonse attributes
(:phab:`T265206`)
* Method and properties of HttpRequest are delegated to requests.Response object
(:phab:`T265206`)
* comms.threadedhttp.HttpRequest.raw was replaced by HttpRequest.content property
(:phab:`T265206`)
diff --git a/pywikibot/tools/_deprecate.py b/pywikibot/tools/_deprecate.py
index 74e2bcf..58409ac 100644
--- a/pywikibot/tools/_deprecate.py
+++ b/pywikibot/tools/_deprecate.py
@@ -313,7 +313,7 @@
def my_function(bar='baz'): pass
# replaces 'foo' keyword by 'bar' used by my_function
- @deprecare_arg('foo', None)
+ @deprecate_arg('foo', None)
def my_function(): pass
# ignores 'foo' keyword no longer used by my_function
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1024934?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I06bc7c07d5b2e4cb344730dc45ee1c6a6e132a93
Gerrit-Change-Number: 1024934
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged