r45372 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45371‎ | r45372 | r45373 >
Date:16:20, 3 January 2009
Author:ialex
Status:ok
Tags:
Comment:
(bug 16376) Mention in deleteBatch.php and moveBatch.php maintenance scripts that STDIN can be used for page list
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/maintenance/deleteBatch.php (modified) (history)
  • /trunk/phase3/maintenance/moveBatch.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/moveBatch.php
@@ -7,10 +7,11 @@
88 * @ingroup Maintenance
99 * @author Tim Starling
1010 *
11 - * USAGE: php moveBatch.php [-u <user>] [-r <reason>] [-i <interval>] <listfile>
 11+ * USAGE: php moveBatch.php [-u <user>] [-r <reason>] [-i <interval>] [listfile]
1212 *
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.
1516 * <user> - username to perform moves as
1617 * <reason> - reason to be given for moves
1718 * <interval> - number of seconds to sleep after each move
Index: trunk/phase3/maintenance/deleteBatch.php
@@ -2,9 +2,10 @@
33
44 /**
55 * 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]
77 * 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.
910 * <user> is the username
1011 * <reason> is the delete reason
1112 * <interval> is the number of seconds to sleep for after each delete
Index: trunk/phase3/RELEASE-NOTES
@@ -464,6 +464,8 @@
465465 * (bug 16786) Restored "redundant" links recently removed from Classic sidebar
466466 * (bug 16850) $wgActionPaths can have query strings now, previously, this broke
467467 local URLs
 468+* (bug 16376) Mention in deleteBatch.php and moveBatch.php maintenance scripts
 469+ that STDIN can be used for page list
468470
469471
470472 === API changes in 1.14 ===

Status & tagging log