invalid title should not kill entire api query
Closed, ResolvedPublic


Author: cbm.wikipedia

If an API query takes more than one title as a parameter, and a few of the titles that are passed are invalid, the data should still be returned for the titles that are valid, and error messages returned for the invalid ones. At present a single invalid title will make the query return only an error object (and, worse, it gives no indication of which title was invalid).

Version: unspecified
Severity: enhancement


bzimport set Reference to bz13390.
bzimport created this task.Mar 16 2008, 1:20 PM

Fixed in r32109. Example query:


<?xml version="1.0" encoding="utf-8"?>

    <n from="Main_Page" to="Main Page" />
    <page ns="0" title="Thisdoesntexist" missing="" />
    <page title="Talk:" invalid="" />
    <page pageid="54" ns="0" title="Main Page" touched="2008-03-14T12:50:11Z" lastrevid="464" counter="93" length="101" />


Add Comment