Index: trunk/phase3/includes/SpecialSearch.php |
— | — | @@ -114,7 +114,7 @@ |
115 | 115 | $editurl = $t->escapeLocalURL( 'action=edit' ); |
116 | 116 | } |
117 | 117 | } |
118 | | - $wgOut->addWikiText( wfMsg('nogomatch', ":$term" ) ); |
| 118 | + $wgOut->addWikiText( wfMsg('nogomatch', ":$term", $term ) ); |
119 | 119 | |
120 | 120 | return $this->showResults( $term ); |
121 | 121 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -365,11 +365,13 @@ |
366 | 366 | * (bug 6117) Use message for history feed description, add German localization |
367 | 367 | * (bug 1017) fixed thumbnails of animated gifs. |
368 | 368 | * Add APC as object caching option |
| 369 | +* Update to Albanian localization (sq) |
| 370 | +* (bug 6099) Introduce {{DIRECTIONMARK}} magic word (with {{DIRMARK}} as an alias) |
369 | 371 | * Use optimized php5-only microtime() |
370 | 372 | * Add possibility to store local message cache as PHP executable script |
371 | 373 | * Fix profiling table definition |
372 | | -* Update to Albanian localization (sq) |
373 | | -* (bug 6099) Introduce {{DIRECTIONMARK}} magic word (with {{DIRMARK}} as an alias) |
| 374 | +* Pass a second parameter to "nogomatch" containing the search terms minus the |
| 375 | + preceding colon, allowing prettied-up messages |
374 | 376 | |
375 | 377 | == Compatibility == |
376 | 378 | |
Index: trunk/phase3/languages/Messages.php |
— | — | @@ -640,7 +640,7 @@ |
641 | 641 | Please try another query.', |
642 | 642 | 'matchtotals' => "The query \"$1\" matched $2 page titles |
643 | 643 | and the text of $3 pages.", |
644 | | -'nogomatch' => "'''There is no page titled \"$1\".''' You can [[$1|create this page]].", |
| 644 | +'nogomatch' => "'''There is no page titled \"$2\".''' You can [[$1|create this page]].", |
645 | 645 | 'titlematches' => 'Article title matches', |
646 | 646 | 'notitlematches' => 'No page title matches', |
647 | 647 | 'textmatches' => 'Page text matches', |