Page MenuHomePhabricator

list=logevents doesn't give block expiry time
Closed, ResolvedPublic

Description

Author: matthew.britton

Description:
Below is a sample block log item from the API's list=logevents query:

<item logid="18622403" pageid="0" ns="2" title="User:66.240.60.113" type="block" action="block" user="Persian Poet Gal" timestamp="2008-12-02T20:09:54Z" comment="[[WP:Vandalism|Vandalism]]: lots of recent activity, if this IP is shared see [[User:Persian Poet Gal/Unblock|this page]] to help lift this block"><block flags="anononly,nocreate" duration="1 month" />

It would be useful if it provided the block expiry time (inside the <block/> element) rather than having to work it out from the timestamp and duration fields.


Version: unspecified
Severity: enhancement

Details

Reference
bz16541

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:27 PM
bzimport set Reference to bz16541.