Page MenuHomePhabricator

API showing internal error with ?action=query&meta=siteinfo&siprop=specialpagealiases&format=xmlfm
Closed, ResolvedPublic

Description

URL: https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=specialpagealiases&format=xmlfm

Current response:

<?xml version="1.0"?>
<api servedby="srv214">

<error code="internal_api_error_MWException" info="Exception Caught: Internal error in ApiResult::setIndexedTagName: Bad parameter" xml:space="preserve" />

</api>

Seems related to the format parameter (specifically XML). &format=json and &format=jsonfm both work fine.

Discovered by Fran McCrory.


Version: unspecified
Severity: normal

Details

Reference
bz38464

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:47 AM
bzimport set Reference to bz38464.
bzimport added a subscriber: Unknown Object (MLST).

Works in 1.20wmf6, Fails in 1.20wmf7

The problem was that some special pages don't have aliases. Correct fix in https://gerrit.wikimedia.org/r/16001.