dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add descriptionurl to imageinfo
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryImageInfo.php
diff --git
a/includes/api/ApiQueryImageInfo.php
b/includes/api/ApiQueryImageInfo.php
index
7b372e8
..
505c560
100644
(file)
--- 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();