2007-02-12 14:50:29 -07:00
|
|
|
<?php
|
|
|
|
|
2016-07-08 15:11:10 -06:00
|
|
|
if ( function_exists( 'wfLoadExtension' ) ) {
|
|
|
|
wfLoadExtension( 'ContactPage' );
|
|
|
|
// Keep i18n globals so mergeMessageFileList.php doesn't break
|
|
|
|
$wgMessagesDirs['ContactPage'] = __DIR__ . '/i18n';
|
|
|
|
$wgExtensionMessagesFiles['ContactPageAliases'] = __DIR__ . '/ContactPage.alias.php';
|
|
|
|
wfWarn(
|
|
|
|
'Deprecated PHP entry point used for ContactPage extension. Please use wfLoadExtension instead, ' .
|
|
|
|
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
|
|
|
|
);
|
|
|
|
return;
|
|
|
|
} else {
|
|
|
|
die( 'This version of the ContactPage extension requires MediaWiki 1.25+' );
|
2007-02-13 15:33:42 -07:00
|
|
|
}
|