diff --git a/MonoBook.php b/MonoBook.php index 62d8930..97c0cd8 100644 --- a/MonoBook.php +++ b/MonoBook.php @@ -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(