Index: trunk/phase3/maintenance/deleteBatch.php |
— | — | @@ -3,11 +3,10 @@ |
4 | 4 | # delete a batch of pages |
5 | 5 | # Usage: php deleteBatch.php [-u <user>] [-r <reason>] [-i <interval>] <listfile> |
6 | 6 | # where |
7 | | -# <listfile> is a file where each line has two titles separated by a pipe |
8 | | -# character. The first title is the source, the second is the destination. |
| 7 | +# <listfile> is a file where each line contains the title of a page to be deleted. |
9 | 8 | # <user> is the username |
10 | | -# <reason> is the move reason |
11 | | -# <interval> is the number of seconds to sleep for after each move |
| 9 | +# <reason> is the delete reason |
| 10 | +# <interval> is the number of seconds to sleep for after each delete |
12 | 11 | |
13 | 12 | $oldCwd = getcwd(); |
14 | 13 | $optionsWithArgs = array( 'u', 'r', 'i' ); |