Manual:NukePage.php

NukePage.php is MediaWiki maintenance script that erases a page record from the database irreversibly (you cannot use standard undelete functions to restore it).

The script does not update link tables, which means that links to and from that page will still be present in Special:WhatLinksHere queries, for example.

Parameters

 * title=pagetitle: pagetitle is the title of the page you want to delete. Include the namespace and use underscores instead of spaces.
 * delete: Use this option to actually delete the page. Otherwise it will just print out if the page was found or not, but won't perform any deletion.