pageid is the current page id (if any) of the title that's associated with the event. When the page is deleted, the pageid will be 0 unless the page is undeleted or a new page is created or moved to the title.
On Mon, Jul 21, 2014 at 7:55 AM, Liu Chenheng <liuchenheng@gmail.com> wrote:
_______________________________________________Hi all,
I found that in the "Delete/Restore Page/Revision" recent change updates, not all of them have page id, sometimes the page id equals to 0. Is it expected or just a bug? If it's expected, can you tell me that what kind of operations will cause the "0 page id" update?
For example:page id = 0:
<rc type="log" ns="0" title="CHE-YOUTH ORGANISATION" rcid="603071797" pageid="0" revid="0" old_revid="0" user="Alexf" oldlen="0" newlen="0" timestamp="2013-09-17T15:39:14Z" comment="Multiple reasons: speedy deletion criteria [[WP:A7|A7]], [[WP:G11|G11]]" logid="51077039" logtype="delete" logaction="delete"/>
page id != 0:RESTORE PAGE<rc type="log" ns="0" title="Willans" pageid="43303661" revid="0" old_revid="0" rcid="668919167" user="Anthony Appleyard" oldlen="0" newlen="0" timestamp="2014-07-15T05:10:23Z" comment="7 revisions restored" logid="57582944" logtype="delete" logaction="restore"/>DELETE PAGE<rc type="log" ns="0" title="Waterline Plumbing" pageid="43303560" revid="0" old_revid="0" rcid="668917805" user="MER-C" oldlen="0" newlen="0" timestamp="2014-07-15T04:54:05Z" comment="[[WP:CSD#G11|G11]]: Unambiguous [[WP:NOTADVERTISING|advertising]] or promotion" logid="57582772" logtype="delete" logaction="delete"/>DELETE REVISION<rc type="log" ns="0" title="Sywell Aerodrome" pageid="43516" revid="0" old_revid="0" rcid="668896726" user="Mike V" oldlen="0" newlen="0" timestamp="2014-07-15T00:55:22Z" comment="[[WP:RD1|RD1]]: Blatant copyright violations" logid="57579965" logtype="delete" logaction="revision"><param>revision</param><param>615401409,615401374,615401262,615401089</param><param>ofield=0</param><param>nfield=1</param></rc>
Thanks,
Ethan Liu
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
--
Brad Jorsch (Anomie)
Software Engineer
Wikimedia Foundation
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api