<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://assela.pathirana.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Khitrenovich</id>
	<title>assela Pathirana - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://assela.pathirana.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Khitrenovich"/>
	<link rel="alternate" type="text/html" href="https://assela.pathirana.net/index.php?title=Special:Contributions/Khitrenovich"/>
	<updated>2026-05-13T19:08:14Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.0</generator>
	<entry>
		<id>https://assela.pathirana.net/index.php?title=Talk:Wildcard_Search_Extension&amp;diff=3703</id>
		<title>Talk:Wildcard Search Extension</title>
		<link rel="alternate" type="text/html" href="https://assela.pathirana.net/index.php?title=Talk:Wildcard_Search_Extension&amp;diff=3703"/>
		<updated>2007-10-02T13:07:26Z</updated>

		<summary type="html">&lt;p&gt;Khitrenovich: MW site link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== MediaWiki ==&lt;br /&gt;
&lt;br /&gt;
Updated version of th extension on MediaWiki site: http://www.mediawiki.org/wiki/Extension:Wildcard_search. --[[User:Khitrenovich|Anton]] 22:07, 2 October 2007 (JST)&lt;br /&gt;
&lt;br /&gt;
== Range out of order ==&lt;br /&gt;
&lt;br /&gt;
I would love to try this extension but I get the following error message when I try a search&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Warning: preg_replace() [function.preg-replace]: Compilation failed: range out of order in character class at offset 27 in /var/www/localhost/htdocs/mediawiki/includes/SearchEngine.php on line 188&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m running the following versions on gentoo linux&lt;br /&gt;
&lt;br /&gt;
* MediaWiki: 1.8.3 &lt;br /&gt;
* PHP: 5.1.6-pl6-gentoo (apache2handler) &lt;br /&gt;
* MySQL: 5.0.26-log&lt;br /&gt;
&lt;br /&gt;
Any ideas?&lt;br /&gt;
&lt;br /&gt;
-- answering my own question here - but I modified the legalSearchChars in the extension and it works the way I like now.  I copied the line from SearchEngine.php and added +* to it.  &lt;br /&gt;
&lt;br /&gt;
Thanks for the framework!&lt;br /&gt;
&lt;br /&gt;
The first time I tried this extension, it stopped all searches working on our site - after a little searching in the code for SearchEngine.php I noticed that the code in your extension has an error in it&lt;br /&gt;
&lt;br /&gt;
* your code:           return &amp;quot;A-Za-z_&amp;#039;0-9¥¥x80-¥¥xFF¥¥-+*&amp;quot;;&lt;br /&gt;
* Mediawiki code:      return &amp;quot;A-Za-z_&amp;#039;0-9\\x80-\\xFF\\-+*&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
\\ has been converted to ¥¥ for some reason&lt;br /&gt;
&lt;br /&gt;
As soon as I changed it in the extension, everything started working properly! Thanks for the work! &lt;br /&gt;
Someone should change this in the article... --[[User:Sebastian.Dietrich|Sebastian.Dietrich]] 20:27, 2 March 2007 (JST)&lt;br /&gt;
&lt;br /&gt;
== does not work with preceding wildcards ==&lt;br /&gt;
&lt;br /&gt;
unfortunately this extension does not work if the wildcard is preceded (e.g. searching for &amp;quot;*rabbi&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
== PHP Notice:  Use of undefined constant ==&lt;br /&gt;
&lt;br /&gt;
The following message can be found in error log of web server: &amp;lt;code&amp;gt;&amp;quot;[Mon Oct 01 14:46:51 2007] [error] [client ...] PHP Notice:  Use of undefined constant SearchMySQLwildcards - assumed &amp;#039;SearchMySQLwildcards&amp;#039; in .../SearchMySQLwildcards.php on line 11, referer: ...&amp;quot;&amp;lt;/code&amp;gt;. In order to solve the issue, replace &lt;br /&gt;
 $wgSearchType = SearchMySQLwildcards;&lt;br /&gt;
with&lt;br /&gt;
 $wgSearchType = &amp;#039;&amp;#039;&amp;#039;&amp;amp;#39;&amp;#039;&amp;#039;&amp;#039;SearchMySQLwildcards&amp;#039;&amp;#039;&amp;#039;&amp;amp;#39;&amp;#039;&amp;#039;&amp;#039;;&lt;br /&gt;
[[User:Khitrenovich|Anton]] 22:07, 1 October 2007 (JST)&lt;br /&gt;
&lt;br /&gt;
==Problems with MW 1.11==&lt;br /&gt;
I can&amp;#039;t get this one to work with the following configuration&lt;br /&gt;
*  MediaWiki: 1.11.0&lt;br /&gt;
* PHP: 5.1.2 (apache2handler)&lt;br /&gt;
* MySQL: 5.0.18&lt;br /&gt;
I just get a white screen. Any ideas? Anyone got it to work under 1.11? --[[User:Flominator|Flominator]] 19:27, 2 October 2007 (JST)&lt;br /&gt;
: Take a look at the error log of your web server (usually &amp;lt;code&amp;gt;/var/log/httpd/error_log&amp;lt;/code&amp;gt; for Apache under Linux). [[User:Khitrenovich|Anton]] 19:31, 2 October 2007 (JST)&lt;br /&gt;
:: Awesome hint. Thank you very much. The error_log was at &amp;lt;code&amp;gt;/var/log/apache2 &amp;lt;/code&amp;gt; and showed me [http://www.mediawiki.org/w/index.php?title=Extension%3AWildcard_search&amp;amp;diff=135964&amp;amp;oldid=132128 my mistake]. --[[User:Flominator|Flominator]] 20:31, 2 October 2007 (JST)&lt;/div&gt;</summary>
		<author><name>Khitrenovich</name></author>
	</entry>
	<entry>
		<id>https://assela.pathirana.net/index.php?title=Talk:Wildcard_Search_Extension&amp;diff=3701</id>
		<title>Talk:Wildcard Search Extension</title>
		<link rel="alternate" type="text/html" href="https://assela.pathirana.net/index.php?title=Talk:Wildcard_Search_Extension&amp;diff=3701"/>
		<updated>2007-10-02T10:31:09Z</updated>

		<summary type="html">&lt;p&gt;Khitrenovich: /* Problems with MW 1.11 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I would love to try this extension but I get the following error message when I try a search&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Warning: preg_replace() [function.preg-replace]: Compilation failed: range out of order in character class at offset 27 in /var/www/localhost/htdocs/mediawiki/includes/SearchEngine.php on line 188&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m running the following versions on gentoo linux&lt;br /&gt;
&lt;br /&gt;
* MediaWiki: 1.8.3 &lt;br /&gt;
* PHP: 5.1.6-pl6-gentoo (apache2handler) &lt;br /&gt;
* MySQL: 5.0.26-log&lt;br /&gt;
&lt;br /&gt;
Any ideas?&lt;br /&gt;
&lt;br /&gt;
-- answering my own question here - but I modified the legalSearchChars in the extension and it works the way I like now.  I copied the line from SearchEngine.php and added +* to it.  &lt;br /&gt;
&lt;br /&gt;
Thanks for the framework!&lt;br /&gt;
&lt;br /&gt;
The first time I tried this extension, it stopped all searches working on our site - after a little searching in the code for SearchEngine.php I noticed that the code in your extension has an error in it&lt;br /&gt;
&lt;br /&gt;
* your code:           return &amp;quot;A-Za-z_&amp;#039;0-9¥¥x80-¥¥xFF¥¥-+*&amp;quot;;&lt;br /&gt;
* Mediawiki code:      return &amp;quot;A-Za-z_&amp;#039;0-9\\x80-\\xFF\\-+*&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
\\ has been converted to ¥¥ for some reason&lt;br /&gt;
&lt;br /&gt;
As soon as I changed it in the extension, everything started working properly! Thanks for the work!&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Someone should change this in the article... --[[User:Sebastian.Dietrich|Sebastian.Dietrich]] 20:27, 2 March 2007 (JST)&lt;br /&gt;
&lt;br /&gt;
== does not work with preceding wildcards ==&lt;br /&gt;
&lt;br /&gt;
unfortunately this extension does not work if the wildcard is preceded (e.g. searching for &amp;quot;*rabbi&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== PHP Notice:  Use of undefined constant ==&lt;br /&gt;
&lt;br /&gt;
The following message can be found in error log of web server: &amp;lt;code&amp;gt;&amp;quot;[Mon Oct 01 14:46:51 2007] [error] [client ...] PHP Notice:  Use of undefined constant SearchMySQLwildcards - assumed &amp;#039;SearchMySQLwildcards&amp;#039; in .../SearchMySQLwildcards.php on line 11, referer: ...&amp;quot;&amp;lt;/code&amp;gt;. In order to solve the issue, replace &lt;br /&gt;
 $wgSearchType = SearchMySQLwildcards;&lt;br /&gt;
with&lt;br /&gt;
 $wgSearchType = &amp;#039;&amp;#039;&amp;#039;&amp;amp;#39;&amp;#039;&amp;#039;&amp;#039;SearchMySQLwildcards&amp;#039;&amp;#039;&amp;#039;&amp;amp;#39;&amp;#039;&amp;#039;&amp;#039;;&lt;br /&gt;
[[User:Khitrenovich|Anton]] 22:07, 1 October 2007 (JST)&lt;br /&gt;
&lt;br /&gt;
==Problems with MW 1.11==&lt;br /&gt;
I can&amp;#039;t get this one to work with the following configuration&lt;br /&gt;
*  MediaWiki: 1.11.0&lt;br /&gt;
* PHP: 5.1.2 (apache2handler)&lt;br /&gt;
* MySQL: 5.0.18&lt;br /&gt;
I just get a white screen. Any ideas? Anyone got it to work under 1.11? --[[User:Flominator|Flominator]] 19:27, 2 October 2007 (JST)&lt;br /&gt;
: Take a look at the error log of your web server (usually &amp;lt;code&amp;gt;/var/log/httpd/error_log&amp;lt;/code&amp;gt; for Apache under Linux). [[User:Khitrenovich|Anton]] 19:31, 2 October 2007 (JST)&lt;/div&gt;</summary>
		<author><name>Khitrenovich</name></author>
	</entry>
	<entry>
		<id>https://assela.pathirana.net/index.php?title=Talk:Wildcard_Search_Extension&amp;diff=3689</id>
		<title>Talk:Wildcard Search Extension</title>
		<link rel="alternate" type="text/html" href="https://assela.pathirana.net/index.php?title=Talk:Wildcard_Search_Extension&amp;diff=3689"/>
		<updated>2007-10-01T13:07:48Z</updated>

		<summary type="html">&lt;p&gt;Khitrenovich: PHP Notice:  Use of undefined constant&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I would love to try this extension but I get the following error message when I try a search&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Warning: preg_replace() [function.preg-replace]: Compilation failed: range out of order in character class at offset 27 in /var/www/localhost/htdocs/mediawiki/includes/SearchEngine.php on line 188&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m running the following versions on gentoo linux&lt;br /&gt;
&lt;br /&gt;
* MediaWiki: 1.8.3 &lt;br /&gt;
* PHP: 5.1.6-pl6-gentoo (apache2handler) &lt;br /&gt;
* MySQL: 5.0.26-log&lt;br /&gt;
&lt;br /&gt;
Any ideas?&lt;br /&gt;
&lt;br /&gt;
-- answering my own question here - but I modified the legalSearchChars in the extension and it works the way I like now.  I copied the line from SearchEngine.php and added +* to it.  &lt;br /&gt;
&lt;br /&gt;
Thanks for the framework!&lt;br /&gt;
&lt;br /&gt;
The first time I tried this extension, it stopped all searches working on our site - after a little searching in the code for SearchEngine.php I noticed that the code in your extension has an error in it&lt;br /&gt;
&lt;br /&gt;
* your code:           return &amp;quot;A-Za-z_&amp;#039;0-9¥¥x80-¥¥xFF¥¥-+*&amp;quot;;&lt;br /&gt;
* Mediawiki code:      return &amp;quot;A-Za-z_&amp;#039;0-9\\x80-\\xFF\\-+*&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
\\ has been converted to ¥¥ for some reason&lt;br /&gt;
&lt;br /&gt;
As soon as I changed it in the extension, everything started working properly! Thanks for the work!&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Someone should change this in the article... --[[User:Sebastian.Dietrich|Sebastian.Dietrich]] 20:27, 2 March 2007 (JST)&lt;br /&gt;
&lt;br /&gt;
== does not work with preceding wildcards ==&lt;br /&gt;
&lt;br /&gt;
unfortunately this extension does not work if the wildcard is preceded (e.g. searching for &amp;quot;*rabbi&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== PHP Notice:  Use of undefined constant ==&lt;br /&gt;
&lt;br /&gt;
The following message can be found in error log of web server: &amp;lt;code&amp;gt;&amp;quot;[Mon Oct 01 14:46:51 2007] [error] [client ...] PHP Notice:  Use of undefined constant SearchMySQLwildcards - assumed &amp;#039;SearchMySQLwildcards&amp;#039; in .../SearchMySQLwildcards.php on line 11, referer: ...&amp;quot;&amp;lt;/code&amp;gt;. In order to solve the issue, replace &lt;br /&gt;
 $wgSearchType = SearchMySQLwildcards;&lt;br /&gt;
with&lt;br /&gt;
 $wgSearchType = &amp;#039;&amp;#039;&amp;#039;&amp;amp;#39;&amp;#039;&amp;#039;&amp;#039;SearchMySQLwildcards&amp;#039;&amp;#039;&amp;#039;&amp;amp;#39;&amp;#039;&amp;#039;&amp;#039;;&lt;br /&gt;
[[User:Khitrenovich|Anton]] 22:07, 1 October 2007 (JST)&lt;/div&gt;</summary>
		<author><name>Khitrenovich</name></author>
	</entry>
</feed>