Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/770124 )
Change subject: [doc] Update documentation
......................................................................
[doc] Update documentation
Change-Id: I33a38cb492d1461bd0ba25aeeee9c3555a47d8c1
---
M pywikibot/page/__init__.py
M pywikibot/textlib.py
2 files changed, 5 insertions(+), 5 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/pywikibot/page/__init__.py b/pywikibot/page/__init__.py
index 4606772..2d030ce 100644
--- a/pywikibot/page/__init__.py
+++ b/pywikibot/page/__init__.py
@@ -740,7 +740,7 @@
A static redirect must be a valid redirect, and contain the magic
word __STATICREDIRECT__.
- .. versionchanged:: 7.0.0
+ .. versionchanged:: 7.0
__STATICREDIRECT__ can be transcluded
:param force: Bypass local caching
@@ -1396,9 +1396,9 @@
For the parameters refer
:py:mod:`APISite.pagelinks<pywikibot.site.APISite.pagelinks>`
- .. versionadded:: 7.0.0
+ .. versionadded:: 7.0
the `follow_redirects` keyword argument
- .. deprecated:: 7.0.0
+ .. deprecated:: 7.0
the positional arguments
.. seealso:: https://www.mediawiki.org/wiki/API:Links
@@ -5906,7 +5906,7 @@
Uses the first encoding that doesn't cause an error.
- .. deprecated:: 6.2.0
+ .. deprecated:: 6.2
Use :func:`pywikibot.tools.chars.url2string` instead.
:param title: URL-encoded character data to convert
diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py
index d033913..dc313df 100644
--- a/pywikibot/textlib.py
+++ b/pywikibot/textlib.py
@@ -1928,7 +1928,7 @@
def fix_digits(line):
"""Make non-latin digits like Persian to latin to parse.
- .. deprecated:: 7.0.0
+ .. deprecated:: 7.0
Use :func:`to_latin_digits` instead.
"""
return to_latin_digits(line)
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/770124
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: I33a38cb492d1461bd0ba25aeeee9c3555a47d8c1
Gerrit-Change-Number: 770124
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]