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'; $wgMessagesDirs['MonoBook'] = __DIR__ . '/i18n';
// Register skin // Register skin
SkinFactory::getDefaultInstance()->register( 'monobook', 'MonoBook', function() { $wgValidSkinNames['monobook'] = 'MonoBook';
return new SkinMonoBook();
} );
// Register modules // Register modules
$wgResourceModules['skins.monobook.styles'] = array( $wgResourceModules['skins.monobook.styles'] = array(