X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=skins%2FMonoBook.php;h=472bbf3255aa84a1db65f42616462856ead88706;hb=3b047676e58b44d34f615c934a9a18236519b1d5;hp=be6f495d543c063e70bb37af6b0728a7c7e7f4ee;hpb=1ddc07f845718df6411a32e7e27320b7ab23cf84;p=lhc%2Fweb%2Fwiklou.git diff --git a/skins/MonoBook.php b/skins/MonoBook.php index be6f495d54..472bbf3255 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -31,13 +31,13 @@ class SkinMonoBook extends SkinTemplate { parent::setupSkinUserCss( $out ); $out->addModuleStyles( 'skins.monobook' ); - + // Ugh. Can't do this properly because $wgHandheldStyle may be a URL if( $wgHandheldStyle ) { // Currently in testing... try 'chick/main.css' $out->addStyle( $wgHandheldStyle, 'handheld' ); } - + // TODO: Migrate all of these //$out->addStyle( 'monobook/IE50Fixes.css', 'screen', 'lt IE 5.5000' ); //$out->addStyle( 'monobook/IE55Fixes.css', 'screen', 'IE 5.5000' ); @@ -77,7 +77,7 @@ class MonoBookTemplate extends BaseTemplate { $this->html( 'headelement' ); ?>
-
html("specialpageattributes") ?>> +
data['sitenotice']) { ?>
html('sitenotice') ?>
@@ -103,7 +103,7 @@ class MonoBookTemplate extends BaseTemplate {
html('userlangattributes') ?>> -cactions( $this->skin ); ?> +cactions(); ?>
msg('personaltools') ?>
@@ -225,7 +225,7 @@ echo $footerEnd; * * @param $skin Skin */ - function cactions( Skin $skin ) { + function cactions() { ?>
msg('views') ?>
@@ -233,7 +233,7 @@ echo $footerEnd;
    data['content_actions'] as $key => $tab) { $linkAttribs = array( 'href' => $tab['href'] ); - + if( isset( $tab["tooltiponly"] ) && $tab["tooltiponly"] ) { $title = Linker::titleAttrib( "ca-$key" ); if ( $title !== false ) { @@ -243,7 +243,7 @@ echo $footerEnd; $linkAttribs += Linker::tooltipAndAccesskeyAttribs( "ca-$key" ); } $linkHtml = Html::element( 'a', $linkAttribs, $tab['text'] ); - + /* Surround with a
  • */ $liAttribs = array( 'id' => Sanitizer::escapeId( "ca-$key" ) ); if( $tab['class'] ) {