diff options
Diffstat (limited to 'includes/skins/SkinFallback.php')
-rw-r--r-- | includes/skins/SkinFallback.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/includes/skins/SkinFallback.php b/includes/skins/SkinFallback.php new file mode 100644 index 00000000..96ff2285 --- /dev/null +++ b/includes/skins/SkinFallback.php @@ -0,0 +1,36 @@ +<?php +/** + * Skin file for the fallback skin. + * + * The structure is copied from the example skin (mediawiki/skins/Example). + * + * @since 1.24 + * @file + */ + +/** + * SkinTemplate class for the fallback skin + */ +class SkinFallback extends SkinTemplate { + + public $skinname = 'fallback'; + public $template = 'SkinFallbackTemplate'; + + /** + * Add CSS via ResourceLoader + * + * @param OutputPage $out + */ + public function setupSkinUserCss( OutputPage $out ) { + parent::setupSkinUserCss( $out ); + $out->addModuleStyles( 'mediawiki.skinning.interface' ); + } + + /** + * @param OutputPage $out + */ + public function initPage( OutputPage $out ) { + parent::initPage( $out ); + $out->enableClientCache( false ); + } +} |