On Fri, Mar 4, 2011 at 8:09 AM, <richardcav...@mail.com> wrote: > 2. How do I best test for an API Error? Should I search the header > for "MediaWiki-API-Error:" and use the rest of the string as the code? > Or should I test the body? I'm working in XML. > They should be identical, so it should not matter.
_______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api