Manual:$wgDeleteRevisionsLimit

Details
Once articles have this many revisions, the bigdelete right is required on top of the normal delete right.

On Wikimedia projects, it's usually set to 5000.