Last modified: 2008-05-14 08:34:24 UTC
From [[mw:Talk:API:Query - Lists]]: The response XML always returns 'logid="0"' [[user_talk:jldupont|Jean-Lou Dupont]] 21:08, 19 July 2007 (UTC) Example: http://en.wikipedia.org/w/api.php?action=query&list=logevents (logid & pageid are 0)
Returning log_id to be zero is correct, since at the moment, we're faking the column until it's live on Wikimedia. Not sure what's causing the page_id to be zero, but I imagine it could have been an oversight leading to regression when I worked around the absence of log_id.
The page_id value is correct where applicable, i.e. where the log item corresponds to a title that exists. In general, page_id is of limited use when inspecting logs. The correct log_id values can be returned when log_id is live on Wikimedia, as previously noted.
(In reply to comment #1) > Returning log_id to be zero is correct, since at the moment, we're faking the > column until it's live on Wikimedia. Has this happened yet? If not, when will it happen?
No. No rush on it, as it doesn't look like a particularly pleasant operation.
Fixed by Aaron in r34767