Last modified: 2010-05-15 16:03:12 UTC
The search function on my wiki stopped working, since some versions ago. You can check it here http://wiki.s1mp3.org/Special:Search I have just updated to 1.13.2. Can anyone tell me if there is a way out that doesn't involve a fresh install with hand-backup and hand-insert the pages ? Thanks!
How does it not work, specifically? I was able to search for "test" and get results.
demon, http://wiki.s1mp3.org/Special:Search?search=test&go=Go returns no results, check it again.... it doesn't return anything for any string that you search.
I think I've a similar problem in my wiki (http://www.wecowi.de) it seams that searchterms with 3 and less chars give no results, all other work fine and it seams that it has something todo with the mysql statement, because when using the statment given in http://www.mediawiki.org/wiki/Searchindex_table and querying directly to the database also retunrs no result so maybe it's also a bug in MySQL, although wecowi is using "5.0.32-Debian_7etch6" and s1mp2.org "5.0.67-log" on wikimedia with "4.0.40-wikimedia-log" it works correctly
"searchterms with 3 and less chars give no results," -- that's not a bug, according to then it's a "feature", check the documentation :) with my with, though, it doesn't matter the length of the string, it doesn't return anything anyways :/
how ^demon said, when using "test" it returns a result! how I said, the searching of short strings in wikipedia works (MySQL4) in wikis with MySQL5 it does not work for the first there should be displayed a message when a to short string is search to not confuse the users
Ahn, I got it! But, when you put test on the search box on the left "seach" window, it doesn't work. it only works if you place the search terms directly on the search page, and not on the mini-search window. DaSch, Demon, can you guys confirm that ? Thanks!
still there in 1.13.3 There should be done something, maybe only a message that searching with less then 3 characters does not work
This looks like your URL rewriting rules are bad and are not passing on the query string. If doing this with Apache's mod_rewrite, you should add the [QSA] option to your rule definition. (Note the totally unrelated 3-letter issue is dealt with in the upcoming 1.14 release -- bug 7726. You can of course fix your MySQL configuration manually and fix it for any version of MediaWiki.)
Brion, The search page was passing the query string to index.php, and that was working, so I manually changed the search box to pass the query to index.php, and now that works ... How would apache not be passing on the querystring ? Can you give me an example ? Thanks a lot for the help.
isn't this fixed? works in my wiki
The 3-letter-word bug was resolved FIXED, as Brion mentioned above. The other issue is related to rewrite rules, which WORKSFORME.