Index: skins/CologneBlue.php
===================================================================
--- skins/CologneBlue.php	(revision 45879)
+++ skins/CologneBlue.php	(working copy)
@@ -173,20 +173,30 @@
 		$s .= $this->menuHead( "qbfind" );
 		$s .= $this->searchForm();
 
-		$s .= $this->menuHead( "qbbrowse" );
-
 		# Use the first heading from the Monobook sidebar as the "browse" section
 		$bar = $this->buildSidebar();
 		unset( $bar['SEARCH'] );
 		unset( $bar['LANGUAGES'] );
 		unset( $bar['TOOLBOX'] );
-		$browseLinks = reset( $bar );
 
-		foreach ( $browseLinks as $link ) {
-			if ( $link['text'] != '-' ) {
-				$s .= "<a href=\"{$link['href']}\">" .
-					htmlspecialchars( $link['text'] ) . '</a>' . $sep;
+		$qbbrowse = 1;
+		foreach ( $bar as $heading => $browseLinks) {
+			$heading_text = wfMsg($heading);
+			if ($qbbrowse) {
+				$s .= $this->menuHead( "qbbrowse" );
+				$qbbrowse = 0;
+			} else {
+				if (wfEmptyMsg($heading, $heading_text))
+					$s .= "\n<h6>" . htmlspecialchars($heading) . "</h6>";
+				else
+				 	$s .= "\n<h6>" . htmlspecialchars($heading_text) . "</h6>";
 			}
+			foreach ( $browseLinks as $link ) {
+				if ( $link['text'] != '-' ) {
+					$s .= "<a href=\"{$link['href']}\">" .
+						htmlspecialchars( $link['text'] ) . '</a>' . $sep;
+				}
+			}
 		}
 
 		if ( $wgOut->isArticle() ) {
Index: skins/Standard.php
===================================================================
--- skins/Standard.php	(revision 45879)
+++ skins/Standard.php	(working copy)
@@ -164,6 +164,19 @@
 				wfMsg( 'mycontris' ), 'target=' . wfUrlencode($wgUser->getName() ) );
 		}
 		// only show watchlist link if logged in
+
+		# Output content of additional boxes, if any
+		next($bar);
+		while (list($headingkey, $browseLinks) = each($bar)) {
+			$s .= "\n<hr class='sep' />";
+			foreach ( $browseLinks as $link ) {
+				if ( $link['text'] != '-' ) {
+					$s .= "<a href=\"{$link['href']}\">" .
+						htmlspecialchars( $link['text'] ) . '</a>' . $sep;
+				}
+			}
+		}
+
 		$s .= "\n<hr class='sep' />";
 		$articleExists = $wgTitle->getArticleId();
 		if ( $wgOut->isArticle() || $action =='edit' || $action =='history' || $wpPreview) {
