Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -535,7 +535,7 @@ |
536 | 536 | if( !empty($parser->mOutput->mImages) ) { |
537 | 537 | foreach( $parser->mOutput->mImages as $filename => $x ) { |
538 | 538 | # FIXME: it would be nice not to double fetch these! |
539 | | - $file = wfFindFile( Title::makeTitle( NS_IMAGE, $filename ) ); |
| 539 | + $file = wfFindFile( Title::makeTitleSafe( NS_IMAGE, $filename ) ); |
540 | 540 | $parser->mOutput->fr_ImageSHA1Keys[$filename] = array(); |
541 | 541 | if( $file ) { |
542 | 542 | # Bug 15748, be lax about commons image sync status |