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: roan.katt...@home.nl ReportedBy: russb...@hotmail.com CC: bryan.tongm...@gmail.com, vasi...@gmail.com 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l