aboutsummaryrefslogtreecommitdiffstats
path: root/includes/SearchMySQL4.php
Commit message (Collapse)AuthorAgeFilesLines
* Move search related includes to includes/search/Chad Horohoe2009-07-301-34/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/54056
* Revert r36413 -- renaming of search files into 'search' subdirectoryBrion Vibber2008-06-191-0/+34
| | | | | | | | The loss of specific names would create a visible name conflict; when you've got "MySQL.php" open, what the hell is it? Is it the DatabaseMySQL class? Some other random MySQL-related thing? Update.php is also confusing -- we have an update.php which is a command-line script. Don't do these confusing names; there's no pressing functional need to move the files at all, but if you must move them at least keep their distinct names so I can find my code. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/36480
* Recommit r36403 with working version history hopefully: Move Search*.php to ↵Bryan Tong Minh2008-06-181-34/+0
| | | | | | | search/*.php Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/36413
* Revert r36403: Breaking SVN version historyBryan Tong Minh2008-06-181-0/+34
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/36412
* More ~/includes cleanup. Moving all the Search*.php files to ~/includes/search.Chad Horohoe2008-06-171-34/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/36403
* WARNING: HUGE COMMITAlexandre Emsenhuber2008-05-201-1/+6
| | | | | | | | | | | | | | | | | | Doxygen documentation update: * Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group. * Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file. * Removed some empty comments * Removed some ?> Added following groups: * ExternalStorage * JobQueue * MaintenanceLanguage One more thing: there are still a lot of warnings when generating the doc. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/35098
* * (bug 11563) Deprecated SearchMySQL4 class; merged code to SearchMySQLBrion Vibber2008-03-181-49/+4
| | | | | | | Some general cleanup on search backend code style :) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/32143
* * (bug 278) Search results no longer highlight incorrect partial word matchesBrion Vibber2007-10-011-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/26269
* * (bug 4021) Fix for MySQL wildcard searchBrion Vibber2007-09-111-1/+7
| | | | | | | | * (bug 10699) Fix for MySQL phrase search Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/25794
* Remove ?>'s from files. They're pointless, and just asking for people to ↵Aryeh Gregor2007-06-291-1/+1
| | | | | | | mess with the files and add trailing whitespace. (Yes, I looked over every one and reverted those that were bogus. Slash-enter a million times in less worked well enough, although it was a bit mind-numbing.) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/23531
* Yet more doc tweaks:Nick Jenkins2007-04-201-4/+0
| | | | | | | | | * Add @addtogroup tags to various classes, to try and group conceptually-related classes together. * Add brief descriptions to various Special pages, thanks to Phil Boswell. * Moving some docs to be right above the classes they represent, so that they are picked up. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/21402
* The war on redundant ampersand usage!Nick Jenkins2007-01-221-2/+2
| | | | | | | | | | | | * Convert "$dbw =& wfGetDB( DB_MASTER );" --> "$dbw = wfGetDB( DB_MASTER );" * convert "$skin =& $wgUser->getSkin();" --> "$skin = $wgUser->getSkin();" For the time being have not changed the function definitions of wfGetDB() or User::getSkin() [i.e. they are still both return-by-ref], so as to ensure the interface does not change for extensions [some of which may still be trying to run on PHP4 environments]. However presumably at some point this can be changed too. Also includes tiny tweak to newlines in parserTests - will show 1 rather than 2 newlines between the "Reading tests from" strings when in quiet mode. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/19598
* Use Doxygen @addtogroup instead of phpdoc @package && @subpackageAntoine Musso2007-01-201-4/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/19502
* Completing code housekeeping stuff for rest of includes/ directory: removing ↵Nick Jenkins2006-11-291-1/+2
| | | | | | | unused local vars, removing unused globals, replacing extract() where simple to do, declaring output arrays before calling preg_match(), and so forth. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/17991
* AutoLoad search classesDomas Mituzas2006-06-061-2/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/14600
* Revert to r14512; domas introduced massive breakage with incomplete ↵Brion Vibber2006-06-011-0/+2
| | | | | | | experimental changes. They will be recommitted when they work. :) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/14516
* Use AutoLoader to load classes:Domas Mituzas2006-06-011-2/+0
| | | | | | | | | | | * remove require_once() throughout whole code, yet left in few places * move global functions in HttpUtils, ProxyTools, Credits to class methods * php5 only: __autoload() now used, combined with class->file map and require() * move initialization of $wgValidSkinNames to Skin::getSkinNames() * few more changes that will surely break stuff. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/14513
* Update the FSF's address in all these GPL stub headersBrion Vibber2006-04-051-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/13489
* * s~\t+$~~Ævar Arnfjörð Bjarmason2006-01-071-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/12476
* * s~ +$~~Ævar Arnfjörð Bjarmason2006-01-071-4/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/12472
* * (bug 3948) Avoid notice warning in debug statement in bad searchBrion Vibber2005-11-161-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/11745
* Change the SearchEngine interface around:Brion Vibber2005-05-231-44/+2
| | | | | | | | * Reduce some duplicated code between MySQL 3 and 4 classes * Generalize some things to better support Lucene search plugin Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9144
* Spacing; use Title::existsBrion Vibber2005-05-231-18/+18
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9140
* Decouple revision.rev_id from text.old_idBrion Vibber2005-03-281-4/+5
| | | | | | | | | | | | | * This will allow the backend text storage to use different id numbers * Revisions noting metadata changes can be added to history without duplicating text (implemented for page move) This changes the revision table schema and requires running update.php or maintenance/archives/patch-rev_text_id.sql on existing test wikis. PostgreSQL table defs are still not in sync, so not updated. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7964
* fix phpdoc commentAntoine Musso2005-01-271-22/+31
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7278
* * (bug 1201) Double-escaping in brokenlinks, imagelinks, categorylinks, ↵Brion Vibber2005-01-091-2/+2
| | | | | | | | | searchindex [forward port from REL1_4] Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6983
* * Set MySQL 4 boolean search back to 'and' mode by defaultBrion Vibber2004-12-241-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6825
* Merge SCHEMA_WORK into HEAD. Lots of changes, some things are probably broken:Brion Vibber2004-12-191-4/+5
| | | | | | | | | * Page moves/overwrites are a little iffy * Compression might not be working right * Profit! Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6710
* Fix fatal error on search updateBrion Vibber2004-12-071-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6549
* * move SpecialSearch::getSearchEngines() to SearchEngine::create()Domas Mituzas2004-12-021-1/+24
| | | | | | | | * add SearchEngine*::update() and updateTitle() * move sql queries from SearchUpdate to SearchEngine* (update and updateTitle() Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6468
* Reorganization of SearchEngine for legibilityBrion Vibber2004-10-201-0/+83
* 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 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5980