Patches item #3558294, was opened at 2012-08-16 00:18 Message generated for change (Tracker Item Submitted) made by acstroe You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3558294...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Andrei Stroe (acstroe) Assigned to: Nobody/Anonymous (nobody) Summary: archivebot.py edit summary i18n improvement
Initial Comment: The edit summary of archivebot explains how old archived messages are, by using the configuration string, e.g. 45d or 24h. On request from some users on ro.wp, I have added a function that interprets these strings in accordance with the local wiki settings. It uses the MediaWiki:Hours and MediaWiki:Days messages to obtain the local language string. Since all wikis I tries use the PLURAL parser function and parser functions are not interpreted in the wiki edit summary, I parsed the PLURAL function to obtain the actual string. If the PLURAL function is not supported, then the exact text of the MediaWiki:Hours and MediaWiki:Days is used (after replacing $1 with the actual number). If the MediaWiki:Hours or MediaWiki:Days messages are not found, then the initial configuration string is used.
See also https://ro.wikipedia.org/wiki/Wikipedia:Sarcini_pentru_robo%C8%9Bi#Arhivare_...
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3558294...
pywikipedia-bugs@lists.wikimedia.org