diff options
Diffstat (limited to 'maintenance/moveBatch.php')
-rw-r--r-- | maintenance/moveBatch.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/maintenance/moveBatch.php b/maintenance/moveBatch.php index 4b0abf7f..058652dc 100644 --- a/maintenance/moveBatch.php +++ b/maintenance/moveBatch.php @@ -3,8 +3,7 @@ /** * Maintenance script to move a batch of pages * - * @package MediaWiki - * @subpackage Maintenance + * @addtogroup Maintenance * @author Tim Starling * * USAGE: php moveBatch.php [-u <user>] [-r <reason>] [-i <interval>] <listfile> @@ -56,7 +55,7 @@ if ( !$file ) { exit; } -$dbw =& wfGetDB( DB_MASTER ); +$dbw = wfGetDB( DB_MASTER ); for ( $linenum = 1; !feof( $file ); $linenum++ ) { $line = fgets( $file ); |