3 * Simple: A lightweight skin with a simple white-background sidebar and no
10 if( !defined( 'MEDIAWIKI' ) )
14 require_once( dirname(__FILE__
) . '/MonoBook.php' );
17 * Inherit main code from SkinTemplate, set the CSS and template filter.
20 class SkinSimple
extends SkinTemplate
{
21 var $skinname = 'simple', $stylename = 'simple',
22 $template = 'MonoBookTemplate', $useHeadElement = true;
24 function setupSkinUserCss( OutputPage
$out ){
25 parent
::setupSkinUserCss( $out );
27 $out->addStyle( 'simple/main.css', 'screen' );
30 function reallyGenerateUserStylesheet() {
33 if( $wgUser->getOption( 'highlightbroken' ) ) {
34 $s .= "a.new, #quickbar a.new { text-decoration: line-through; }\n";
37 a.new, #quickbar a.new,
38 a.stub, #quickbar a.stub {
40 text-decoration: inherit;
42 a.new:after, #quickbar a.new:after {
45 text-decoration: $underline;
47 a.stub:after, #quickbar a.stub:after {
50 text-decoration: $underline;