Last modified: 2008-05-14 08:34:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T12660, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10660 - logevents query returns zeros for logid & pageid
logevents query returns zeros for logid & pageid
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-07-22 20:16 UTC by Yuri Astrakhan
Modified: 2008-05-14 08:34 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Yuri Astrakhan 2007-07-22 20:16:52 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)
Comment 1 Rob Church 2007-07-22 20:59:23 UTC
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.
Comment 2 Rob Church 2007-07-23 01:03:17 UTC
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.
Comment 3 Roan Kattouw 2008-02-23 21:48:05 UTC
(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?
Comment 4 Brion Vibber 2008-02-27 21:55:15 UTC
No. No rush on it, as it doesn't look like a particularly pleasant operation.
Comment 5 Roan Kattouw 2008-05-14 08:34:24 UTC
Fixed by Aaron in r34767

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links