Index: trunk/phase3/includes/SpecialSearch.php |
— | — | @@ -30,7 +30,8 @@ |
31 | 31 | function wfSpecialSearch( $par = '' ) { |
32 | 32 | global $wgRequest, $wgUser; |
33 | 33 | |
34 | | - $search = str_replace( "\n", " ", $wgRequest->getText( 'search', $par ) ); |
| 34 | + $search = str_replace( array('_', "\n"), " ", |
| 35 | + $wgRequest->getText( 'search', $par ) ); |
35 | 36 | $searchPage = new SpecialSearch( $wgRequest, $wgUser ); |
36 | 37 | if( $wgRequest->getVal( 'fulltext' ) || |
37 | 38 | !is_null( $wgRequest->getVal( 'offset' ) ) || |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -151,6 +151,7 @@ |
152 | 152 | * (bug 13576) maintenance/rebuildrecentchanges.php fails |
153 | 153 | * (bug 13441) Allow Special:Recentchanges to show bots only |
154 | 154 | * (bug 13431) Show true message source in Special:Allmessages&ot=php / xml |
| 155 | +* (bug 13616) Replace underscores in search terms by spaces |
155 | 156 | |
156 | 157 | === API changes in 1.13 === |
157 | 158 | |