From: Bryan Tong Minh Date: Sat, 5 Mar 2011 15:00:23 +0000 (+0000) Subject: (bug 27587) list=filearchive now outputs full title info X-Git-Tag: 1.31.0-rc.0~31637 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=51b0552b75f6c972c4aa8f8e82df4c4278bbc562;p=lhc%2Fweb%2Fwiklou.git (bug 27587) list=filearchive now outputs full title info --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index e705314ac3..9b13ff7d33 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -205,6 +205,7 @@ PHP if you have not done so prior to upgrading MediaWiki. * (bug 27715) imageinfo didn't respect revdelete * (bug 27862) Useremail module didn't properly return success on success. * (bug 27590) prop=imageinfo now allows querying the media type +* (bug 27587) list=filearchive now outputs full title info === Languages updated in 1.18 === diff --git a/includes/api/ApiQueryFilearchive.php b/includes/api/ApiQueryFilearchive.php index c7d6eecefc..914caed249 100644 --- a/includes/api/ApiQueryFilearchive.php +++ b/includes/api/ApiQueryFilearchive.php @@ -132,6 +132,7 @@ class ApiQueryFilearchive extends ApiQueryBase { $file = array(); $file['name'] = $row->fa_name; + self::addTitleInfo( $file, Title::makeTitle( NS_FILE, $row->fa_name ) ); if ( $fld_sha1 ) { $file['sha1'] = wfBaseConvert( $row->fa_storage_key, 36, 16, 40 );