Last modified: 2008-12-04 15:59:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18541, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16541 - list=logevents doesn't give block expiry time
list=logevents doesn't give block expiry time
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-02 20:19 UTC by Gurch
Modified: 2008-12-04 15:59 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gurch 2008-12-02 20:19:25 UTC
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.
Comment 1 Roan Kattouw 2008-12-04 15:59:48 UTC
Fixed in r44234.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links