MediaWiki REL1_31
SkinMonoBook.php
Go to the documentation of this file.
1<?php
33 public $skinname = 'monobook';
34 public $stylename = 'MonoBook';
35 public $template = 'MonoBookTemplate';
36
41 parent::setupSkinUserCss( $out );
42
43 $out->addModuleStyles( [
44 'mediawiki.skinning.interface',
45 'mediawiki.skinning.content.externallinks',
46 'skins.monobook.styles'
47 ] );
48
49 // TODO: Migrate all of these
50 $out->addStyle( $this->stylename . '/resources/IE60Fixes.css', 'screen', 'IE 6' );
51 $out->addStyle( $this->stylename . '/resources/IE70Fixes.css', 'screen', 'IE 7' );
52 }
53}
This class should be covered by a general architecture document which does not exist as of January 20...
Inherit main code from SkinTemplate, set the CSS and template filter.
setupSkinUserCss(OutputPage $out)
$skinname
Using MonoBook.
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 probably a stub 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:864