From: Bryan Tong Minh Date: Wed, 21 May 2008 13:03:07 +0000 (+0000) Subject: Add descriptionurl to imageinfo X-Git-Tag: 1.31.0-rc.0~47494 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=7715a9a6b7b158c70ea0c42fc56b334f136949d6;p=lhc%2Fweb%2Fwiklou.git Add descriptionurl to imageinfo --- diff --git a/includes/api/ApiQueryImageInfo.php b/includes/api/ApiQueryImageInfo.php index 7b372e822c..505c560882 100644 --- a/includes/api/ApiQueryImageInfo.php +++ b/includes/api/ApiQueryImageInfo.php @@ -132,6 +132,7 @@ class ApiQueryImageInfo extends ApiQueryBase { } } $vals['url'] = $file->getFullURL(); + $vals['descriptionurl'] = wfExpandUrl( $file->getDescriptionUrl() ); } if( isset( $prop['comment'] ) ) $vals['comment'] = $file->getDescription();