Sorry, I did not mean a wildcard but a middot (·), the mail software seems to
have misinterpreted the character. On my wiki, I use middot as a camouflage of ­
in the wikitext to mark silent syllable breaks. This works quite well, but the drawback
is: the search engine no longer finds the term.
B.
-----Ursprüngliche Nachricht-----
Von: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] Im Auftrag von Zak Greant (Foo
Associates)
Gesendet: Mittwoch, 22. September 2010 17:52
An: MediaWiki announcements and site admin list
Betreff: Re: [Mediawiki-l] modify search engine
On Wed, Sep 22, 2010 at 06:58, Scheid, Bernhard
<Bernhard.Scheid(a)oeaw.ac.at> wrote:
Hi,
is it possible (is there any hook, an extension or a php-hack) to modify the search
engine
in such a way that the search term "example" would find "example" as
well as "ex*ample"?
Can you be more specific about what you need? Is there a specific
logic to where the wildcard should be inserted?
The general case (finding "example", "*example",
"e*xample",
"ex*ample", "exa*mple", etc.) would likely be quite expensive.
--
Zak Greant (Wikimedia Foundation Contractor)
Plans, reports + logs at
http://mediawiki.org/wiki/User:Zakgreant
Want to talk about the Mediawiki developer docs?
Catch me on irc://irc.freenode.net#mediawiki on Wednesdays from
16:00-18:00 UTC & Thursdays from 04:00-06:00 UTC
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l