Page MenuHomePhabricator

Page with less than 5,000 revisions can't be deleted
Closed, ResolvedPublic


Trying to delete

gives an error


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?

Version: 1.24rc
Severity: normal
See Also:



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:30 AM
bzimport set Reference to bz69556.

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:

But it needs more love.

gerritadmin wrote:

Change 131264 had a related patch set uploaded by Hoo man:
Don't estimate the revision count for page deletions

gerritadmin wrote:

Change 131264 merged by jenkins-bot:
Don't estimate the revision count for page deletions