John Vandenberg has uploaded a new change for review. https://gerrit.wikimedia.org/r/238084
Change subject: [WIP] URLs in docstrings ...................................................................... [WIP] URLs in docstrings Bug: T112491 Change-Id: Id835c8e5957fccf4b54defef2ab94b3df6561a43 --- M pywikibot/site.py 1 file changed, 5 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core refs/changes/84/238084/1 diff --git a/pywikibot/site.py b/pywikibot/site.py index cbb092b..833b798 100644 --- a/pywikibot/site.py +++ b/pywikibot/site.py @@ -4023,7 +4023,7 @@ Note that logevents only logs user blocks, while this method iterates all blocks including IP ranges. The iterator yields dicts containing keys corresponding to the block properties (see - https://www.mediawiki.org/wiki/API:Query_-_Lists for documentation). + L{https://www.mediawiki.org/wiki/API:Blocks}. @param starttime: start iterating at this Timestamp @param endtime: stop iterating at this Timestamp @@ -5219,9 +5219,11 @@ @param expiry: The length or date/time when the block expires. If 'never', 'infinite', 'indefinite' it never does. If the value is given as a basestring it's parsed by php's strtotime function: - http://php.net/manual/en/function.strtotime.php + L{http://php.net/manual/en/function.strtotime.php} + The relative format is described there: - http://php.net/manual/en/datetime.formats.relative.php + L{http://php.net/manual/en/datetime.formats.relative.php} + It is recommended to not use a basestring if possible to be independent of the API. @type expiry: Timestamp/datetime (absolute), -- To view, visit https://gerrit.wikimedia.org/r/238084 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id835c8e5957fccf4b54defef2ab94b3df6561a43 Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: John Vandenberg <jay...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits