Reorganization of SearchEngine for legibility
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 20 Oct 2004 09:56:34 +0000 (09:56 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 20 Oct 2004 09:56:34 +0000 (09:56 +0000)
commit8ffff3e2e073ee4ce13e35799cbec94997b65a20
tree5825a64cb5ea070b693e12df69c0f88195502f08
parent64829524a859a48635be349cbd49a9e75ae31a05
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
includes/DefaultSettings.php
includes/SearchEngine.php
includes/SearchMySQL3.php [new file with mode: 0644]
includes/SearchMySQL4.php [new file with mode: 0644]
includes/SpecialSearch.php
index.php
tests/.cvsignore [new file with mode: 0644]
tests/RunTests.php
tests/SearchEngineTest.php [new file with mode: 0644]
tests/SearchMySQL3Test.php [new file with mode: 0644]
tests/SearchMySQL4Test.php [new file with mode: 0644]