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
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@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@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Good idea, but how?
Albert Cremer ----- Original Message ----- From: "aretai aretai" aretaiuc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Newsgroups: gmane.org.wikimedia.mediawiki To: "MediaWiki announcements and site admin list" mediawiki-l-RusutVdil2icGmH+5r0DM0B+6BGkLq7r@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@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@public.gmane.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
http://meta.wikimedia.org/wiki/Installing_lucene_search
Hope it helps if not check: http://meta.wikimedia.org/wiki/Fulltext_search_engines
Regards, Aretai ps. You owe me a german beer;)
On 5/15/07, Bert@1&1 albert.cremer@online.de wrote:
Good idea, but how?
Albert Cremer ----- Original Message ----- From: "aretai aretai" aretaiuc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Newsgroups: gmane.org.wikimedia.mediawiki To: "MediaWiki announcements and site admin list" mediawiki-l-RusutVdil2icGmH+5r0DM0B+6BGkLq7r@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@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@public.gmane.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hi there
I think I found the solution to the problem.
Do the following change to the file SearchEnginge.php in /includes
Change Line 148 from public static function legalSearchChars() { to function legalSearchChars() {
I have no idea whether this will impact other functionalities but at least the the wildcard search will work ;-)
Regards Albert Cremer "aretai aretai" aretaiuc@gmail.com schrieb im Newsbeitrag news:5783abc70705140223q5550089m60662569b5a9da6a@mail.gmail.com...
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@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@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
thx will try this on my wiki
On 5/16/07, a. cremer albert.cremer@online.de wrote:
Hi there
I think I found the solution to the problem.
Do the following change to the file SearchEnginge.php in /includes
Change Line 148 from public static function legalSearchChars() { to function legalSearchChars() {
I have no idea whether this will impact other functionalities but at least the the wildcard search will work ;-)
Regards Albert Cremer "aretai aretai" aretaiuc@gmail.com schrieb im Newsbeitrag news:5783abc70705140223q5550089m60662569b5a9da6a@mail.gmail.com...
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@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@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org