(bug 16376) Mention in deleteBatch.php and moveBatch.php maintenance scripts that...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 3 Jan 2009 16:20:05 +0000 (16:20 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 3 Jan 2009 16:20:05 +0000 (16:20 +0000)
RELEASE-NOTES
maintenance/deleteBatch.php
maintenance/moveBatch.php

index b5ceb1d..db90532 100644 (file)
@@ -464,6 +464,8 @@ The following extensions are migrated into MediaWiki 1.14:
 * (bug 16786) Restored "redundant" links recently removed from Classic sidebar
 * (bug 16850) $wgActionPaths can have query strings now, previously, this broke
   local URLs
+* (bug 16376) Mention in deleteBatch.php and moveBatch.php maintenance scripts
+  that STDIN can be used for page list
 
 
 === API changes in 1.14 ===
index 092314e..5aeea78 100644 (file)
@@ -2,9 +2,10 @@
 
 /**
  * Deletes a batch of pages
- * Usage: php deleteBatch.php [-u <user>] [-r <reason>] [-i <interval>] <listfile>
+ * Usage: php deleteBatch.php [-u <user>] [-r <reason>] [-i <interval>] [listfile]
  * where
- *     <listfile> is a file where each line contains the title of a page to be deleted.
+ *     [listfile] is a file where each line contains the title of a page to be
+ *             deleted, standard input is used if listfile is not given.
  *     <user> is the username
  *     <reason> is the delete reason
  *     <interval> is the number of seconds to sleep for after each delete
index 52e6ddc..427e5d0 100644 (file)
@@ -7,10 +7,11 @@
  * @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