Index: trunk/phase3/includes/specials/SpecialSearch.php |
— | — | @@ -302,7 +302,8 @@ |
303 | 303 | $textMatches->free(); |
304 | 304 | } |
305 | 305 | if( $num === 0 ) { |
306 | | - $wgOut->addWikiMsg( 'search-nonefound', wfEscapeWikiText( $term ) ); |
| 306 | + #$wgOut->addWikiMsg( 'search-nonefound', wfEscapeWikiText( $term ) ); |
| 307 | + $wgOut->wrapWikiMsg( "<p class=\"mw-search-nonefound\">\n$1</p>", array( 'search-nonefound', wfEscapeWikiText( $term ) ) ); |
307 | 308 | $this->showCreateLink( $t ); |
308 | 309 | } |
309 | 310 | $wgOut->addHtml( "</div>" ); |
— | — | @@ -328,7 +329,7 @@ |
329 | 330 | } |
330 | 331 | } |
331 | 332 | if( $messageName ) { |
332 | | - $wgOut->addWikiMsg( $messageName, wfEscapeWikiText( $t->getPrefixedText() ) ); |
| 333 | + $wgOut->wrapWikiMsg( "<p class=\"mw-search-createlink\">\n$1</p>", array( $messageName, wfEscapeWikiText( $t->getPrefixedText() ) ) ); |
333 | 334 | } else { |
334 | 335 | // preserve the paragraph for margins etc... |
335 | 336 | $wgOut->addHtml( '<p></p>' ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -198,6 +198,7 @@ |
199 | 199 | * (bug 17394) Make installer check for latest version against MediaWiki.org |
200 | 200 | * (bug 20627) Installer should be in languages other than English |
201 | 201 | * Support for metadata in SVG files (title, description). |
| 202 | +* Special:Search: Add CSS classes to 'none found' and 'create link' messages |
202 | 203 | |
203 | 204 | === Bug fixes in 1.17 === |
204 | 205 | * (bug 17560) Half-broken deletion moved image files to deletion archive |