r84995 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84994‎ | r84995 | r84996 >
Date:01:48, 30 March 2011
Author:bawolff
Status:ok
Tags:
Comment:
Fix minor typo that was in this branch from way back
Modified paths:
  • /branches/img_metadata/phase3/includes/api/ApiQueryImageInfo.php (modified) (history)

Diff [purge]

Index: branches/img_metadata/phase3/includes/api/ApiQueryImageInfo.php
@@ -267,6 +267,7 @@
268268 * @param $prop Array of properties to get (in the keys)
269269 * @param $result ApiResult object
270270 * @param $thumbParams Array containing 'width' and 'height' items, or null
 271+ * @param $version Version of image metadata (for things like jpeg which have different versions).
271272 * @return Array: result array
272273 */
273274 static function getInfo( $file, $prop, $result, $thumbParams = null, $version = 'latest' ) {
@@ -540,7 +541,7 @@
541542 'start' => 'Timestamp to start listing from',
542543 'end' => 'Timestamp to stop listing at',
543544 'metadataversion' => array( "Version of metadata to use. if 'latest' is specified, use latest version.",
544 - "Defaults to '1' for bacwards compatability" ),
 545+ "Defaults to '1' for backwards compatibility" ),
545546 'continue' => 'If the query response includes a continue value, use it here to get another page of results'
546547 );
547548 }

Status & tagging log