Index: trunk/phase3/thumb.php |
— | — | @@ -62,7 +62,7 @@ |
63 | 63 | } |
64 | 64 | $img = RepoGroup::singleton()->getLocalRepo()->newFromArchiveName( $title, $fileName ); |
65 | 65 | } else { |
66 | | - $img = wfLocalFile( $fileName ); |
| 66 | + $img = RepoGroup::singleton()->getLocalRepo()->findFile( $fileName ); |
67 | 67 | } |
68 | 68 | |
69 | 69 | if ( !$img ) { |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -538,6 +538,7 @@ |
539 | 539 | * (bug 14117) "redirected from" is now also shown on foreign file redirects |
540 | 540 | * (bug 18436) JavaScript-added AJAX messages (from the JS watch/unwatch, for |
541 | 541 | instance) no longer include a redundant "display:block" hardcoded style. |
| 542 | +* (bug 20802) Fixed thumb.php redirect handling |
542 | 543 | |
543 | 544 | == API changes in 1.16 == |
544 | 545 | |