Thread:Project:Support desk/Limit number of page revisions/reply (3)

If Manual:deleteOldRevisions.php does not tell that there would be a switch to check the number of revisions to be left, than such an option most likely is not present. However, you can open the file deleteOldRevisions.php with a text editor and check, if it has such an option (which only was forgotten to document) anyway.

Another possibility would be to write the code for such an option yourself and to hand it to a MediaWiki developer for integration in future releases or to create an issue in the bugtracker so that someone else might write the code.