Last modified: 2010-05-15 15:33:35 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 T6021, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4021 - Search only searched for complete words by default, not for subpatterns
Search only searched for complete words by default, not for subpatterns
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.4.x
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 7719 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-11-18 10:50 UTC by Oliver Neumann
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

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


Attachments

Description Oliver Neumann 2005-11-18 10:50:03 UTC
Let's say you have a document in the WIKI containign the following phrase:

"This is only a test phrase. Lets see what happens."

I now search for 'phra' which should match this document as this text is a
subpattern of a word in that document. But it doesn't match, it only matches if
I search for 'phrase'.

This is bad, because we have many documents that contain domainnames e.g. so if
someone searches for 'test' he should find pages containing
'test123.example.com', but currently no pages are found.

Is there a patch that supports searching for subpatterns?
Comment 1 Zigger 2005-11-18 11:29:23 UTC
I'm not sure which wiki you're using, but try wildcarding:  phra*  test*

Re-open this if you find you have a related bug or feature request.
Comment 2 Oliver Neumann 2005-11-18 11:33:34 UTC
This does not work either. We are using standard Mediawiki 1.4.0.
Comment 3 Brion Vibber 2005-11-18 19:39:18 UTC
Check the mailing list archives, you'll find discussion of a patch for the 
search to let '*' through.

Also, upgrade! 1.4.0 is old, buggy, and has security holes. No one ANYWHERE 
should be using it.
Comment 4 Sebastian Dietrich 2006-10-10 12:31:06 UTC
See http://meta.wikimedia.org/wiki/Help:Searching#No regular expressions or
wildcards

You cannot use regular expressions or wildcards such as ? or *. If you don't
know what that is, don't worry about it. To search for pages with the words
"boat" or "boats" search like this: "boat or boats".

This feature is definitely missing - many of my users complain about it...
Comment 5 Stefan Eichenhofer 2006-10-17 06:50:41 UTC
Yes, that´s what is really annoying. But what about wikipedia which is based 
on MediaWiki as far as I know. WikiPedia supports Wildcard-search to a 
certain extend.

see Wikipedia documentation:
Wildcards
You can use some limited wildcards if you really want to. See Boolean 
fulltext search for details on their use. However, wildcard searches are 
slower, so go easy on the poor server.

Does Wikipedia use a different search engine then???

Comment 6 Brion Vibber 2007-09-11 18:41:39 UTC
*** Bug 7719 has been marked as a duplicate of this bug. ***
Comment 7 Brion Vibber 2007-09-11 18:49:55 UTC
Fixed in r25794; wildcard matches now work as originally intended but never quite implemented right.

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


Navigation
Links