Commit graph

20 commits

Author SHA1 Message Date
Aryeh Gregor
a15c419b3d Remove ?>'s from files. They're pointless, and just asking for people to 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.) 2007-06-29 01:19:14 +00:00
Brion Vibber
b08f93c1db Add a free() function on SearchResultSet class, so the underlying result set can be freed 2007-06-06 18:36:11 +00:00
Nick Jenkins
f9619da3f0 Yet more doc tweaks:
* 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.
2007-04-20 08:55:14 +00:00
Nick Jenkins
f88c771756 The war on redundant ampersand usage!
* 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.
2007-01-22 23:50:42 +00:00
Antoine Musso
c771fc9c96 Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
Antoine Musso
5a5cc201b1 having some fun with doxygen error log 2006-06-10 18:28:50 +00:00
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
Antoine Musso
b3ab52afc5 Fix bug 145: finish 'exclude redirect' implementation 2005-08-10 21:12:00 +00:00
Antoine Musso
315d6d6188 limitResult() use 3 argument since ORACLE merge 2005-08-09 10:30:20 +00:00
Niklas Laxström
630df86929 Make the Mysql search work 2005-08-02 21:07:47 +00:00
Brion Vibber
782fe8b5cc * Fix notice on search index update due to non-array 2005-07-22 11:22:55 +00:00
Antoine Musso
157861bc31 fix some issues with phpdoc 2005-07-05 21:22:25 +00:00
Antoine Musso
8eb054cd46 quote 2005-07-03 19:30:38 +00:00
Ævar Arnfjörð Bjarmason
97bfb998ee * Fixed a bug where moving a page would cause the following SQL error when
updating the searchindex:
    UPDATE `Array` SET si_title='page 1' WHERE si_page='2910'
  from within function "SearchMySQL4::updateTitle". MySQL returned error
  "1146: Table 'HEAD.Array' doesn't exist (localhost)".
  The new query causes the following to be executed:
    UPDATE `searchindex` SET si_title='page 1' WHERE si_page='2909'
  (somebody more familiar with the the whole searchindexing code please review
  the while move process)
2005-05-24 14:56:07 +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