On Jan 5, 2014 5:59 AM, "Liu Chenheng" <liuchenheng(a)gmail.com> wrote:
Hi, All,
I found in some of the UPLOAD update, there is no page id:
<rc type="log" ns="6" title="File:Lucian A. Sperta-
Nunez.jpg" rcid="114549183" pageid="0" revid="0"
old_revid="0"
user="Azarel63"oldlen="0" newlen="0"
timestamp="2014-01-05T11:09:38Z"
comment="User
created page with
UploadWizard" logid="77242320"
logtype="upload"logaction="upload"
img_sha1="sf9t03wg27tl73nnde3jzfuxncefux9"
img_timestamp="2014-01-05T11:09:36Z"/>
<rc type="log" ns="6" title="File:Gingerbread spices
(annotated).jpg" rcid="114549185" pageid="30485540"
revid="0"
old_revid="0"user="SKopp" oldlen="0" newlen="0"
timestamp="2014-01-05T11:09:37Z" comment="User
created page with
UploadWizard" logid="77242318"logtype="upload"
logaction="upload"
img_sha1="q84abqjr2n4bmn7o6j4uovpl5ufs2gq"
img_timestamp="2014-01-05T11:09:37Z"/>
The first one has no page id but the second one has.
Does anybody can tell me the differences?
Thanks,
Ethan Liu
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
There was a bug in older mw where upload log entry was made before page
creation, so it did not have the page id. So many older upload log entries
are like this if the page didnt exist prior to upload.
-bawolff