X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=thumb.php;h=b973cc654bb72207c4466f2d1624f0ede0ba8f62;hb=26f977fcd614e9e98b537a443295e9f9af34583f;hp=bb37e6e7a2f0e676209fbf57d184bfec53927830;hpb=9f8228e6594fe883c4624c220f68e6b405d6b66d;p=lhc%2Fweb%2Fwiklou.git diff --git a/thumb.php b/thumb.php index bb37e6e7a2..b973cc654b 100644 --- a/thumb.php +++ b/thumb.php @@ -55,7 +55,7 @@ function wfThumbMain() { wfThumbError( 404, wfMsg( 'badtitletext' ) ); return; } - $title = Title::makeTitleSafe( NS_IMAGE, $bits[1] ); + $title = Title::makeTitleSafe( NS_FILE, $bits[1] ); if( is_null($title) ) { wfThumbError( 404, wfMsg( 'badtitletext' ) ); return;