mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Show navigation bar as subtitle as all other navbars too for consistency
This commit is contained in:
parent
3422ee7d3c
commit
5dfc27d3c3
|
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue