Show navigation bar as subtitle as all other navbars too for consistency

This commit is contained in:
Raimond Spekking 2011-04-29 14:48:33 +00:00
parent 3422ee7d3c
commit 5dfc27d3c3
2 changed files with 5 additions and 6 deletions

View file

@ -143,6 +143,9 @@ class AbuseFilter {
$links = array();
foreach ( $linkDefs as $name => $page ) {
// Give grep a chance to find the usages:
// abusefilter-topnav-home, abusefilter-topnav-test, abusefilter-topnav-examine
// abusefilter-topnav-log, abusefilter-topnav-tools, abusefilter-topnav-import
$msgName = "abusefilter-topnav-$name";
if ( isset( $msgOverrides[$name] ) ) {
@ -159,12 +162,12 @@ class AbuseFilter {
}
}
$linkStr = '(' . $wgLang->pipeList( $links ) . ')';
$linkStr = wfMsg( 'parentheses', $wgLang->pipeList( $links ) );
$linkStr = wfMsgExt( 'abusefilter-topnav', 'parseinline' ) . " $linkStr";
$linkStr = Xml::tags( 'div', array( 'class' => 'mw-abusefilter-navigation' ), $linkStr );
$out->addHTML( $linkStr );
$out->setSubtitle( $linkStr );
}
/**

View file

@ -69,10 +69,6 @@ li.mw-abusefilter-changeslist-match {
padding-left: 25px;
}
.mw-abusefilter-navigation {
text-align: center;
}
table.mw-abusefilter-diff {
width: 80%;
border-collapse: collapse;