MediaWiki
REL1_34
SkinFallback.php
Go to the documentation of this file.
1
<?php
12
class
SkinFallback
extends
SkinTemplate
{
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
}
$modules
$modules
Definition
HTMLFormElement.php:13
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:46
OutputPage\enableClientCache
enableClientCache( $state)
Use enableClientCache(false) to force it to send nocache headers.
Definition
OutputPage.php:2183
SkinFallback
SkinTemplate class for the fallback skin.
Definition
SkinFallback.php:12
SkinFallback\$template
$template
Definition
SkinFallback.php:15
SkinFallback\$skinname
$skinname
Definition
SkinFallback.php:14
SkinFallback\getDefaultModules
getDefaultModules()
Defines the ResourceLoader modules that should be added to the skin It is recommended that skins wish...
Definition
SkinFallback.php:17
SkinFallback\initPage
initPage(OutputPage $out)
Definition
SkinFallback.php:26
SkinTemplate
Base class for template-based skins.
Definition
SkinTemplate.php:38
includes
skins
SkinFallback.php
Generated on Fri Apr 5 2024 23:10:33 for MediaWiki by
1.9.8