On Wed, Feb 26, 2014 at 10:24 AM, Jeremy Baron jeremy@tuxmachine.comwrote:
Speaking of timestamp format, examples in api.php seem wrong for basetimestamp.
The examples use entirely numeric timestamp like you get when paging through [[special:log]] (in browser not API) The format returned by prop=revisions&rvprop=timestamp does match the format you described.
Those should work too, as should any other format recognized by MWTimestamp::setTimestamp().[1] But feel free to submit patches to update the api.php documentation.
[1]: https://git.wikimedia.org/blob/mediawiki%2Fcore.git/8c9c245f2ff506de275a5cab...