From: Reedy Date: Sun, 28 Apr 2013 23:15:37 +0000 (+0100) Subject: Change default importImages comment to "Importing file" X-Git-Tag: 1.31.0-rc.0~19700 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=7ecfdfd921e929d649c9dfee89f02bb2cee61bcb;p=lhc%2Fweb%2Fwiklou.git Change default importImages comment to "Importing file" Change-Id: Id65de095d7d7b697092a369f429b9e3b171d3e38 --- diff --git a/maintenance/importImages.php b/maintenance/importImages.php index 2b5d690136..9b0a290676 100644 --- a/maintenance/importImages.php +++ b/maintenance/importImages.php @@ -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= Sleep between files. Useful mostly for debugging. --user= Set username of uploader, default 'Maintenance script' --check-userblock Check if the user got blocked during import. ---comment= Set file description, default 'Importing image file'. +--comment= Set file description, default 'Importing file'. --comment-file= Set description to the content of . --comment-ext= Causes the description for each file to be loaded from a file with the same name but the extension . If a global description is also given, it is appended.