Author: matthew.britton
Description:
In the recent changes API, with everything that can possibly appear in 'rcprop' set (user|comment|flags|timestamp|title|ids|sizes|redirect|patrolled), items of type="log" appear as in the following example:
<rc type="log" ns="2" title="User:75.67.179.152" rcid="242233392" pageid="0" revid="0" old_revid="0" user="LessHeard vanU" oldlen="0" newlen="0" timestamp="2008-09-05T22:08:27Z" comment="[[WP:Disruptive editing|Disruptive editing]]: return to vandalism that incurred previous blocks" patrolled="" />
There is no field for the type of action! The only way I can tell that this is a block is from the edit summary; if there was no summary supplied, I wouldn't know whether it was a block, deletion, protection or something else, and the API is meant for machines, which are not clever enough to infer the meaning of an edit summary.
Version: unspecified
Severity: enhancement