(bug 27587) list=filearchive now outputs full title info

This commit is contained in:
Bryan Tong Minh 2011-03-05 15:00:23 +00:00
parent 4746a63313
commit 51b0552b75
2 changed files with 2 additions and 0 deletions

View 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 ===

View 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 );