Page MenuHomePhabricator

No info about a self-redirected page is shown when it's queried with &redirects
Closed, InvalidPublic


A <pages> section is expected but it's not there.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:51 PM
bzimport added a project: MediaWiki-API.
bzimport set Reference to bz31750.
bzimport added a subscriber: Unknown Object (MLST).

Yeah, this is not a bug, just a documentation issue. You've hit a special case of a redirect loop. When the API encounters a redirect loop, it gives up and doesn't output a <page> tag for the redirect target (because there *is* no redirect target in case of a loop).