On Fri, Mar 4, 2011 at 8:09 AM, <richardcavell(a)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.