r84260 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84259‎ | r84260 | r84261 >
Date:19:55, 18 March 2011
Author:reedy
Status:ok (Comments)
Tags:
Comment:
Followup r83862, add notation that page count will be added if appropriate
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryFilearchive.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryFilearchive.php
@@ -239,7 +239,7 @@
240240 ' sha1 - Adds SHA-1 hash for the image',
241241 ' timestamp - Adds timestamp for the uploaded version',
242242 ' user - Adds user who uploaded the image version',
243 - ' size - Adds the size of the image in bytes',
 243+ ' size - Adds the size of the image in bytes and the height, width and page count (if applicable)',
244244 ' dimensions - Adds the height and width of the image',
245245 ' description - Adds description the image version',
246246 ' mime - Adds MIME of the image',

Follow-up revisions

RevisionCommit summaryAuthorDate
r84261Followup r84260, normalise API behaviour, and fixup descriptionreedy20:30, 18 March 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r83862* (bug 27585) add pagecount to list=filearchivereedy23:04, 13 March 2011

Comments

#Comment by Duplicatebug (talk | contribs)   20:23, 18 March 2011

height and width are with faprop=dimensions, not with faprop=size. You can change dimensions to an alias for size (like the modules allimages, imageinfo and stashimageinfo).

Status & tagging log