Pages with a large number of revisions are now deleted in batches of them since {T198176}. However API returns an error when the deletion is scheduled successfully.
```on pywikibot delete.py
pywikibot.data.api.APIError: delete-scheduled: The page "Викивести:Време/Европа/Босна и Херцеговина/Бања Лука/ветар правац" is scheduled for deletion. Please be patient. [help:See https://sr.wikinews.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes.]
<class 'pywikibot.data.api.APIError'>
CRITICAL: Closing network session.
```
```on APISandbox
{
"error": {
"code": "delete-scheduled",
"info": "The page \"\u0412\u0438\u043a\u0438\u0432\u0435\u0441\u0442\u0438:\u0412\u0440\u0435\u043c\u0435/\u0415\u0432\u0440\u043e\u043f\u0430/\u0421\u0440\u0431\u0438\u0458\u0430/\u0412\u0435\u043b\u0438\u043a\u043e \u0413\u0440\u0430\u0434\u0438\u0448\u0442\u0435/\u0443\u0441\u043b\u043e\u0432\u0438\" is scheduled for deletion. Please be patient.",
"*": "See https://sr.wikinews.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."
},
"servedby": "mw1341"
}
```