Merge "Revert "MonoBook: Use SkinFactory""

This commit is contained in:
jenkins-bot 2014-08-11 23:01:13 +00:00 committed by Gerrit Code Review
commit c089fa24b4

View file

@ -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(