[Mediawiki-l] Enable Wildcard Search

aretai aretai aretaiuc at gmail.com
Mon May 14 09:23:18 UTC 2007


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 at online.de> 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 at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


More information about the MediaWiki-l mailing list