Topic on Extension talk:PDFEmbed

182.189.202.95 (talkcontribs)

I have get the extension working for Mediawiki 1.37 by replacing line no 160 of extensions/PDFEmbed/PDFEmbed.hooks.php from

$pdfFile =wfFindFile($filename);


to


$pdfFile = MediaWikiServices::getInstance()->getRepoGroup()->findFile($filename);

Stra2senBahn (talkcontribs)

I think,

$pdfFile = MediaWiki\MediaWikiServices::getInstance()->getRepoGroup()->findFile($filename);

is the right solution. It works on my MediaWiki.


Greetings

Meinolf

Reply to "Mediawiki 1.37 Update"