editinterface to a new permission key editusercssjs.
* (bug 11266) Set fallback language for Fulfulde (ff) to French
* (bug 11179) Include image version deletion comment in public log
-* (bug 11158) Fix escaping in API HTML-formatted JSON
* Fixed notice when accessing special page without read permission and whitelist
is not defined
* (bug 9252) Fix for tidy funkiness when using editintro mode
Full API documentation is available at http://www.mediawiki.org/wiki/API
* (bug 11275) Enable descending sort in categorymembers
+* (bug 11308) Allow the API to output the image metadata
=== Languages updated in 1.12 ===
$fld_url = isset($prop['url']);
$fld_size = isset($prop['size']);
$fld_sha1 = isset($prop['sha1']);
+ $fld_metadata = isset($prop['metadata']);
$pageIds = $this->getPageSet()->getAllTitlesByNamespace();
if (!empty($pageIds[NS_IMAGE])) {
if ($fld_sha1)
$vals['sha1'] = wfBaseConvert($row["{$prefix}_sha1"], 36, 16, 40);
+
+ if ($fld_metadata) {
+ $metadata = unserialize($row["{$prefix}_metadata"]);
+ $vals['metadata'] = $metadata ? $metadata : null;
+ }
$data[] = $vals;
'comment',
'url',
'size',
- 'sha1'
+ 'sha1',
+ 'metadata'
)
),
'history' => false,