http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99353

Revision: 99353
Author:   hartman
Date:     2011-10-09 15:35:47 +0000 (Sun, 09 Oct 2011)
Log Message:
-----------
Fix bug 31436.
The collection extension is not array based, which caused an extra seperator to 
be inserted,
but no content. This was broken in r82487 or before in the SkinLegacy rewrite.

Modified Paths:
--------------
    trunk/phase3/skins/Standard.php

Modified: trunk/phase3/skins/Standard.php
===================================================================
--- trunk/phase3/skins/Standard.php     2011-10-09 14:10:46 UTC (rev 99352)
+++ trunk/phase3/skins/Standard.php     2011-10-09 15:35:47 UTC (rev 99353)
@@ -116,10 +116,10 @@
 
                $barnumber = 1;
                foreach ( $bar as $browseLinks ) {
-                       if ( $barnumber > 1 ) {
-                               $s .= "\n<hr class='sep' />";
-                       }
                        if ( is_array( $browseLinks ) ) {
+                               if ( $barnumber > 1 ) {
+                                       $s .= "\n<hr class='sep' />";
+                               }
                                foreach ( $browseLinks as $link ) {
                                        if ( $link['text'] != '-' ) {
                                                $s .= "<a 
href=\"{$link['href']}\">" .


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to