Merge "Revert "MonoBook: Use SkinFactory""
This commit is contained in:
commit
c089fa24b4
1 changed files with 1 additions and 3 deletions
|
@ -40,9 +40,7 @@ $wgAutoloadClasses['MonoBookTemplate'] = __DIR__ . '/MonoBookTemplate.php';
|
|||
$wgMessagesDirs['MonoBook'] = __DIR__ . '/i18n';
|
||||
|
||||
// Register skin
|
||||
SkinFactory::getDefaultInstance()->register( 'monobook', 'MonoBook', function() {
|
||||
return new SkinMonoBook();
|
||||
} );
|
||||
$wgValidSkinNames['monobook'] = 'MonoBook';
|
||||
|
||||
// Register modules
|
||||
$wgResourceModules['skins.monobook.styles'] = array(
|
||||
|
|
Loading…
Reference in a new issue