Domas Mituzas
9ff370792b
woo, revert the revert, apc 3.0.8 seems to work with this :)
2006-06-08 13:08:22 +00:00
Domas Mituzas
01c5458779
revert r14636, private static arrays seem to crash APC on half of our boxen, will have to investigate (or ask nicely Tim to help there)
2006-06-07 13:58:51 +00:00
Domas Mituzas
f8b70b6603
AutoLoad Title.php, move global cache arrays to static Title:: variables
2006-06-07 11:44:10 +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
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
Antoine Musso
2ca68a256d
Clean up unused globals!
2005-12-04 18:27:59 +00:00
River Tarnell
601612d6e1
ponder namespace when creating hash key for cache
2005-07-20 15:02:24 +00:00
Ævar Arnfjörð Bjarmason
273671cf32
Adding cache related stuff to a new 'Cache' subpackage
2005-04-12 01:29:21 +00:00
Brion Vibber
cb0291ef8a
tyop
2004-11-21 02:30:25 +00:00
Brion Vibber
2ceb2294d9
Fix obsolete function call
2004-11-21 02:20:52 +00:00
Zheng Zhu
b15a98c300
fixes Bug 718: Bad charset in cached pages.
2004-10-18 18:13:39 +00:00
Zheng Zhu
f84493db51
First batch of files modified to switch wgLang to wgContLang.
2004-09-24 13:14:52 +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
Brion Vibber
93fcbccb72
Fix for file cache on PHP 4.1.2. The text string seems to be passed by
...
references, and changing it screws things royally; instead make a copy.
2004-08-08 10:15:20 +00:00
Antoine Musso
5c81d06b63
some double quoting replaced by single quoting
2004-06-08 23:56:09 +00:00
Tim Starling
8f22cb45b1
include_once -> require_once
2004-05-07 13:43:10 +00:00
Brion Vibber
0332f4c598
Fix for compatibility with short_open_tag = Off
2004-02-18 02:15:00 +00:00
Brion Vibber
e3bbb66de8
Extract the edit page interface functions out of Article and into separate
...
EditPage class/file. Trying to streamline these things into managable
hunks of source...
2003-08-02 20:43:11 +00:00
Brion Vibber
4348c0b320
Slight cache tweaks; fixes gzip encoding header for newly recached pages
...
on my home test box (worked fine on the real install anyway, but...)
2003-08-02 12:41:30 +00:00
Brion Vibber
c6879704ab
Move file cache functions into CacheManager class (in CacheManager.php)
...
and add support for showing the cached version of a page if unable to
contact the database.
Also add 'Vary: Accept-Encoding' to headers for every output, just to
make sure.
2003-08-02 10:13:27 +00:00