Index: trunk/phase3/maintenance/refreshLinks.php |
— | — | @@ -5,7 +5,7 @@ |
6 | 6 | */ |
7 | 7 | |
8 | 8 | /** */ |
9 | | -$optionsWithArgs = array( 'm', 'e' ); |
| 9 | +$optionsWithArgs = array('batch-size', 'm', 'e' ); |
10 | 10 | |
11 | 11 | require_once( "commandLine.inc" ); |
12 | 12 | require_once( "refreshLinks.inc" ); |
— | — | @@ -15,13 +15,13 @@ |
16 | 16 | Usage: |
17 | 17 | php refreshLinks.php --help |
18 | 18 | php refreshLinks.php [<start>] [-e <end>] [-m <maxlag>] [--dfn-only] |
19 | | - [--new-only] [--redirects-only] |
| 19 | + [--batch-size <size>] [--new-only] [--redirects-only] |
20 | 20 | php refreshLinks.php [<start>] [-e <end>] [-m <maxlag>] --old-redirects-only |
21 | 21 | |
22 | 22 | --help : This help message |
23 | 23 | --dfn-only : Delete links from nonexistent articles only |
24 | 24 | --batch-size <number> : The delete batch size when removing links from |
25 | | - nonexistent articles (default 100) |
| 25 | + nonexistent articles (defaults to 100) |
26 | 26 | --new-only : Only affect articles with just a single edit |
27 | 27 | --redirects-only : Only fix redirects, not all links |
28 | 28 | --old-redirects-only : Only fix redirects with no redirect table entry |