Page MenuHomePhabricator

API no longer provides a watchlist
Closed, ResolvedPublic

Description

Author: paolo

Description:
Up to few days ago, it was possible to retrive the watchlist via the
action=query and list=watchlist parameters of api.php. This no longer works, and
this feature is not even mentioned in the help screen. I checked the API code on
svn, but it seems to me that no significant change has been done recently.


Version: unspecified
Severity: normal
OS: Linux
Platform: PC
URL: http://en.wikipedia.org/w/api.php?format=xml&action=query&list=watchlist

Details

Reference
bz9482

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:38 PM
bzimport set Reference to bz9482.
bzimport added a subscriber: Unknown Object (MLST).

ais523 wrote:

action=feedwatchlist appears to no longer work or appear on the help screen
either.

robchur wrote:

Appears to work fine in trunk as of r21103...

paolo wrote:

Here is an answer I got from http://meta.wikimedia.org/wiki/Talk:API a couple
of days ago: "Domas removed it because it "failed to conform to db standards"
and advised developers to "just use Special:Watchlist", which sucks, but sobeit.
Unless it is completely rewritten to conform to db standards (not use the master
db, but instead use that dedicated to watchlists, etc.), it will be gone."

I have committed the change to select 'watchlist' database pool for all watchlist queries. A root needs to validate and change the server settings.