Final version of search_wiki function

Conflicts:
	legacy/search.class.php