Last modified: 2010-05-15 15:54:54 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 T16942, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14942 - Returned API action error should be in XML
Returned API action error should be in XML
Status: RESOLVED DUPLICATE of bug 11673
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.12.x
All All
: Normal minor (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-27 09:13 UTC by Renate
Modified: 2010-05-15 15:54 UTC (History)
3 users (show)

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


Attachments

Description Renate 2008-07-27 09:13:14 UTC
Attempting to do a move with api.php?format=xml&action=move...
and $wgEnableWriteAPI at its default of false
returns an error in plain text (not HTML or XML)

unknown_action: Unrecognised value for parameter 'action'

If a separate error code is not in order can it at least do XML?
Could it parse the format parameter first and use it?

The same text error comes from api.php?format=xml&action=bogus.
Comment 1 Bryan Tong Minh 2008-07-27 14:05:07 UTC
Already fixed in 1.13 which is due very soon.

*** This bug has been marked as a duplicate of bug 11673 ***

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


Navigation
Links