Last modified: 2008-03-18 15:18:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13390 - invalid title should not kill entire api query
invalid title should not kill entire api query
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
Depends on:
  Show dependency treegraph
Reported: 2008-03-16 13:20 UTC by CBM
Modified: 2008-03-18 15:18 UTC (History)
1 user (show)

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


Description CBM 2008-03-16 13:20:46 UTC
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).
Comment 1 Roan Kattouw 2008-03-18 15:18:33 UTC
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" />

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