[Mediawiki-l] Enable Wildcard Search

Bert@1&1 albert.cremer at online.de
Tue May 15 16:33:23 UTC 2007




Good idea, but how?

Albert Cremer
----- Original Message ----- 
From: "aretai aretai" <aretaiuc-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
Newsgroups: gmane.org.wikimedia.mediawiki
To: "MediaWiki announcements and site admin list" 
<mediawiki-l-RusutVdil2icGmH+5r0DM0B+6BGkLq7r at public.gmane.org>
Sent: Monday, May 14, 2007 11:23 AM
Subject: Re: Enable Wildcard Search


> Hi,
>
> I tried to install this extension and failed as well. Have also tried to
> contact it's author Assel Pathirana, no answer so far. Maybe try Lucene
> Search instead.
>
> Aretai
>
>
> On 5/12/07, a. cremer 
> <albert.cremer-BGeptl67XyCzQB+pC5nmwQ at public.gmane.org> wrote:
>>
>> Hi,
>>
>> I like to enable wildcard search and try to utilize the wildcard search
>> extension
>>
>> <?PHP
>> #Copyright (C) 2006 Assela Pathirana under the version 2 of the GNU
>> General
>> Public License
>> #Adds wildcard search functionality to mediawiki
>> # file : SearchMySQLwildcards.php
>> require_once( 'SearchEngine.php' );require_once(
>> 'SearchMySQL.php' );require_once( 'SearchMySQL4.php' );//Register this
>> search type and override the default search set in
>> DefaultSettins.php$wgSearchType   = SearchMySQLwildcards;//Create a new
>> search class based on the parentclass SearchMySQLwildcards extends
>> SearchMySQL4 {        function legalSearchChars()   {
>> //include + and * as valid characters                return
>> "A-Za-z_'0-9\\x80-\\xFF\\-+*";        }}$strictMatching=false;?>having
>> require_once("extensions/WCS/SearchMySQLwildcards.php"); in the
>> localsettings.phpUnfortunately it will not work. Instead of the required
>> search results there is only a blank page.Does anyone have a comment on
>> this?Kind regardsAlbert Cremer
>>
>>
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l-RusutVdil2icGmH+5r0DM0B+6BGkLq7r at public.gmane.org
>> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>> 






More information about the MediaWiki-l mailing list