Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -663,7 +663,7 @@ |
664 | 664 | return true; |
665 | 665 | } |
666 | 666 | |
667 | | - $image = wfFindFile( $title ); |
| 667 | + $image = wfFindFile( $imageTitle ); |
668 | 668 | if ( $image->exists() && $image->getMimeType() == 'image/vnd.djvu' ) { |
669 | 669 | $srcPath = $image->getPath(); |
670 | 670 | $cmd = "( " .wfEscapeShellArg( $wgDjvutxt ); |