[Mediawiki-api] Documentation for <warnings> ?

Nicolas Vervelle nvervelle at numericable.fr
Thu Aug 14 17:24:12 UTC 2008


Hi,

The <error> tag is documented at http://www.mediawiki.org/wiki/API:Errors
I am looking the same kind of documentation for the <warnings> tag. Is 
there documentation about it ?

I have modified my tool to log messages in case of errors reported by 
the API, and I would like to do the same for warnings, but I'd like to 
be sure about the format.

For example, I received the following warning :
<api>
  <warnings>
    <ApiPageSet>
      Too many values supplied for parameter 'titles': the limit is 50
    </ApiPageSet>
  </warnings>
...

Is it always the same format : a code in a tag, and the description as 
text ?

TIA,
Nico



More information about the Mediawiki-api mailing list