] [-e ] [-m ] [--dfn-only] [--new-only] [--redirects-only] php refreshLinks.php [] [-e ] [-m ] --old-redirects-only --help : This help message --dfn-only : Delete links from nonexistent articles only --new-only : Only affect articles with just a single edit --redirects-only : Only fix redirects, not all links --old-redirects-only : Only fix redirects with no redirect table entry -m : Maximum replication lag : First page id to refresh -e : Last page id to refresh TEXT; exit(0); } error_reporting( E_ALL & (~E_NOTICE) ); if ( !$options['dfn-only'] ) { if ( isset( $args[0] ) ) { $start = (int)$args[0]; } else { $start = 1; } refreshLinks( $start, $options['new-only'], $options['m'], $options['e'], $options['redirects-only'], $options['old-redirects-only'] ); } // this bit's bad for replication: disabling temporarily // --brion 2005-07-16 //deleteLinksFromNonexistent(); if ( $options['globals'] ) { print_r( $GLOBALS ); }