4 * @addtogroup Maintenance
8 $optionsWithArgs = array( 'm', 'e' );
9 require_once( "commandLine.inc" );
10 require_once( "refreshLinks.inc" );
12 error_reporting( E_ALL
& (~E_NOTICE
) );
14 if ( !$options['dfn-only'] ) {
16 $start = (int)$args[0];
21 refreshLinks( $start, $options['new-only'], $options['m'], $options['e'], $options['redirects-only'] );
23 // this bit's bad for replication: disabling temporarily
25 //deleteLinksFromNonexistent();
27 if ( $options['globals'] ) {