fixes Bug 26459 - The renderNavigation and renderPortals functions should be protecte...
[lhc/web/wiklou.git] / skins / Vector.php
index 1779566..74b2fff 100644 (file)
@@ -238,9 +238,6 @@ class VectorTemplate extends BaseTemplate {
                        <div style="clear:both"></div>
                </div>
                <!-- /footer -->
-               <!-- fixalpha -->
-               <script type="<?php $this->text( 'jsmimetype' ) ?>"> if ( window.isMSIE55 ) fixalpha(); </script>
-               <!-- /fixalpha -->
                <?php $this->printTrail(); ?>
 
        </body>
@@ -253,7 +250,7 @@ class VectorTemplate extends BaseTemplate {
         *
         * @param $portals array
         */
-       private function renderPortals( $portals ) {
+       protected function renderPortals( $portals ) {
                // Force the rendering of the following portals
                if ( !isset( $portals['SEARCH'] ) ) {
                        $portals['SEARCH'] = true;
@@ -289,7 +286,13 @@ class VectorTemplate extends BaseTemplate {
                }
        }
 
-       private function renderPortal( $name, $content, $msg = null, $hook = null ) {
+       /**
+        * @param $name string
+        * @param $content array
+        * @param $msg null|string
+        * @param $hook null|string|array
+        */
+       protected function renderPortal( $name, $content, $msg = null, $hook = null ) {
                if ( $msg === null ) {
                        $msg = $name;
                }
@@ -327,7 +330,7 @@ class VectorTemplate extends BaseTemplate {
         *
         * @param $elements array
         */
-       private function renderNavigation( $elements ) {
+       protected function renderNavigation( $elements ) {
                global $wgVectorUseSimpleSearch;
 
                // If only one element was given, wrap it in an array, allowing more