Commit graph

17 commits

Author SHA1 Message Date
Domas Mituzas
ca5f647c09 AutoLoad search classes 2006-06-06 10:33:23 +00:00
Brion Vibber
0a26267688 Revert to r14512; domas introduced massive breakage with incomplete experimental changes. They will be recommitted when they work. :) 2006-06-01 08:19:02 +00:00
Domas Mituzas
bda0b8e104 Use AutoLoader to load classes:
* 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.
2006-06-01 07:22:49 +00:00
Brion Vibber
f2c29baf9f Update the FSF's address in all these GPL stub headers 2006-04-05 07:43:17 +00:00
Ævar Arnfjörð Bjarmason
a26d5a49d7 * s~\t+$~~ 2006-01-07 13:31:29 +00:00
Ævar Arnfjörð Bjarmason
7bbe971aec * s~ +$~~ 2006-01-07 13:09:30 +00:00
Brion Vibber
98dbe67e00 * (bug 3948) Avoid notice warning in debug statement in bad search 2005-11-16 10:59: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
f9039cefd9 Spacing; use Title::exists 2005-05-23 05:25:26 +00:00
Brion Vibber
0b86f637f2 Decouple revision.rev_id from text.old_id
* 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.
2005-03-28 10:47:12 +00:00
Antoine Musso
2104f62734 fix phpdoc comment 2005-01-27 19:51:47 +00:00
Brion Vibber
ce980f7822 * (bug 1201) Double-escaping in brokenlinks, imagelinks, categorylinks, searchindex
[forward port from REL1_4]
2005-01-09 21:18:07 +00:00
Brion Vibber
78a3cdd94d * Set MySQL 4 boolean search back to 'and' mode by default 2004-12-24 10:05:20 +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
Brion Vibber
ce4972fafd Fix fatal error on search update 2004-12-07 07:55:26 +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
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