(bug 27587) list=filearchive now outputs full title info
This commit is contained in:
parent
4746a63313
commit
51b0552b75
2 changed files with 2 additions and 0 deletions
|
|
@ -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 ===
|
||||
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue