Index: trunk/extensions/GlobalUsage/SpecialGlobalUsage.php |
— | — | @@ -130,11 +130,11 @@ |
131 | 131 | $guHtml .= "\t<li>" . self::formatItem( $item ) . "</li>\n"; |
132 | 132 | $guHtml .= "</ul></li>\n"; |
133 | 133 | } |
134 | | - |
| 134 | + |
135 | 135 | if ( $guHtml ) { |
136 | | - $html .= "<h2>" . wfMsgHtml( 'globalusage' ) . "</h2>\n" |
137 | | - . wfMsgExt( 'globalusage-of-file', 'parse' ) |
138 | | - . "<ul>\n" . $guHtml . "</ul>\n"; |
| 136 | + $html .= Html::rawElement( 'h2', array( 'class' => 'mw-globalusage-list' ), wfMsgHtml( 'globalusage' ) ) . "\n" . |
| 137 | + wfMsgExt( 'globalusage-of-file', 'parse' ) . |
| 138 | + Html::rawElement( 'ul', array(), $guHtml ) . "\n"; |
139 | 139 | if ( $query->hasMore() ) |
140 | 140 | $html .= wfMsgExt( 'globalusage-more', 'parse', $targetName ); |
141 | 141 | } |