Directionality improvements as part of bug 6100 (under $wgBetterDirectionality):
[lhc/web/wiklou.git] / skins / Standard.php
index bb540ae..ff1e933 100644 (file)
@@ -18,6 +18,9 @@ class SkinStandard extends SkinLegacy {
        var $skinname = 'standard', $stylename = 'standard',
                $template = 'StandardTemplate';
 
+       /**
+        * @param $out OutputPage
+        */
        function setupSkinUserCss( OutputPage $out ){
                parent::setupSkinUserCss( $out );
                $out->AddModuleStyles( 'skins.standard' );
@@ -51,6 +54,9 @@ class SkinStandard extends SkinLegacy {
 
 class StandardTemplate extends LegacyTemplate {
 
+       /**
+        * @return string
+        */
        function doAfterContent() {
                global $wgContLang, $wgLang;
                wfProfileIn( __METHOD__ );
@@ -99,6 +105,9 @@ class StandardTemplate extends LegacyTemplate {
                return $s;
        }
 
+       /**
+        * @return string
+        */
        function quickBar() {
                global $wgOut, $wgUser, $wgRequest, $wgContLang;
 
@@ -120,7 +129,7 @@ class StandardTemplate extends LegacyTemplate {
                unset( $bar['TOOLBOX'] );
 
                $barnumber = 1;
-               foreach ( $bar as $heading => $browseLinks ) {
+               foreach ( $bar as $browseLinks ) {
                        if ( $barnumber > 1 ) {
                                $s .= "\n<hr class='sep' />";
                        }