dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c8d2c9
)
* Removed thumb.php comment about ProofreadPage, page numbers are more general.
author
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 10 Feb 2012 20:52:57 +0000
(20:52 +0000)
committer
Aaron 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
patch
|
blob
|
history
diff --git
a/thumb.php
b/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;