https://bugzilla.wikimedia.org/show_bug.cgi?id=50981

--- Comment #1 from Brad Jorsch <[email protected]> ---
ApiQueryQueryPage just uses the "namespace", "title", and "value" columns from
the QueryPage, which are also all that is stored in the querycache table.

Special:Listredirects either (if not cached) loads extra columns or (if cached)
does additional database queries in its formatResult() method, which the API
module has no way of knowing about.

At the moment, your best bet is to use
action=query&list=allpages&apfilterredir=redirects to get a list of redirects,
and then make a second call to action=query&redirects=1&pageids=... (specifying
all the pageids from the first query, no prop module need be specified) to get
the targets.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to