MediaWiki REL1_30
MonoBook.php
Go to the documentation of this file.
1<?php
2
3if ( function_exists( 'wfLoadSkin' ) ) {
4 wfLoadSkin( 'MonoBook' );
5 // Keep i18n globals so mergeMessageFileList.php doesn't break
6 $wgMessagesDirs['MonoBook'] = __DIR__ . '/i18n';
7 /* wfWarn(
8 'Deprecated PHP entry point used for MonoBook skin. Please use wfLoadSkin instead, ' .
9 'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
10 ); */
11 return true;
12} else {
13 die( 'This version of the MonoBook skin requires MediaWiki 1.25+' );
14}
$wgMessagesDirs
Extension messages directories.
wfLoadSkin( $skin, $path=null)
Load a skin.