Commit graph

20 commits

Author SHA1 Message Date
Antoine Musso
c771fc9c96 Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
Tim Starling
3005679b0e * Removed lots of explicit require_once statements. The autoloader should theoretically be faster, because it always uses an absolute path, eliminating the need for a search, and it is never called unnecessarily. Absolute paths are also more robust in the face of odd configurations or usage patterns. Moved a few constants around to support this, they always have to be available before the method call.
* Deleted DatabaseMysql.php, no longer necessary, database classes are autoloaded. 
* Moved wfGetMimeMagic() to MimeMagic::singleton()
* Fixed a couple of __CLASS__.'::'.__FUNCTION__ things.
2006-10-03 13:00:52 +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
Antoine Musso
69689725c1 Switching from phpdoc to doxygen (use less than 32MB of memory).
Run maintenance/mwdocgen.php to generate doc in ./docs/html/ .
2006-04-19 15:46:24 +00:00
Brion Vibber
4d0d2e56e5 Fixed bogus fallback to master in external storage.
It was loading a second time from the slave, *and* the logging code had a typo so didn't show it.
2006-03-14 00:47:58 +00:00
Lupin
11337038b3 removing unused globals and some whitespace cleaning 2006-03-07 01:10:39 +00:00
Domas Mituzas
491173a7e7 *g*, bypass lag checks for external store (as it already fallbacks to master) 2006-01-23 15:28:17 +00:00
Tim Starling
c8b679135c Try the master if a blob is not found in the slave 2006-01-19 03:55:03 +00:00
Tim Starling
679b0e69b8 Option to write text directly to external storage. 2006-01-09 03:16:56 +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
af47b8260c Ability to set the blobs table name for any server in an external cluster. This would allow, for example, the merging of all external storage for a large wikipedia dump into a single database, with "clusters" distinguished by table name. 2005-10-29 01:41:36 +00:00
Brion Vibber
41d6bf368b * Correct blob caching to reduce redundant blob loads on backups 2005-09-16 12:00:23 +00:00
Tim Starling
46225147f9 removed relic 2005-08-14 16:28:46 +00:00
Tim Starling
65abef703b support for two-part external storage URLs referring to parts of history blobs 2005-08-14 07:18:34 +00:00
Antoine Musso
157861bc31 fix some issues with phpdoc 2005-07-05 21:22:25 +00:00
Jens Frank
aa8d2db46d Make HistoryStub ExternalStore-aware. Renamed external table, so that it can be inside of the same DB for testing purposes 2005-05-23 06:30:29 +00:00
Jens Frank
d2949d9a21 uppercase URL 2005-05-21 10:25:51 +00:00
Jens Frank
ac3b9bd93e Class for storing objects in an external DB cluster 2005-05-21 10:15:39 +00:00