* (bug 17472) use print <<<EOF in maintenance/importTextFile.php. Patch contribute...
[lhc/web/wiklou.git] / maintenance / moveBatch.php
index 058652d..427e5d0 100644 (file)
@@ -3,13 +3,15 @@
 /**
  * Maintenance script to move a batch of pages
  *
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
  * @author Tim Starling
  *
- * USAGE: php moveBatch.php [-u <user>] [-r <reason>] [-i <interval>] <listfile>
+ * USAGE: php moveBatch.php [-u <user>] [-r <reason>] [-i <interval>] [listfile]
  *
- * <listfile> - file with two titles per line, separated with pipe characters;
- * the first title is the source, the second is the destination
+ * [listfile] - file with two titles per line, separated with pipe characters;
+ * the first title is the source, the second is the destination.
+ * Standard input is used if listfile is not given.
  * <user> - username to perform moves as
  * <reason> - reason to be given for moves
  * <interval> - number of seconds to sleep after each move
@@ -91,4 +93,4 @@ for ( $linenum = 1; !feof( $file ); $linenum++ ) {
 }
 
 
-?>
+