Postgres updater: add config table, adjust us_image_bits type
[lhc/web/wiklou.git] / skins / MonoBook.php
index 5f84e16..857db0f 100644 (file)
@@ -39,8 +39,6 @@ class SkinMonoBook extends SkinTemplate {
                }
 
                // TODO: Migrate all of these
-               $out->addStyle( 'monobook/IE50Fixes.css', 'screen', 'lt IE 5.5000' );
-               $out->addStyle( 'monobook/IE55Fixes.css', 'screen', 'IE 5.5000' );
                $out->addStyle( 'monobook/IE60Fixes.css', 'screen', 'IE 6' );
                $out->addStyle( 'monobook/IE70Fixes.css', 'screen', 'IE 7' );
 
@@ -71,7 +69,7 @@ class MonoBookTemplate extends BaseTemplate {
        <a id="top"></a>
        <?php if($this->data['sitenotice']) { ?><div id="siteNotice"><?php $this->html('sitenotice') ?></div><?php } ?>
 
-       <h1 id="firstHeading" class="firstHeading"><?php $this->html('title') ?></h1>
+       <h1 id="firstHeading" class="firstHeading"><span dir="auto"><?php $this->html('title') ?></span></h1>
        <div id="bodyContent" class="mw-body">
                <div id="siteSub"><?php $this->msg('tagline') ?></div>
                <div id="contentSub"<?php $this->html('userlangattributes') ?>><?php $this->html('subtitle') ?></div>
@@ -111,7 +109,6 @@ class MonoBookTemplate extends BaseTemplate {
                                + Linker::tooltipAndAccesskeyAttribs('p-logo') ); ?>
 
        </div>
-       <script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha(); </script>
 <?php
        $this->renderPortals( $this->data['sidebar'] );
 ?>
@@ -161,6 +158,9 @@ echo $footerEnd;
 
        /*************************************************************************************************/
 
+       /**
+        * @param $sidebar array
+        */
        protected function renderPortals( $sidebar ) {
                if ( !isset( $sidebar['SEARCH'] ) ) $sidebar['SEARCH'] = true;
                if ( !isset( $sidebar['TOOLBOX'] ) ) $sidebar['TOOLBOX'] = true;
@@ -209,8 +209,6 @@ echo $footerEnd;
        /**
         * Prints the cactions bar.
         * Shared between MonoBook and Modern
-        *
-        * @param $skin Skin
         */
        function cactions() {
 ?>
@@ -270,6 +268,10 @@ echo $footerEnd;
        }
 
        /*************************************************************************************************/
+       /**
+        * @param $bar string
+        * @param $cont array|string
+        */
        function customBox( $bar, $cont ) {
                $portletAttribs = array( 'class' => 'generated-sidebar portlet', 'id' => Sanitizer::escapeId( "p-$bar" ) );
                $tooltip = Linker::titleAttrib( "p-$bar" );