Last modified: 2008-07-27 14:05:07 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 11673 - Unknown_action error should return an error object
Unknown_action error should return an error object
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Yuri Astrakhan
: 14942 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2007-10-15 19:45 UTC by Russell Blau
Modified: 2008-07-27 14:05 UTC (History)
4 users (show)

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


Description Russell Blau 2007-10-15 19:45:16 UTC results in a text error message:

unknown_action: Unrecognised value for parameter 'action'

To be consistent with the treatment of other errors, it really should return a formatted response (in XML, or JSON, or whatever format has been selected) with an "error" attribute.
Comment 1 Daniel Cannon (AmiDaniel) 2007-10-26 05:12:49 UTC
Yes, it definitely should. I'm having a really hard time trying to diagnose this bug -- the code is clearly trying to produce a formatted message, but not succeeding for reasons unknown to me. Hopefully Yuri can figure it out better than I can :) Changing severity to "normal"--when a user requests an xml document and doesn't get one back, even if he specified an invalid parameter (or possibly a parameter that will be implemented in later versions, but hasn't been yet), that's a real problem, not a request for a trivial enhancement.
Comment 2 Bryan Tong Minh 2008-04-05 19:32:52 UTC
Fixed in r32824.
Comment 3 Bryan Tong Minh 2008-07-27 14:05:07 UTC
*** Bug 14942 has been marked as a duplicate of this bug. ***

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