MediaWiki REL1_34
SkinFallback.php
Go to the documentation of this file.
1<?php
13
14 public $skinname = 'fallback';
15 public $template = SkinFallbackTemplate::class;
16
17 public function getDefaultModules() {
18 $modules = parent::getDefaultModules();
19 $modules['styles']['skin'][] = 'mediawiki.skinning.interface';
20 return $modules;
21 }
22
26 public function initPage( OutputPage $out ) {
27 parent::initPage( $out );
28 $out->enableClientCache( false );
29 }
30}
This is one of the Core classes and should be read at least once by any new developers.
enableClientCache( $state)
Use enableClientCache(false) to force it to send nocache headers.
SkinTemplate class for the fallback skin.
getDefaultModules()
Defines the ResourceLoader modules that should be added to the skin It is recommended that skins wish...
initPage(OutputPage $out)
Base class for template-based skins.