jenkins-bot has submitted this change and it was merged. Change subject: use the new version of 'archivebot-older-than' ......................................................................
use the new version of 'archivebot-older-than' with the 'duration' parameter per mailing list: http://comments.gmane.org/gmane.comp.python.pywikipediabot.general/14160 corresponding change in the i18n file: I507b0b38a87fe8e97b850a71d9c1764ec16fbeb1 backport of Ie4699550def701a728abaca3e62287e1c36ce3b0 from core Change-Id: Ifefc1c289120edd62747480cee497f846e6810c8 --- M archivebot.py 1 file changed, 3 insertions(+), 1 deletion(-) Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified diff --git a/archivebot.py b/archivebot.py index c4fe7c4..7c80de0 100644 --- a/archivebot.py +++ b/archivebot.py @@ -412,7 +412,9 @@ #return 'unsigned' maxage = str2time(reT.group(1)) if self.now - self.timestamp > maxage: - return message('archivebot-older-than') + ' ' + reT.group(1) + return i18n.twtranslate(Site.language, + 'archivebot-older-than', + {'duration': reT.group(1)}) return '' -- To view, visit https://gerrit.wikimedia.org/r/181407 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ifefc1c289120edd62747480cee497f846e6810c8 Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/compat Gerrit-Branch: master Gerrit-Owner: Ricordisamoa <[email protected]> Gerrit-Reviewer: John Vandenberg <[email protected]> Gerrit-Reviewer: Ladsgroup <[email protected]> Gerrit-Reviewer: Ricordisamoa <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
