X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryImageInfo.php;h=505c560882ecbb2350c8b1651e2fe3b13cc4a134;hb=7715a9a6b7b158c70ea0c42fc56b334f136949d6;hp=7b372e822c1251b321310135bfc8a3774cfc7f16;hpb=0a1bebd1904dcf4b2d4de6c3a8b134422aab3673;p=lhc%2Fweb%2Fwiklou.git 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();