jenkins-bot has submitted this change and it was merged.

Change subject: Update limit/urlwidth param doc of prop=imageinfo
......................................................................


Update limit/urlwidth param doc of prop=imageinfo

Follow up Id0ec6a and to clarify things like bug 46782

Change-Id: I2215d022a47cd8ceeadd2f5d38064495f3197772
---
M includes/api/ApiQueryImageInfo.php
1 file changed, 3 insertions(+), 2 deletions(-)

Approvals:
  Anomie: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/api/ApiQueryImageInfo.php 
b/includes/api/ApiQueryImageInfo.php
index 87bdbfe..0869cb9 100644
--- a/includes/api/ApiQueryImageInfo.php
+++ b/includes/api/ApiQueryImageInfo.php
@@ -569,11 +569,12 @@
                return array(
                        'prop' => self::getPropertyDescriptions( array(), $p ),
                        'urlwidth' => array( "If {$p}prop=url is set, a URL to 
an image scaled to this width will be returned.",
-                                               'Only the current version of 
the image can be scaled' ),
+                               'For performance reasons if this option is 
used, ' .
+                                       'no more than ' . self::TRANSFORM_LIMIT 
. ' scaled images will be returned.' ),
                        'urlheight' => "Similar to {$p}urlwidth. Cannot be used 
without {$p}urlwidth",
                        'urlparam' => array( "A handler specific parameter 
string. For example, pdf's ",
                                "might use 'page15-100px'. {$p}urlwidth must be 
used and be consistent with {$p}urlparam" ),
-                       'limit' => 'How many image revisions to return',
+                       'limit' => 'How many image revisions to return per 
image',
                        'start' => 'Timestamp to start listing from',
                        'end' => 'Timestamp to stop listing at',
                        'metadataversion' => array( "Version of metadata to 
use. if 'latest' is specified, use latest version.",

-- 
To view, visit https://gerrit.wikimedia.org/r/57268
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2215d022a47cd8ceeadd2f5d38064495f3197772
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: Umherirrender <[email protected]>
Gerrit-Reviewer: Yurik <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to