Last modified: 2010-05-15 15:28:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2849, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 849 - searching with a leading "[" finds more hits
searching with a leading "[" finds more hits
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.3.x
PC Linux
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-11-09 23:23 UTC by darren kruse
Modified: 2010-05-15 15:28 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description darren kruse 2004-11-09 23:23:27 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.
Comment 1 Brion Vibber 2004-11-09 23:37:44 UTC
"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;
Comment 2 darren kruse 2004-11-15 01:16:44 UTC
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. 

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links