r17523 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r17522‎ | r17523 | r17524 >
Date:13:16, 10 November 2006
Author:werdna
Status:old
Tags:
Comment:
Fix documentation for deleteBatch.php; which appeared to be copied from moveBatch.php or similar
Modified paths:
  • /trunk/phase3/maintenance/deleteBatch.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/deleteBatch.php
@@ -3,11 +3,10 @@
44 # delete a batch of pages
55 # Usage: php deleteBatch.php [-u <user>] [-r <reason>] [-i <interval>] <listfile>
66 # 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.
98 # <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
1211
1312 $oldCwd = getcwd();
1413 $optionsWithArgs = array( 'u', 'r', 'i' );