Last modified: 2014-08-19 15:09:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T71556, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69556 - Page with less than 5,000 revisions can't be deleted
Page with less than 5,000 revisions can't be deleted
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page deletion (Other open bugs)
1.24rc
All All
: Normal normal (vote)
: 1.24.0 release
Assigned To: Marius Hoch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-14 18:26 UTC by Marios Magioladitis
Modified: 2014-08-19 15:09 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Marios Magioladitis 2014-08-14 18:26:40 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?
Comment 1 Brad Jorsch 2014-08-14 18:36:28 UTC
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.
Comment 2 Marius Hoch 2014-08-14 18:38:19 UTC
I have worked on this very briefly: https://gerrit.wikimedia.org/r/131264

But it needs more love.
Comment 3 Gerrit Notification Bot 2014-08-17 04:31:18 UTC
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
Comment 4 Gerrit Notification Bot 2014-08-19 15:03:05 UTC
Change 131264 merged by jenkins-bot:
Don't estimate the revision count for page deletions

https://gerrit.wikimedia.org/r/131264

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links