Index: trunk/phase3/maintenance/moveBatch.php |
— | — | @@ -7,10 +7,11 @@ |
8 | 8 | * @ingroup Maintenance |
9 | 9 | * @author Tim Starling |
10 | 10 | * |
11 | | - * USAGE: php moveBatch.php [-u <user>] [-r <reason>] [-i <interval>] <listfile> |
| 11 | + * USAGE: php moveBatch.php [-u <user>] [-r <reason>] [-i <interval>] [listfile] |
12 | 12 | * |
13 | | - * <listfile> - file with two titles per line, separated with pipe characters; |
14 | | - * the first title is the source, the second is the destination |
| 13 | + * [listfile] - file with two titles per line, separated with pipe characters; |
| 14 | + * the first title is the source, the second is the destination. |
| 15 | + * Standard input is used if listfile is not given. |
15 | 16 | * <user> - username to perform moves as |
16 | 17 | * <reason> - reason to be given for moves |
17 | 18 | * <interval> - number of seconds to sleep after each move |
Index: trunk/phase3/maintenance/deleteBatch.php |
— | — | @@ -2,9 +2,10 @@ |
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Deletes a batch of pages |
6 | | - * Usage: php deleteBatch.php [-u <user>] [-r <reason>] [-i <interval>] <listfile> |
| 6 | + * Usage: php deleteBatch.php [-u <user>] [-r <reason>] [-i <interval>] [listfile] |
7 | 7 | * where |
8 | | - * <listfile> is a file where each line contains the title of a page to be deleted. |
| 8 | + * [listfile] is a file where each line contains the title of a page to be |
| 9 | + * deleted, standard input is used if listfile is not given. |
9 | 10 | * <user> is the username |
10 | 11 | * <reason> is the delete reason |
11 | 12 | * <interval> is the number of seconds to sleep for after each delete |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -464,6 +464,8 @@ |
465 | 465 | * (bug 16786) Restored "redundant" links recently removed from Classic sidebar |
466 | 466 | * (bug 16850) $wgActionPaths can have query strings now, previously, this broke |
467 | 467 | local URLs |
| 468 | +* (bug 16376) Mention in deleteBatch.php and moveBatch.php maintenance scripts |
| 469 | + that STDIN can be used for page list |
468 | 470 | |
469 | 471 | |
470 | 472 | === API changes in 1.14 === |