* Fix paging on Special:Contributions
* (bug 2541) Fix unprotect tab
* (bug 1242) category list now show on edit page
+* Skip sidebar entries where link text is '-'
+
=== Caveats ===
} else {
if (strpos($line, '|') !== false) { // sanity check
$line = explode( '|' , trim($line, '* '), 2 );
+ $link = wfMsgForContent( $line[0] );
+ if( $link == '-' ) {
+ continue;
+ }
$bar[$heading][] = array(
'text' => wfMsg( $line[1] ),
- 'href' => $this->makeInternalOrExternalUrl( wfMsgForContent( $line[0] ) ),
+ 'href' => $this->makeInternalOrExternalUrl( $link ),
'id' => 'n-' . $line[1],
);
} else { continue; }