mirror of
https://github.com/Hutchy68/pivot.git
synced 2024-11-25 03:49:03 +01:00
14 lines
470 B
PHP
14 lines
470 B
PHP
<?php
|
|
|
|
if ( function_exists( 'wfLoadSkin' ) ) {
|
|
wfLoadSkin( 'pivot' );
|
|
// Keep i18n globals so mergeMessageFileList.php doesn't break
|
|
$wgMessagesDirs['pivot'] = __DIR__ . '/i18n';
|
|
/* wfWarn(
|
|
'Deprecated PHP entry point used for Pivot skin. Please use wfLoadSkin instead, ' .
|
|
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
|
|
); */
|
|
return true;
|
|
} else {
|
|
die( 'This version of the Pivot skin requires MediaWiki 1.25+' );
|
|
} |