jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[docs] Update docs

Change-Id: I04abf3c5c242a06f0b4b410b65ccaa0665457b37
---
M scripts/archivebot.py
M scripts/interwiki.py
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/scripts/archivebot.py b/scripts/archivebot.py
index e88ef2c..d696df2 100755
--- a/scripts/archivebot.py
+++ b/scripts/archivebot.py
@@ -189,11 +189,15 @@
Return a timedelta for a shorthand duration.

@param string: a string defining a time period:
+
+ Examples::
+
300s - 300 seconds
36h - 36 hours
7d - 7 days
2w - 2 weeks (14 days)
1y - 1 year
+
@param timestamp: a timestamp to calculate a more accurate duration offset
used by years
@type timestamp: datetime.datetime
@@ -255,6 +259,7 @@
Return a size for a shorthand size.

Accepts a string defining a size::
+
1337 - 1337 bytes
150K - 150 kilobytes
2M - 2 megabytes
diff --git a/scripts/interwiki.py b/scripts/interwiki.py
index 9e6e317..62eeba9 100755
--- a/scripts/interwiki.py
+++ b/scripts/interwiki.py
@@ -603,7 +603,7 @@

With P a set of pages, NL ('NextLevel') a function on sets defined as:

- NL(P) = { target | ∃ source ∈ P, target ∈ source.langlinks() }
+ `NL(P) = { target | ∃ source ∈ P, target ∈ source.langlinks() }`

pseudocode::


To view, visit change 683851. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I04abf3c5c242a06f0b4b410b65ccaa0665457b37
Gerrit-Change-Number: 683851
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki@aol.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged