3 if ( function_exists( 'wfLoadExtension' ) ) {
4 wfLoadExtension( 'PdfHandler' );
5 // Keep i18n globals so mergeMessageFileList.php doesn't break
6 $wgMessagesDirs['PdfHandler'] = __DIR__ . '/i18n';
8 'Deprecated PHP entry point used for PdfHandler extension. Please use wfLoadExtension instead, ' .
9 'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
13 die( 'This version of the PdfHandler extension requires MediaWiki 1.25+' );