Index: trunk/extensions/AbuseFilter/AbuseFilter.class.php |
— | — | @@ -143,6 +143,9 @@ |
144 | 144 | $links = array(); |
145 | 145 | |
146 | 146 | foreach ( $linkDefs as $name => $page ) { |
| 147 | + // Give grep a chance to find the usages: |
| 148 | + // abusefilter-topnav-home, abusefilter-topnav-test, abusefilter-topnav-examine |
| 149 | + // abusefilter-topnav-log, abusefilter-topnav-tools, abusefilter-topnav-import |
147 | 150 | $msgName = "abusefilter-topnav-$name"; |
148 | 151 | |
149 | 152 | if ( isset( $msgOverrides[$name] ) ) { |
— | — | @@ -159,12 +162,12 @@ |
160 | 163 | } |
161 | 164 | } |
162 | 165 | |
163 | | - $linkStr = '(' . $wgLang->pipeList( $links ) . ')'; |
| 166 | + $linkStr = wfMsg( 'parentheses', $wgLang->pipeList( $links ) ); |
164 | 167 | $linkStr = wfMsgExt( 'abusefilter-topnav', 'parseinline' ) . " $linkStr"; |
165 | 168 | |
166 | 169 | $linkStr = Xml::tags( 'div', array( 'class' => 'mw-abusefilter-navigation' ), $linkStr ); |
167 | 170 | |
168 | | - $out->addHTML( $linkStr ); |
| 171 | + $out->setSubtitle( $linkStr ); |
169 | 172 | } |
170 | 173 | |
171 | 174 | /** |
Index: trunk/extensions/AbuseFilter/abusefilter.css |
— | — | @@ -69,10 +69,6 @@ |
70 | 70 | padding-left: 25px; |
71 | 71 | } |
72 | 72 | |
73 | | -.mw-abusefilter-navigation { |
74 | | - text-align: center; |
75 | | -} |
76 | | - |
77 | 73 | table.mw-abusefilter-diff { |
78 | 74 | width: 80%; |
79 | 75 | border-collapse: collapse; |