4 * Erase a page record from the database
5 * Irreversible (can't use standard undelete) and does not update link tables
8 * @subpackage Maintenance
9 * @author Rob Church <robchur@gmail.com>
12 require_once( 'commandLine.inc' );
13 require_once( 'nukePage.inc' );
15 echo( "Erase Page Record\n\n" );
17 if( isset( $args[0] ) ) {
18 NukePage( $args[0], true );
23 /** Show script usage information */
24 function ShowUsage() {
25 echo( "Remove a page record from the database.\n\n" );
26 echo( "Usage: php nukePage.php <title>\n\n" );
27 echo( " <title> : Page title; spaces escaped with underscores\n\n" );