dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Restore message accidently removed with r58267.
[lhc/web/wiklou.git]
/
thumb.php
diff --git
a/thumb.php
b/thumb.php
index
6af0698
..
b973cc6
100644
(file)
--- a/
thumb.php
+++ b/
thumb.php
@@
-55,7
+55,7
@@
function wfThumbMain() {
wfThumbError( 404, wfMsg( 'badtitletext' ) );
return;
}
wfThumbError( 404, wfMsg( 'badtitletext' ) );
return;
}
- $title = Title::makeTitleSafe( NS_
IMAG
E, $bits[1] );
+ $title = Title::makeTitleSafe( NS_
FIL
E, $bits[1] );
if( is_null($title) ) {
wfThumbError( 404, wfMsg( 'badtitletext' ) );
return;
if( is_null($title) ) {
wfThumbError( 404, wfMsg( 'badtitletext' ) );
return;
@@
-73,7
+73,7
@@
function wfThumbMain() {
wfThumbError( 404, 'The source file for the specified thumbnail does not exist.' );
return;
}
wfThumbError( 404, 'The source file for the specified thumbnail does not exist.' );
return;
}
- $sourcePath = $i
sOld ? $img->getArchivePath() : $i
mg->getPath();
+ $sourcePath = $img->getPath();
if ( $sourcePath === false ) {
wfThumbError( 500, 'The source file is not locally accessible.' );
return;
if ( $sourcePath === false ) {
wfThumbError( 500, 'The source file is not locally accessible.' );
return;