From 7715a9a6b7b158c70ea0c42fc56b334f136949d6 Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Wed, 21 May 2008 13:03:07 +0000 Subject: [PATCH] Add descriptionurl to imageinfo --- includes/api/ApiQueryImageInfo.php | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.20.1