Make 'start' not required. As requested by ^demon on IRC...
authorHappy-melon <happy-melon@users.mediawiki.org>
Wed, 13 Jan 2010 18:28:31 +0000 (18:28 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Wed, 13 Jan 2010 18:28:31 +0000 (18:28 +0000)
maintenance/refreshLinks.php

index 5820d5b..863dd02 100644 (file)
@@ -30,7 +30,7 @@ class RefreshLinks extends Maintenance {
                $this->addOption( 'old-redirects-only', 'Only fix redirects with no redirect table entry' );
                $this->addOption( 'm', 'Maximum replication lag', false, true );
                $this->addOption( 'e', 'Last page id to refresh', false, true );
-               $this->addArg( 'start', 'Page_id to start from, default 1' );
+               $this->addArg( 'start', 'Page_id to start from, default 1', false );
                $this->setBatchSize( 100 );
        }