Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/812557 )
Change subject: [doc] Update ROADMAP.rst and add some documentation changes ......................................................................
[doc] Update ROADMAP.rst and add some documentation changes
Change-Id: I59df93c857039c63ece3e3feafb6bf610aa09193 --- M ROADMAP.rst M pywikibot/site/_datasite.py M pywikibot/site/_generators.py 3 files changed, 12 insertions(+), 3 deletions(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/ROADMAP.rst b/ROADMAP.rst index fad8800..ca3bb1b 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -1,6 +1,11 @@ Current release 7.5.0 ^^^^^^^^^^^^^^^^^^^^^
+* Wrapper method :meth:`parsevalue()<pywikibot.site._datasite.DataSite.parsevalue>` + around wbparsevalue was added (:phab:`T112140`) +* L10N updates +* Fix cp encodings in :func:`get_charset_from_content_type() + <pywikibot.comms.http.get_charset_from_content_type>` (:phab:`T312230`) * New :mod:`pywikibot.time` module with new functions in addition to `Timestamp` * :meth:`Page.revisions()<pywikibot.page.BasePage.revisions>` supports more formats/types for starttime and endtime parameters, in addition to those allowed by diff --git a/pywikibot/site/_datasite.py b/pywikibot/site/_datasite.py index b651cd5..370981d 100644 --- a/pywikibot/site/_datasite.py +++ b/pywikibot/site/_datasite.py @@ -715,9 +715,12 @@ """ Send data values to the wikibase parser for interpretation.
- :param datatype: datatype of the values being parsed. Refer to - https://www.wikidata.org/w/api.php?action=help&modules=wbparsevalue - for a valid datatype. + .. versionadded:: 7.5 + .. seealso:: `wbparsevalue API + https://www.wikidata.org/w/api.php?action=help&modules=wbparsevalue`_ + + :param datatype: datatype of the values being parsed. Refer the + API for a valid datatype. :param values: list of values to be parsed :param options: any additional options for wikibase parser (for time, 'precision' should be specified) diff --git a/pywikibot/site/_generators.py b/pywikibot/site/_generators.py index 641fd7f..1163760 100644 --- a/pywikibot/site/_generators.py +++ b/pywikibot/site/_generators.py @@ -1243,6 +1243,7 @@ if namespace param contains multiple namespaces, log entries from all namespaces will be fetched from the API and will be filtered later during iteration. + :param start: only iterate entries from and after this Timestamp :type start: Timestamp or ISO date string :param end: only iterate entries up to and through this Timestamp
pywikibot-commits@lists.wikimedia.org