Last modified: 2010-05-15 15:28:21 UTC
We are running an intranet using mediawiki , initially on ver 1.2.5 , now on ver 1.3.7 MediaWiki (http://wikipedia.sf.net/): 1.3.7 PHP (http://www.php.net/): 4.3.4 (apache) MySQL (http://www.mysql.com/): 3.23.58 I've noticed that when I search for the word "vision" , mediawiki takes me directly to a page with that word in it's title.. (Vision (62 bytes) , it overlooks the other potential page with that word in the title Our Vision (173 bytes) Also I knew that this particular word was in lots of places throughout the wiki, so I played around... Searching for [vision gave me what is a more correct list of hits... Search results For query "[vision" For more information about searching Knowledge, see Searching Knowledge. Showing below 9 results starting with #1. View (previous 20) (next 20) (20 | 50 | 100 | 250 | 500). Article title matches 1. Our Vision (173 bytes) 1: Our [[vision]] is to provide South Australians with access to ... 2. Vision (62 bytes) Page text matches 1. Our Vision (173 bytes) 1: Our [[vision]] is to provide South Australians with access to ... 2. Effectiveness (348 bytes) 1: ...orrectly, consistent with organizational mission, vision, values and in support of the organization's goal... 3. Staff Page (1508 bytes) 4. Main Page (1727 bytes) 5. About Adam (5025 bytes) 6. Dealers (19118 bytes) 7. Policy and Guidelines (26250 bytes) 4: <center>'''[[Our Vision]]'''<br> 5: ''"Our vision is to provide South Australians with access to In... All these hits are correct, the word "vision" appears on every one of these pages. I've not yet managed to replicate this on wikipedia.
"takes me directory to a page" sounds like you're using the "go" button, which sends you directly to a page if it can identify an exact or very nearly exact match. If you use the "search" button, it should always return actual search matches. You might also be describing the "fuzzy search", which is broken and largely not useful. If so, disable it with $wgDisableFuzzySearch = true;
What I was doing was the same as I do when using google, I type in the search string, then hit enter. Doing this in mediawiki activates the Go button, not the search button The leading [ somehow actives the Search button So, it's a feature, not a bug ! It would be nice to have the default behaviour when you hit Enter to be Search, not Go - but that's a feature request, not a bug :-) marking as invalid. thanks, darren.