mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions
synced 2024-11-24 00:06:21 +00:00
65de1d2f76
The $wgWikimediaJenkinsCI hack was moved into a "callback" function in the hooks file. Bug: T87955 Change-Id: Ibdb4397231ba9b0301a3b5872867cee5fa3906f3
16 lines
623 B
PHP
16 lines
623 B
PHP
<?php
|
|
|
|
if ( function_exists( 'wfLoadExtension' ) ) {
|
|
wfLoadExtension( 'ParserFunctions' );
|
|
// Keep i18n globals so mergeMessageFileList.php doesn't break
|
|
$wgMessagesDirs['ParserFunctions'] = __DIR__ . '/i18n';
|
|
$wgExtensionMessagesFiles['ParserFunctionsMagic'] = __DIR__ . '/ParserFunctions.i18n.magic.php';
|
|
/* wfWarn(
|
|
'Deprecated PHP entry point used for ParserFunctions extension. Please use wfLoadExtension instead, ' .
|
|
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
|
|
); */
|
|
return true;
|
|
} else {
|
|
die( 'This version of the ParserFunctions extension requires MediaWiki 1.25+' );
|
|
}
|