MediaWiki REL1_33
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 class should be covered by a general architecture document which does not exist as of January 20...
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.
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that When $user is not it can be in the form of< username >< more info > e g for bot passwords intended to be added to log contexts Fields it might only if the login was with a bot password it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output $out
Definition hooks.txt:855