* Removed thumb.php comment about ProofreadPage, page numbers are more general.

* Added ExtractThumbParameters hook handlers for ogg and tiff handler extensions.
This commit is contained in:
Aaron Schulz 2012-02-10 20:52:57 +00:00
parent 7c8d2c9f06
commit 224dfaeb33

View file

@ -271,7 +271,6 @@ function wfExtractThumbParams( $uri ) {
}
// Check if the parameters can be extracted from the thumbnail name...
// @TODO: remove 'page' stuff and make ProofreadPage handle it via hook.
if ( preg_match( '!^(page(\d*)-)*(\d*)px-[^/]*$!', $thumbname, $matches ) ) {
list( /* all */, $pagefull, $pagenum, $size ) = $matches;
$params['width'] = $size;