X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=thumb.php;h=bedf17151020cc6d276f98e74e4ffeed6cd0a988;hb=7afced64454ad30d688540f7626448ac2faefebb;hp=0925967867a08985f33c1b16876ed7dd1c0b238c;hpb=b7ce7aacb0fb6803d9135f465e9cf6b48912883e;p=lhc%2Fweb%2Fwiklou.git diff --git a/thumb.php b/thumb.php index 0925967867..bedf171510 100644 --- a/thumb.php +++ b/thumb.php @@ -36,7 +36,7 @@ if ( defined( 'THUMB_HANDLER' ) ) { wfThumbHandle404(); } else { // Called directly, use $_GET params - wfStreamThumb( $wgRequest->getQueryValues() ); + wfStreamThumb( $wgRequest->getQueryValuesOnly() ); } $mediawiki = new MediaWiki(); @@ -524,7 +524,7 @@ function wfGenerateThumbnail( File $file, array $params, $thumbName, $thumbPath * /w/images/thumb/a/ab/Foo.png/120px-Foo.png. The $thumbRel parameter * of this function would be set to "a/ab/Foo.png/120px-Foo.png". * This method is responsible for turning that into an array - * with the folowing keys: + * with the following keys: * * f => the filename (Foo.png) * * rel404 => the whole thing (a/ab/Foo.png/120px-Foo.png) * * archived => 1 (If the request is for an archived thumb)