Page MenuHomePhabricator

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

Description

http://zh.wikipedia.org/w/api.php?action=query&prop=info&titles=User:Liangent/moretest&redirects

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


Version: unspecified
Severity: normal

Details

Reference
bz31750
TitleReferenceAuthorSource BranchDest Branch
SecurityPolicyEnforcerAction: remove useless phlog()repos/phabricator/extensions!17aklapperT337500bringMeNoisewmf/stable
build: Rename 'test' job to clearer 'build-coverage-report'repos/abstract-wiki/wikifunctions/function-orchestrator!19jforresterT337504main
ManiphestGetTaskTransactionsConduitAPIMethod: remove bogus phlog()repos/phabricator/phabricator!8brennenwork/rm-transaction-phlogwmf/stable
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:51 PM
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).