The Mediawiki API action=query supports a max pilimit value of 50.
{
"batchcomplete": "",
"warnings": {
"pageimages": {
"*": "\"pilimit\" may not be over 50 (set to 100) for users."
}
}
}In this situation I believe the API will simply truncate results after the fiftieth.