* Removed thumb.php comment about ProofreadPage, page numbers are more general.
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 10 Feb 2012 20:52:57 +0000 (20:52 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 10 Feb 2012 20:52:57 +0000 (20:52 +0000)
* Added ExtractThumbParameters hook handlers for ogg and tiff handler extensions.

thumb.php

index 1d2a576..60a7ffb 100644 (file)
--- a/thumb.php
+++ b/thumb.php
@@ -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;