Page MenuHomePhabricator

archivebot does not archive MediaWiki message delivery
Closed, DeclinedPublic


MediaWiki message delivery have not correct (localised) timestamp at the end and they are not archived in namespace 4

but in namespace 2 they are archived

Event Timeline

JAnD raised the priority of this task from to Medium.
JAnD updated the task description. (Show Details)
JAnD added a project:
JAnD added a subscriber: JAnD.

As mentioned, as of now requires a well-formed localized timestamp. Would it be a good idea to modify it recognize English timestamps and localized timestamps on a non-English wiki?

I'm guessing that providing it as an option for the operator would be uncontroversial.

The problem is what is a well-formed English timestamp.
In the MediaWiki message delivery example above the format is "9 September 2014 16.22 (UTC)" while on enwp, for example, the format is "06:56, 30 January 2016 (UTC)".

The idea in archivebot is to understand the format of the date from the siteinfo informations.

@Mpaa: Good point. In light of that, I'd suggest closing this as not done. It appears the problem was in the text, not in the bot.

However, to expand on my last comment, it might make sense to allow the operator to provide a format string as a fallback (e.g. '-fallback_format:"%d %B %Y %H.%M (UTC)"'). That may be a different phabricator task to create, though.