ProtectedContactPage/ContactPage.php

16 lines
585 B
PHP
Raw Normal View History

2007-02-12 14:50:29 -07:00
<?php
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
}