Wiki:Changes to search
From Vermont Area Group of Unix Enthusiasts
There are no significant changes to the search engine at this time, though perhaps there will be more later.
Note that namespaces are used on the site. This means that searches don't search the namespaces by default, however, they can be by checking the check boxes on Special:Search next to the desired namespace(s). See Project:Searching.
Results page
Small change to the search results page for version 1.6.12. Unsure why the colon colon is inserted in the message when the Go button is pressed for a non-existent page. Must be an artifact. Later versions of MediaWiki drop the colon and use wfEscapeWikiText. This patch is unnecessary after the upgrade to 1.15.1.
--- SpecialSearch.php~ 2006-04-05 03:43:17.000000000 -0400
+++ SpecialSearch.php 2009-04-23 15:33:47.000000000 -0400
@@ -114,7 +114,7 @@
$editurl = $t->escapeLocalURL( 'action=edit' );
}
}
- $wgOut->addWikiText( wfMsg('nogomatch', ":$term" ) );
+ $wgOut->addWikiText( wfMsg('nogomatch', wfEscapeWikiText( $term ) ) );
return $this->showResults( $term );
}

