* @ingroup Skins
*/
class SkinSimple extends SkinTemplate {
- function initPage( OutputPage $out ) {
- parent::initPage( $out );
- $this->skinname = 'simple';
- $this->stylename = 'simple';
- $this->template = 'MonoBookTemplate';
- }
+ var $skinname = 'simple', $stylename = 'simple',
+ $template = 'MonoBookTemplate', $useHeadElement = true;
function setupSkinUserCss( OutputPage $out ){
+ parent::setupSkinUserCss( $out );
+
$out->addStyle( 'simple/main.css', 'screen' );
$out->addStyle( 'simple/rtl.css', '', '', 'rtl' );
}
if( $wgUser->getOption( 'highlightbroken' ) ) {
$s .= "a.new, #quickbar a.new { text-decoration: line-through; }\n";
} else {
- $s .= <<<END
+ $s .= <<<CSS
a.new, #quickbar a.new,
a.stub, #quickbar a.stub {
color: inherit;
color: #772233;
text-decoration: $underline;
}
-END;
+CSS;
}
if( $wgUser->getOption( 'justify' ) ) {
$s .= "#article, #bodyContent { text-align: justify; }\n";
}
return $s;
}
-}
\ No newline at end of file
+}