Manual:DeleteOldRevisions.php

A script.