Following T288759, the relevant logic was moved to DeletePage. An analysis of existing callers can be found at T288281, and I'm copying the conclusions here as well:
So the rough plan would be:
- Deprecate the code in question -- done in r714383 (1.37)
- Migrate callers of WikiPage::doDeleteArticleReal to use DeletePage. In particular, callers that already check permissions should use deleteIfAllowed, which does the permission checks for them and also checks for big deletions.
- Advertise the upcoming change to ApiQueryInfo (probably tech news)
- Remove the check