diff options
Diffstat (limited to 'skins/Modern/Modern.php')
-rw-r--r-- | skins/Modern/Modern.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/skins/Modern/Modern.php b/skins/Modern/Modern.php new file mode 100644 index 0000000..4ba6c47 --- /dev/null +++ b/skins/Modern/Modern.php @@ -0,0 +1,14 @@ +<?php + +if ( function_exists( 'wfLoadSkin' ) ) { + wfLoadSkin( 'Modern' ); + // Keep i18n globals so mergeMessageFileList.php doesn't break + $wgMessagesDirs['Modern'] = __DIR__ . '/i18n'; + /* wfWarn( + 'Deprecated PHP entry point used for Modern skin. Please use wfLoadSkin instead, ' . + 'see https://www.mediawiki.org/wiki/Extension_registration for more details.' + ); */ + return true; +} else { + die( 'This version of the Modern skin requires MediaWiki 1.25+' ); +} |