From 183851b06bd6c52f3cae5375f433da720d410447 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 11 Oct 2006 18:12:39 +0000 Subject: MediaWiki 1.7.1 wiederhergestellt --- maintenance/nukePage.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 maintenance/nukePage.php (limited to 'maintenance/nukePage.php') diff --git a/maintenance/nukePage.php b/maintenance/nukePage.php new file mode 100644 index 00000000..b5c3f283 --- /dev/null +++ b/maintenance/nukePage.php @@ -0,0 +1,30 @@ + + */ + +require_once( 'commandLine.inc' ); +require_once( 'nukePage.inc' ); + +echo( "Erase Page Record\n\n" ); + +if( isset( $args[0] ) ) { + NukePage( $args[0], true ); +} else { + ShowUsage(); +} + +/** Show script usage information */ +function ShowUsage() { + echo( "Remove a page record from the database.\n\n" ); + echo( "Usage: php nukePage.php \n\n" ); + echo( " <title> : Page title; spaces escaped with underscores\n\n" ); +} + +?> \ No newline at end of file -- cgit v1.2.3-54-g00ecf