Last modified: 2012-04-16 09:16:06 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 T33750, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31750 - No info about a self-redirected page is shown when it's queried with &redirects
No info about a self-redirected page is shown when it's queried with &redirects
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: documentation
  Show dependency treegraph
Reported: 2011-10-16 10:49 UTC by Liangent
Modified: 2012-04-16 09:16 UTC (History)
5 users (show)

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


Description Liangent 2011-10-16 10:49:10 UTC

A <pages> section is expected but it's not there.
Comment 1 Mark A. Hershberger 2011-10-18 17:20:54 UTC
I think the documentation at just needs to be updated.
Comment 2 Roan Kattouw 2011-10-25 15:19:04 UTC
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).

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