(bug 27587) list=filearchive now outputs full title info
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Sat, 5 Mar 2011 15:00:23 +0000 (15:00 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Sat, 5 Mar 2011 15:00:23 +0000 (15:00 +0000)
RELEASE-NOTES
includes/api/ApiQueryFilearchive.php

index e705314..9b13ff7 100644 (file)
@@ -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 ===
 
index c7d6eec..914caed 100644 (file)
@@ -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 );