From 086ae52d12011746a75f5588e877347bc0457352 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 21 Mar 2008 11:49:34 +0100 Subject: Update auf MediaWiki 1.12.0 --- maintenance/refreshLinks.php | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'maintenance/refreshLinks.php') diff --git a/maintenance/refreshLinks.php b/maintenance/refreshLinks.php index 34ca53c5..67fb77ae 100644 --- a/maintenance/refreshLinks.php +++ b/maintenance/refreshLinks.php @@ -1,18 +1,32 @@ ] [-e ] [-m ] [--help] + + --help : This help message + --dfn-only : Delete links from nonexistent articles only + -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 ($args[0]) { + if ( isset( $args[0] ) ) { $start = (int)$args[0]; } else { $start = 1; -- cgit v1.2.3-54-g00ecf