r82477 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82476‎ | r82477 | r82478 >
Date:19:52, 19 February 2011
Author:reedy
Status:resolved (Comments)
Tags:
Comment:
* (bug 27554) Update api information text to reflect change in bug 26125
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryImageInfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryImageInfo.php
@@ -462,7 +462,7 @@
463463 ' comment - Comment on the version',
464464 ' parsedcomment - Parse the comment on the version',
465465 ' url - Gives URL to the image and the description page',
466 - ' size - Adds the size of the image in bytes and the height and width',
 466+ ' size - Adds the size of the image in bytes and the height, width and page count (if applicable)',
467467 ' dimensions - Alias for size',
468468 ' sha1 - Adds SHA-1 hash for the image',
469469 ' mime - Adds MIME type of the image',
Index: trunk/phase3/RELEASE-NOTES
@@ -175,6 +175,7 @@
176176 max value, api doesn't validate the input is actually an integer
177177 * (bug 27479) API error when using both prop=pageprops and
178178 prop=info&inprop=displaytitle
 179+* (bug 27554) Update api information text to reflect change in bug 26125
179180
180181 === Languages updated in 1.18 ===
181182

Follow-up revisions

RevisionCommit summaryAuthorDate
r82508Per comment on r82477, update output for prop=statimageinforeedy13:50, 20 February 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77364(bug 26125) prop=imageinfo&iiprop=size now returns the page count if the file...btongminh18:51, 27 November 2010

Comments

#Comment by Duplicatebug (talk | contribs)   13:41, 20 February 2011

Please also update api information for prop=stashimageinfo. Thanks.

#Comment by Reedy (talk | contribs)   22:17, 16 March 2011

Looks like it's done..? :/

#Comment by Duplicatebug (talk | contribs)   19:52, 18 March 2011

Looking at the wrong revision? r83862 has no api information for page count.

#Comment by Reedy (talk | contribs)   19:54, 18 March 2011

FileArchive != StashImageInfo

Status & tagging log