Commit graph

28 commits

Author SHA1 Message Date
Siebrand Mazeland
79d5225c0e * remove end of line whitespace
* remove empty lines at end of file
* remove "?>" where still present
2008-04-14 07:45:50 +00:00
Tim Starling
fbfb509df5 * Introduced LBFactory -- an abstract class for configuring database load balancers and connecting to foreign DBs.
* Wrote two concrete implementations. LBFactory_Simple is for general installations. LBFactory_Multi will replace the runtime configuration used on Wikimedia and allow load-balanced connections to any DB. 
* Ported Special:Userrights, CentralAuth and OAI audit to the LBFactory system. 
* Added ForeignDBViaLBRepo, a file repository which uses LBFactory.
* Removed $wgLoadBalancer and $wgAlternateMaster
* Improved the query group concept to allow failover and lag control
* Improved getReaderIndex(), it will now try all servers before waiting, instead of waiting after each.
* Removed the $fail parameter to getConnection(), obsolete. 
* Removed the useless force() function. 
* Abstracted the replication position interface to allow for future non-MySQL support.
* Rearranged Database.php. Added a few debugging features. 
* Removed ancient benet-specific hack from waitForSlave.php
2008-03-30 09:48:15 +00:00
Tim Starling
e91d944a66 typo, thanks ialex 2008-02-06 16:53:21 +00:00
Tim Starling
3b5becc91d Allow a list of tags for settings fallback, in addition to wiki name, suffix and default. Committing for test on server. 2008-02-06 15:56:25 +00:00
Brion Vibber
2bd5acda1a Commit ver of doReplace that *doesn't* cause infinite recursion and stack death 2008-01-19 06:26:39 +00:00
Brion Vibber
43d58f74c8 SiteConfiguration was smashing all variables into strings (or arrays of strings) with the str_replace.
This broke on things that wanted an actual 'false' or 'null' value exactly (or ints, though haven't run across such).
Changed to a type-safe replace that only does replaces on strings and strings in subarrays
2008-01-19 06:06:49 +00:00
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
Nick Jenkins
bd23ec29c6 Doc tweaks:
* Seems like an opportune time to introduce "@addtogroup Media" documentation tags.
* Merge "@addtogroup Metadata" (used by Exif.php) into "@addtogroup Media".
* Few more moving comment blocks to above classes.
2007-04-24 06:53:31 +00:00
Antoine Musso
c771fc9c96 Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
Tim Starling
c1a789c620 rv useless feature 2006-06-04 05:37:31 +00:00
Tim Starling
f65abf71c9 support for array overrides and appends 2006-06-04 05:18:52 +00:00
Antoine Musso
7ebdb6de89 Revert to r14165 . Did too many changes, didnt even run parserTests (i am bad) 2006-05-11 22:40:38 +00:00
Antoine Musso
bc14eb8045 Replacing var keyword with private / public as we now require PHP5. 2006-05-11 19:10:41 +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
Tim Starling
09eaa53177 Simpler structure for wgLocalDatabases, for faster setup. SiteConfiguration::getAll() to get all settings as an array 2006-01-04 22:48:35 +00:00
Tim Starling
054a83e77e don't produce warnings in get() if the item is missing 2005-08-14 07:22:36 +00:00
Brion Vibber
4ab22c2ed9 * (bug 2769) Use '-' form for language consistently on command-line
* Fixlets to rebuildImages.php: clear memcached, indicate missing
2005-07-11 00:47:00 +00:00
Antoine Musso
157861bc31 fix some issues with phpdoc 2005-07-05 21:22:25 +00:00
Tim Starling
bf452fdc63 Made a SiteConfiguration object generally available. Added functions for performing an HTTP client request using curl. This will be used in the SpamBlacklist extension, and hopefully Lucene as well. 2005-06-26 06:34:13 +00:00
Tim Starling
0c0c2dcde7 protection from multiple includes (from REL1_3A) 2004-09-26 08:06:04 +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
Antoine Musso
3d60242fb5 massive double to single quotes conversion. I have not noticed any bug after a lot of testing 2004-08-22 17:24:50 +00:00
Tim Starling
7eb174f7bd Added siteFromDB(), used in commandLine.inc 2004-08-14 06:03:10 +00:00
Tim Starling
0b2fb67cd1 bug fix ported from REL1_3 2004-07-30 12:49:06 +00:00
Tim Starling
a0368b8091 Bug fixes 2004-05-24 03:59:38 +00:00
Tim Starling
5cec39714b configuration of the live site 2004-05-23 15:00:46 +00:00