Last modified: 2009-04-27 02:31:13 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 T19703, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17703 - API error code and info values switched
API error code and info values switched
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.15.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
:
: 17917 18602 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-27 14:23 UTC by Russell Blau
Modified: 2009-04-27 02:31 UTC (History)
5 users (show)

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


Attachments

Description Russell Blau 2009-02-27 14:23:48 UTC
When attempting to edit a protected page from a non-sysop account, I got the following JSON response:

{"error":
  {"code":"The ``protect'' right is required to edit this page",
   "info":"protectedpage"
  }
}

The "code" should be "protectedpage" and the "info" should be the string attached to "code"
Comment 1 Roan Kattouw 2009-02-27 14:28:29 UTC
Oops, fixed in r47861
Comment 2 Roan Kattouw 2009-03-11 14:04:29 UTC
*** Bug 17917 has been marked as a duplicate of this bug. ***
Comment 3 Chris 2009-04-27 02:31:13 UTC
*** Bug 18602 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.


Navigation
Links