From: Alexandre Emsenhuber Date: Sat, 3 Jan 2009 16:20:05 +0000 (+0000) Subject: (bug 16376) Mention in deleteBatch.php and moveBatch.php maintenance scripts that... X-Git-Tag: 1.31.0-rc.0~43580 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=c5db696ef4f19b6bdabb7d519dc949fbeceeedc2;p=lhc%2Fweb%2Fwiklou.git (bug 16376) Mention in deleteBatch.php and moveBatch.php maintenance scripts that STDIN can be used for page list --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index b5ceb1d162..db905326f9 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/maintenance/deleteBatch.php b/maintenance/deleteBatch.php index 092314e530..5aeea7816b 100644 --- a/maintenance/deleteBatch.php +++ b/maintenance/deleteBatch.php @@ -2,9 +2,10 @@ /** * Deletes a batch of pages - * Usage: php deleteBatch.php [-u ] [-r ] [-i ] + * Usage: php deleteBatch.php [-u ] [-r ] [-i ] [listfile] * where - * 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. * is the username * is the delete reason * is the number of seconds to sleep for after each delete diff --git a/maintenance/moveBatch.php b/maintenance/moveBatch.php index 52e6ddc62d..427e5d091d 100644 --- a/maintenance/moveBatch.php +++ b/maintenance/moveBatch.php @@ -7,10 +7,11 @@ * @ingroup Maintenance * @author Tim Starling * - * USAGE: php moveBatch.php [-u ] [-r ] [-i ] + * USAGE: php moveBatch.php [-u ] [-r ] [-i ] [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. * - username to perform moves as * - reason to be given for moves * - number of seconds to sleep after each move