Hi,

Is it possible to know through the API what is the maximum allowed size for an article on a given wiki ?
One of the task of my bot is to update maintenance pages with a list of pages containing some types of errors, and sometimes the produced list is bigger than the maximum allowed size for an article (2MB), so the API returns a "contenttoobig" error. Is it possible to know what the limit is before hitting it ?
Currently, I'm trimming the result progressively until the API stops complaining about the size...

Nico

https://en.wikipedia.org/wiki/Wikipedia:CHECKWIKI/WPC_002_dump