Manual:DeleteBatch.php

deleteBatch.php is a maint-script>Special:MyLanguage/Manual:Maintenance scripts|maintenance script located in the maintenance directory that can be used to delete a batch of pages.

Usage
(This will delete the pages contained in the text file "somepages.txt")

On a wiki farm with linked folders, change to folder containing LocalSettings.php and use: