mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 22:35:45 +00:00
15 lines
468 B
PHP
15 lines
468 B
PHP
<?php
|
|
|
|
if ( function_exists( 'wfLoadSkin' ) ) {
|
|
wfLoadSkin( 'Citizen' );
|
|
// Keep i18n globals so mergeMessageFileList.php doesn't break
|
|
$wgMessagesDirs['Citizen'] = __DIR__ . '/i18n';
|
|
/* wfWarn(
|
|
'Deprecated PHP entry point used for Citizen skin. Please use wfLoadSkin instead, ' .
|
|
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
|
|
); */
|
|
return true;
|
|
} else {
|
|
die( 'This version of the Citizen skin requires MediaWiki 1.31+' );
|
|
}
|