Last modified: 2014-08-19 15:09:59 UTC
Trying to delete https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/Sandbox gives an error https://en.wikipedia.org/w/index.php?title=Wikipedia:AutoWikiBrowser/Sandbox&action=delete while https://en.wikipedia.org/w/index.php?title=Wikipedia:AutoWikiBrowser/Sandbox&action=info shows Total number of edits: 3,254 which is less than 5,000. Anything to do with the fact the page was deleted and restored in the past perhaps?
Not an API bug. You're not even using the API there. The situation here is that the action=delete check is using a fast estimate for the revision count instead of actually counting. It may be that it could instead share the cache from action=info; I'll leave that determination to people more familiar with performance.
I have worked on this very briefly: https://gerrit.wikimedia.org/r/131264 But it needs more love.
Change 131264 had a related patch set uploaded by Hoo man: Don't estimate the revision count for page deletions https://gerrit.wikimedia.org/r/131264
Change 131264 merged by jenkins-bot: Don't estimate the revision count for page deletions https://gerrit.wikimedia.org/r/131264