* (bug 2581, bug 6834) Added links to thumbnail in several resolutions to the
file description page. The sizes are set by $wgImageLimits.
* (bug 28031) Add pageCount support to ArchivedFile
-
+
=== Bug fixes in 1.18 ===
* (bug 23119) WikiError class and subclasses are now marked as deprecated
* (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
* (bug 27020) API: Allow title prefix search of logevents (only when not in
miser mode)
* (bug 26629) add Special:MIMESearch to api
+* (bug 27585) add pagecount to list=filearchive
=== Languages updated in 1.18 ===
}
if ( $fld_size ) {
$file['size'] = $row->fa_size;
+
+ $pageCount = ArchivedFile::newFromRow( $row )->pageCount();
+ if ( $pageCount !== false ) {
+ $vals['pagecount'] = $pageCount;
+ }
}
if ( $fld_dimensions ) {
$file['height'] = $row->fa_height;