https://bugzilla.wikimedia.org/show_bug.cgi?id=17703
Summary: API error code and info values switched
Product: MediaWiki
Version: 1.15-svn
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
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"
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l