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/purgeOldText.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 maintenance/purgeOldText.php (limited to 'maintenance/purgeOldText.php') diff --git a/maintenance/purgeOldText.php b/maintenance/purgeOldText.php new file mode 100644 index 00000000..e8a738ad --- /dev/null +++ b/maintenance/purgeOldText.php @@ -0,0 +1,30 @@ + + */ + +$options = array( 'purge', 'help' ); +require_once( 'commandLine.inc' ); +require_once( 'purgeOldText.inc' ); + +echo( "Purge Old Text\n\n" ); + +if( @$options['help'] ) { + ShowUsage(); +} else { + PurgeRedundantText( @$options['purge'] ); +} + +function ShowUsage() { + echo( "Prunes unused text records from the database.\n\n" ); + echo( "Usage: php purgeOldText.php [--purge]\n\n" ); + echo( "purge : Performs the deletion\n" ); + echo( " help : Show this usage information\n" ); +} + +?> \ No newline at end of file -- cgit v1.2.3-54-g00ecf