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:
parent
c3e1a7fa59
commit
869128f2ef
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