logevents query returns zeros for logid & pageid
Closed, ResolvedPublic

Description

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)


Version: unspecified
Severity: enhancement

bzimport added a project: MediaWiki-API.Via ConduitNov 21 2014, 9:49 PM
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz10660.
Yurik created this task.Via LegacyJul 22 2007, 8:16 PM
bzimport added a comment.Via ConduitJul 22 2007, 8:59 PM

robchur wrote:

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.

bzimport added a comment.Via ConduitJul 23 2007, 1:03 AM

robchur wrote:

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.

Catrope added a comment.Via ConduitFeb 23 2008, 9:48 PM

(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?

brion added a comment.Via ConduitFeb 27 2008, 9:55 PM

No. No rush on it, as it doesn't look like a particularly pleasant operation.

Catrope added a comment.Via ConduitMay 14 2008, 8:34 AM

Fixed by Aaron in r34767

Add Comment