X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=skins%2FModern.php;h=add02419c49c7f778b7abcea96140565321b452b;hb=9794985c9d2ef37788d41eac00c30c0ccf3b04d1;hp=f2d957d0fe17ae5c0244d70b792e464be4e3c6b6;hpb=9dd7f340d5315e5fb7a5205050df47c6ac7d792c;p=lhc%2Fweb%2Fwiklou.git diff --git a/skins/Modern.php b/skins/Modern.php index f2d957d0fe..add02419c4 100644 --- a/skins/Modern.php +++ b/skins/Modern.php @@ -3,7 +3,8 @@ * Modern skin, derived from monobook template. * * @todo document - * @addtogroup Skins + * @file + * @ingroup Skins */ if( !defined( 'MEDIAWIKI' ) ) @@ -12,22 +13,36 @@ if( !defined( 'MEDIAWIKI' ) ) /** * Inherit main code from SkinTemplate, set the CSS and template filter. * @todo document - * @addtogroup Skins + * @ingroup Skins */ class SkinModern extends SkinTemplate { - function initPage( &$out ) { - SkinTemplate::initPage( $out ); - $this->skinname = 'modern'; - $this->stylename = 'modern'; - $this->template = 'ModernTemplate'; + var $skinname = 'modern', $stylename = 'modern', + $template = 'ModernTemplate'; + + /* + * We don't like the default getPoweredBy, the icon clashes with the + * skin L&F. + */ + function getPoweredBy() { + global $wgVersion; + return "