Manual:DeleteArchivedFiles.php

Deletes all archived files. Information about these files is stored in the filearchive table. This script allows to delete the actual files from the filesystem - if used without --force, it does however keep the entries in the aformentioned table.

In MediaWiki 1.16, the helper file deleteArchivedFiles.inc, which contained the class that performs the work, was merged into deleteArchivedFiles.php. This was split back out again in MediaWiki 1.17.