Final search_wiki function

The final form of the search_wiki function in search.class.php