Sidebar update to output and pivot.css title fix

sidebar
MW install maintain even with core development 2018-02-15 09:32:33 -05:00
parent 8ae56081c1
commit aa36556cb9
2 changed files with 4 additions and 8 deletions

View File

@ -291,16 +291,13 @@ class pivotTemplate extends BaseTemplate {
function renderSidebar() {
$sidebar = $this->getSidebar();
$toolbox = $this->getToolbox();
foreach ($sidebar as $boxName => $box) { if ( ($box['header'] != wfMessage( 'toolbox' )->text()) ) {
echo '<li id='.Sanitizer::escapeId( $box['id'] ); Linker::tooltip( $box['id'] ).'>';
foreach ($sidebar as $boxName => $box) {
echo '<div class="sidebar" id="'.Sanitizer::escapeId( $box['id'] ).'"';echo Linker::tooltip( $box['id'] ).'>';
echo '<li><label>'.htmlspecialchars( $box['header'] ).'</label></li>';
if ( is_array( $box['content'] ) ) {
foreach ($box['content'] as $key => $item) { echo $this->makeListItem($key, $item); }
} }
}
echo '<li><label>Toolbox</label></li>';
foreach ($toolbox as $key => $tbitem) { echo $this->makeListItem($key, $tbitem); }
}
echo '</div>'; }
}
}
?>

View File

@ -847,7 +847,6 @@ span#nav-main {
.tab-bar h1, .tab-bar h2, .tab-bar h3, .tab-bar h4 {
font-size: 1.5em;
font-weight: 400;
line-height: 1.8em;
}
section.right-small {
border-left: none;