Commit graph

125 commits

Author SHA1 Message Date
Brion Vibber
8bfee2f861 Fix double-help message in search results; also some minor style cleanup 2003-12-22 07:54:30 +00:00
Brion Vibber
8b7d497f28 Fix parsing of multi-word expressions; by default behave more like google, with required match on all terms 2003-12-10 01:16:43 +00:00
Brion Vibber
7286862c59 Quote search text for regexp to avoid some errors with +foo etc 2003-12-09 11:39:55 +00:00
Mr. E23
c5bbab5c6e Fix for bug 850489, call on non-object when searching for '_' 2003-11-29 22:41:26 +00:00
Brion Vibber
b84ab27da3 Don't run the query if search is disabled! 2003-11-24 14:47:05 +00:00
Brion Vibber
7ad91ca634 Fix search term in google form, doubled google 2003-11-24 09:51:33 +00:00
Brion Vibber
2def67fb0a fix disable search bug for go 2003-11-24 09:35:11 +00:00
Brion Vibber
e54531a69a Preserve search namespace options across next/prev 2003-11-19 08:33:51 +00:00
Brion Vibber
def0193f31 Use wfMsg()'s parameters 2003-11-15 14:11:30 +00:00
Tim Starling
46787701ce Nov. branch merge. Various features backported from stable, various bug fixes. 2003-11-09 11:45:12 +00:00
Brion Vibber
056c31a27a Google charset fix 2003-09-23 16:23:09 +00:00
Tim Starling
7057b4e609 wfQuery now takes three parameters -- one extra for DB replication purposes 2003-09-20 01:34:06 +00:00
Brion Vibber
2a4f7b9142 Avoid unnecessary globals in go 2003-09-01 08:11:29 +00:00
Brion Vibber
1e400c1793 move '(Main)' from hardcoded string to language file 2003-07-13 23:19:56 +00:00
Arne Heizmann
0c24866acc fix search redirect 2003-07-11 16:45:53 +00:00
Arne Heizmann
9676f72f5a redirect to article when search returns only one 2003-07-11 02:16:01 +00:00
Brion Vibber
dd27c26107 More tweaking for experimental boolean mode 2003-07-10 04:52:57 +00:00
Brion Vibber
36240b826c Fix edit-new-page link for results not found. 2003-07-06 00:29:18 +00:00
Matthias Jordan
01515e038f Implemented the "default namespaces for search" feature. This includes
changes to the preferences form, a new key in the LanguageXX.php files
(defaultns) and a new global config variable in DefaultSettings.php
($wgNamespacesToBeSearchedDefault).

I also killed a bug that produced an errorneous SQL command when the user
failed to check any namespaces to search in the search form. The updated
implementation searched the main namespace if no checkbox is checked.
2003-07-01 08:27:32 +00:00
Erik Moeller
385e46d18b Go button: try all upper case before near match 2003-06-15 08:10:47 +00:00
Erik Moeller
c9e9b7e7b2 Minor go button optimization 2003-06-13 00:10:31 +00:00
Brion Vibber
efca89ebbe Refactor some common code for offsets/limits; some preliminary stuff for upload license notes and mysql4 fulltext support (not ready yet) 2003-06-03 08:44:50 +00:00
T.D. Corell
e7a4c732ef Modified Search to display a link to generate a new page if with 'Go' no
article is found. You have to modify "nogomatch" like demonstrated in
LanguageDE.php to do so. The "showingresultnum" texts are modified, limit
is removed now.
2003-05-21 18:40:54 +00:00
T.D. Corell
2f3f8433fb New function ShowingResultsNum for use in SearchEngine. 2003-05-20 06:15:20 +00:00
Lee Daniel Crocker
d82c14fb4f Initial revision 2003-04-14 23:10:40 +00:00