Topic on Extension talk:PDF Include

ERROR : incompatibility with PDFEmbed extension

1
Chantoune (talkcontribs)

these 2 extensions uses the same tag <pdf> </pdf>

so we get error according to where the pdf file is located (internal to wiki : PDFEmbed) (external to wiki : PDFInclude)

So to prevent this incompatibility in the case of we have the 2 extensions installed

it is necessary for instance to update the tag as <pdfURL> in the delivery code of this extension PDFInclude.php

function pdfRegister() {

global $wgParser;

$wgParser->setHook( 'pdfURL', 'pdfInclude' );

return true;

}

Reply to "ERROR : incompatibility with PDFEmbed extension"