Translations:Manual:Thumb handler.php/5/en

Create a rewrite rule to call $3 when a file in $1 doesn't exist. If your wiki is in the $2 directory, something like this should work for Apache: