4 * Delete arcived (deleted from public) revisions from the database
6 * @addtogroup Maintenance
8 * Shamelessly stolen from deleteOldRevisions.php by Rob Church :)
11 $options = array( 'delete', 'help' );
12 require_once( 'commandLine.inc' );
13 require_once( 'deleteArchivedRevisions.inc' );
15 echo( "Delete Archived Revisions\n\n" );
17 if( @$options['help'] ) {
20 DeleteArchivedRevisions( @$options['delete'] );
23 function ShowUsage() {
24 echo( "Deletes all archived revisions.\n\n" );
25 echo( "These revisions will no longer be restorable.\n\n" );
26 echo( "Usage: php deleteArchivedRevisions.php [--delete|--help]\n\n" );
27 echo( "delete : Performs the deletion\n" );
28 echo( " help : Show this usage information\n" );