Change default importImages comment to "Importing file"
authorReedy <reedy@wikimedia.org>
Sun, 28 Apr 2013 23:15:37 +0000 (00:15 +0100)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 12 May 2013 16:44:08 +0000 (16:44 +0000)
Change-Id: Id65de095d7d7b697092a369f429b9e3b171d3e38

maintenance/importImages.php

index 2b5d690..9b0a290 100644 (file)
@@ -104,7 +104,7 @@ if ( $limit ) {
 $timestamp = isset( $options['timestamp'] ) ? $options['timestamp'] : false;
 
 # Get the upload comment. Provide a default one in case there's no comment given.
-$comment = 'Importing image file';
+$comment = 'Importing file';
 
 if ( isset( $options['comment-file'] ) ) {
        $comment = file_get_contents( $options['comment-file'] );
@@ -347,7 +347,7 @@ Options:
 --sleep=<sec>           Sleep between files. Useful mostly for debugging.
 --user=<username>       Set username of uploader, default 'Maintenance script'
 --check-userblock       Check if the user got blocked during import.
---comment=<text>        Set file description, default 'Importing image file'.
+--comment=<text>        Set file description, default 'Importing file'.
 --comment-file=<file>   Set description to the content of <file>.
 --comment-ext=<ext>     Causes the description for each file to be loaded from a file with the same name
                         but the extension <ext>. If a global description is also given, it is appended.