Last modified: 2008-10-07 18:24:20 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 T17881, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15881 - Empty multivalue paramters should fall back to default value
Empty multivalue paramters should fall back to default value
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.14.x
All All
: Normal minor (vote)
: ---
Assigned To: Roan Kattouw
http://en.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-07 15:52 UTC by P.Copp
Modified: 2008-10-07 18:24 UTC (History)
3 users (show)

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


Attachments

Description P.Copp 2008-10-07 15:52:54 UTC
As of now, queries like the above with empty, or like http://en.wikipedia.org/w/api.php?action=query&list=recentchanges&rcnamespace=foo with only invalid multivalue parameters cause an MW-exception in most list= modules.

A way to handle that would perhaps be to fall back to the default value or to throw an appropriate api error.
Comment 1 Roan Kattouw 2008-10-07 18:24:20 UTC
Fixed in r41814.

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


Navigation
Links