This appears to make thumb.php more permissive than it's indended and could lead to littering false-positive thumbnails around the server when used to implement 404 handlers as designed.
* (bug 20702) Parser functions can now be used correctly in
MediaWiki:Missing-article
* (bug 14117) "redirected from" is now also shown on foreign file redirects
-* (bug 20802) Fixed thumb.php redirect handling
* (bug 17747) Only display thumbnail column in file history if the image can
be rendered.
* (bug 3421) Live preview no longer breaks user CSS/JS previews
}
$img = RepoGroup::singleton()->getLocalRepo()->newFromArchiveName( $title, $fileName );
} else {
- $img = RepoGroup::singleton()->getLocalRepo()->findFile( $fileName );
+ $img = wfLocalFile( $fileName );
}
if ( !$img ) {