Last modified: 2011-03-13 18:06:23 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 T22764, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20764 - Page moves show up in watchlist with revid 0 when using API
Page moves show up in watchlist with revid 0 when using API
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.16.x
All All
: Lowest normal (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-22 13:33 UTC by Svick
Modified: 2011-03-13 18:06 UTC (History)
4 users (show)

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


Attachments

Description Svick 2009-09-22 13:33:55 UTC
When I look at my watchlist using the API, all page moves have revid=0 instead of the correct one.

Example: I use URL http://en.wikipedia.org/w/api.php?format=xml&action=query&list=watchlist&wlallrev&wlprop=ids|title|flags|user|comment|timestamp and one of the entries is

<item pageid="24430549" revid="0" ns="10" title="Template:PhysicsNavigation" user="Gary King" timestamp="2009-09-22T05:02:09Z" comment=""/>

The correct revid in this case should be 315444412.
Comment 1 Roan Kattouw 2009-09-22 14:06:51 UTC
This is because the watchlist is based on the recentchanges table, in which moves are stored as log events rather than as revisions, which is why they have a logid but no revid. I agree that the two should be linked more tightly, but that's a different bug.

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


Navigation
Links