Antoine Musso
e4145dda57
killing double quotes. width attribute is invalid for input element, using size instead (the value is the number of character)
2005-10-22 21:33:53 +00:00
Ævar Arnfjörð Bjarmason
2f4230678a
* Adding a SpecialSearchNogomatch hook to catch pages searched for with the go
...
button that don't exist.
2005-09-19 13:06:09 +00:00
Brion Vibber
64343fe186
Corrected fix for injection
2005-08-25 04:15:16 +00:00
Antoine Musso
31f9baa742
XSS issue : now sanitize search query input
2005-08-25 03:42:18 +00:00
Brion Vibber
af2177edfd
Code cleanup: normalize case for intval(), strval(), floatval() calls.
2005-08-16 23:36:16 +00:00
Antoine Musso
b3ab52afc5
Fix bug 145: finish 'exclude redirect' implementation
2005-08-10 21:12:00 +00:00
Niklas Laxström
630df86929
Make the Mysql search work
2005-08-02 21:07:47 +00:00
Antoine Musso
ede303724a
FIX #655 : when user enter an empty search query:
...
* show an empty search form
* hide subtitle
2005-07-12 14:57:04 +00:00
Ævar Arnfjörð Bjarmason
7d2a81f4df
* Removed htmlspecialchars(), everything given to setSubtitle() now goes
...
through the parser so this is redundant.
2005-06-24 23:02:36 +00:00
Brion Vibber
aa99b80d7f
Change the SearchEngine interface around:
...
* Reduce some duplicated code between MySQL 3 and 4 classes
* Generalize some things to better support Lucene search plugin
2005-05-23 08:42:20 +00:00
Brion Vibber
493c8dce7f
* (bug 2041) prepend : to thingy and floo boo boo wigwam. this commit message isn't very good. something about searching.
2005-05-02 02:13:25 +00:00
Ævar Arnfjörð Bjarmason
4910a35ed8
* Now passing msg:search as the third paramater to googlesearch
2005-04-29 18:44:24 +00:00
Ævar Arnfjörð Bjarmason
774967012b
* addWikitext instead of addHTML
2005-04-25 09:05:18 +00:00
Antoine Musso
2104f62734
fix phpdoc comment
2005-01-27 19:51:47 +00:00
Brion Vibber
cbf9973aaf
* Fix missing search box contents in MonoBook skin
...
* Add option to forward search directly to an external URL (eg google)
* Add parser test for bug 1219 URL next to image
2005-01-07 03:25:49 +00:00
Brion Vibber
2b1127fe90
Start splitting back-end functions from the Article user-interface class.
...
Fix Special:Export for new schema.
2004-12-19 12:21:29 +00:00
Brion Vibber
64ac6b8e77
Merge SCHEMA_WORK into HEAD. Lots of changes, some things are probably broken:
...
* Page moves/overwrites are a little iffy
* Compression might not be working right
* Profit!
2004-12-19 08:00:50 +00:00
Domas Mituzas
811f7fb65b
* move SpecialSearch::getSearchEngines() to SearchEngine::create()
...
* add SearchEngine*::update() and updateTitle()
* move sql queries from SearchUpdate to SearchEngine* (update and updateTitle()
2004-12-02 19:09:40 +00:00
Zheng Zhu
a24386a900
better support for multiple language variants when displaying the search result.
2004-11-29 01:46:23 +00:00
Domas Mituzas
2e8d866b9d
PostgreSQL/Tsearch2 full-text-index initial support
2004-11-25 14:20:35 +00:00
Brion Vibber
f0cf55cf80
Profiling points. Avoid reparsing of titles which came out of the database. Snip off extract, no point in wasteful extra string copying (snort)
2004-11-25 11:54:07 +00:00
Zheng Zhu
20f00fa6da
Really show the desired number of lines per hit.
2004-11-25 03:04:50 +00:00
Brion Vibber
8ffff3e2e0
Reorganization of SearchEngine for legibility
...
* Removed 'fuzzy title search', it's not been maintained and generally produces unexpected and unwanted results
* Separated search guts (in SearchEngine) from display/control (in SpecialSearch)
* Extracted MySQL3 and MySQL4 variants to subclasses
* Added PHPUnit tests for MySQL3 and MySQL4 search engines, which try to use temporary tables to fiddle in (if configured)
* comments n stuff
2004-10-20 09:56:34 +00:00
Antoine Musso
ba2afcd9fa
Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema
2004-09-03 23:00:01 +00:00
Antoine Musso
90155b8a97
Changing comments layout preparing for generated documentation with Phpdocumentor
2004-09-02 23:28:24 +00:00
Brion Vibber
dde3967d28
Don't include SearchEngine.php when it's not used. Saves about 180k of memory at runtime.
2004-08-21 09:51:01 +00:00
Brion Vibber
41c8b7bf72
Antiglobalization!
...
* Remove some unused and some useless functions from GlobalSettings.php
* wfEscapeHTML() replaced with PHP built-in htmlspecialchars().
* Moved some functions into Parser.php and Image.php
2004-08-13 15:55:59 +00:00
Brion Vibber
1fa5b6628a
Forgot to add the actual special file, whoops
2004-04-24 06:27:16 +00:00