* 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:
parent
7c8d2c9f06
commit
224dfaeb33
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue