* Preventing the TOC from appearing in Special:Statistics
* (bug 11082) Fix check for fully-specced table names in Database::tableName
* (bug 11067) Fix regression in upload conflict thumbnail display
-* (bug 11072) Fix regression in API image history query
* (bug 10985) Resolved cached entries on Special:DoubleRedirects were being
supressed, breaking paging - now strikes out "fixed" results
* (bug 8393) <sup> and <sub> need to be preserved (without attributes) for
* Treat underscores as spaces for `aufrom` and `auprefix` parameters
* Added edit/delete/... token retrieval to prop=info
* Added meta=userinfo - logged-in user information, group membership, rights
+* (bug 11072) Fix regression in API image history query
+* (bug 11115) Adding SHA1 hash to imageinfo query
== Maintenance script changes since 1.10 ==
$fld_comment = isset($prop['comment']);
$fld_url = isset($prop['url']);
$fld_size = isset($prop['size']);
+ $fld_sha1 = isset($prop['sha1']);
$pageIds = $this->getPageSet()->getAllTitlesByNamespace();
if (!empty($pageIds[NS_IMAGE])) {
$vals['url'] = $isCur ? $img->getURL() : $img->getArchiveUrl($row["oi_archive_name"]);
if ($fld_comment)
$vals['comment'] = $row["{$prefix}_description"];
+
+ if ($fld_sha1)
+ $vals['sha1'] = wfBaseConvert($row["{$prefix}_sha1"], 36, 16, 40);
$data[] = $vals;
'comment',
'url',
'size',
+ 'sha1'
)
),
'history' => false,