Revert "MonoBook: Use SkinFactory"

This reverts commit c3e1a7fa59.

Doing it this way is unnecessarily backwards-incompatible,
and there's probably a nicer way to do this.

Change-Id: Iaceeb01526004de006b4f6cb708d1e947e59090c
This commit is contained in:
Legoktm 2014-08-11 23:01:03 +00:00
parent c3e1a7fa59
commit 869128f2ef

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(