Tim Starling
6944ef5b4e
forward-ported $wgSkipSkin from REL1_4, with enhancements
2005-05-29 06:18:10 +00:00
Tim Starling
225a20c35a
Unconditional inclusion for SpecialPage.php, needed for {{special:whatever}}. Fixed getRedirect() to work with this inclusion order.
2005-05-28 11:49:40 +00:00
Ævar Arnfjörð Bjarmason
992b2c4cc8
* - is not a metacharacter in regular expressions, and ^ can be used to invert
...
matches within []
2005-05-25 01:36:38 +00:00
Tim Starling
f2e8bd8bf7
Using a different session name for each database, so they don't interfere with each other. This is only significant where several wikis share a domain.
2005-05-14 09:27:24 +00:00
Brion Vibber
dbd3c6183d
Add WikiError to standard components now that we're using it more widely (though it's already explicitly included in places it's used so far, such as UserMailer and SpecialImport)
2005-04-27 22:38:51 +00:00
Ævar Arnfjörð Bjarmason
cd57e83bef
* Parser.php was being included twice in a row
2005-04-25 12:47:10 +00:00
Tim Starling
66507cbde3
Setup.php-DateFormatter was using a lot of CPU time on the live site. Moved it to on-demand initialisation, with memcached assistance.
2005-04-20 15:42:08 +00:00
Tim Starling
52a4214b20
Smarter, more flexible cache type selection. Moved entire contents of ObjectCache.php to BagOStuff.php, to make way for some more generic code.
2005-04-09 10:30:45 +00:00
Tim Starling
1b76906d65
fixed bug
2005-03-31 12:06:38 +00:00
Magnus Manske
da910c7702
If you call function wfGetIP, it might help to implement it first ;-)
2005-03-31 11:11:37 +00:00
Tim Starling
ce4f1221f1
Adding some validation for IP determination via XFF headers, in preparation for adding ISP proxies to the trusted proxy list, which may occasionally give invalid XFF headers
2005-03-31 09:10:25 +00:00
Tim Starling
ba9ae79212
Fixed efficiency problem with $wgSiteNotice. Introduced wfSiteNotice(), which allows the script to load it on demand instead of on every invocation
2005-03-27 16:56:11 +00:00
Brion Vibber
2de124fdbc
* Installation fixes for running under IIS
...
$_SERVER['REQUEST_URI'] and $_SERVER['SERVER_ADMIN'] aren't set under IIS.
Fall back to $_SERVER['SCRIPT_NAME'] for determining base URL on install.
2005-03-27 06:37:21 +00:00
Brion Vibber
6f5560867c
Start removing the Latin-1 hacks. We're going pure UTF-8 for 1.5...
2005-03-26 22:23:48 +00:00
Brion Vibber
9ea27c3141
Don't force edit encoding when LanguageEo.php is loaded; defer until $wgContLang initialization.
...
This makes editing work on other languages with UI language set to Esperanto in preferences.
2005-03-14 02:00:53 +00:00
Brion Vibber
666d4d5135
Merge changes from 1.4:
...
* Squid purged defered to outside the db transaction
* Partial redirect goodies
* Compression threadhold on memcached
* setproctitle
* Some other tweaks
2005-03-09 02:02:04 +00:00
Brion Vibber
3caa8e7404
eAccelerator caching support, patches from Jamie Bliss
2005-03-02 01:54:05 +00:00
Brion Vibber
9636a88e1c
Clean up experiments for special:data, special:validate, special:geo.
...
Moving these things to extensions if they are needed in the future.
2005-02-18 11:47:36 +00:00
Jens Frank
22da0bbfde
Only include ParserXML when it is being used
2005-01-27 21:46:04 +00:00
Brion Vibber
0defdc6a3e
* Skip message cache initialization on raw page view (quick hack)
...
The MediaWiki:Sitenotice hack as currently written forces message cache initiali
zation early in Setup.php. This adds up to 30% to the runtime on raw page views
and cache hits where no skin output has to be made, and dynamic CSS means we've got a fair amount of raw page views.
2005-01-18 10:16:55 +00:00
Tim Starling
829300bf0a
fix for script execution vulnerability
2005-01-17 08:40:08 +00:00
Tim Starling
8844628487
Minor load balancing improvements
2005-01-15 10:11:45 +00:00
Jens Frank
67b0cf6906
Don't load user object from DB when in command line mode. DB might not yet exist
2005-01-15 07:28:33 +00:00
River Tarnell
fe586bbfc2
wgSquidServersNoPurge
2005-01-12 22:45:39 +00:00
Tim Starling
e1b5e3f57f
porting site notice feature from REL1_3A
2004-12-23 09:12:58 +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
798270581d
(bug 454) Merge e-notif 2.00
...
From http://bugzilla.wikipedia.org/attachment.cgi?id=171&action=view
and extra files from http://www.tgries.de/mw/cvs15+enea200-minus-cvs.tgz
Undid a couple minor bits like the broken changing of minoreditletter.
Have not yet made general corrections/reworkings. Since this changes
the user and watchlist tables, you must run the updaters (installer or
update.php) on an existing database.
2004-12-18 03:47:11 +00:00
Brion Vibber
9169001980
* Fix language selection for upgraded accounts [merge from 1.4]
2004-12-11 09:57:58 +00:00
Brion Vibber
9a2a36ce5e
* Defer message cache initialization, shaving a few ms off file cache hits
2004-12-09 05:51:20 +00:00
Zheng Zhu
7bee69578c
more fixes for languages with no language files; allow UI customization for all languages.
2004-12-07 20:22:22 +00:00
Zheng Zhu
285d1dc09b
fix typo
2004-11-29 15:24:02 +00:00
Tim Starling
5de9529eb1
made connection errors work again
2004-11-29 12:36:43 +00:00
Evan Prodromou
80d9f05b37
Add a system of hooks to allow third-party code to run before, after, or
...
instead of -- MediaWiki code for particular events (article rollback,
user ban, etc.). Framework is in place; hooks are not yet in place
in the mainline code.
2004-11-27 21:43:06 +00:00
Brion Vibber
c7620a7106
Let the parser cache use the objectcache table if memcached isn't set up,
...
and enable it by default. This provides significant speedups on medium
to long pages, though for busier sites the garbage collection probably
should be adjusted.
2004-11-22 01:16:44 +00:00
Brion Vibber
f5a1ac6798
Experimental authentication plugin interface. Will require a little bit more work to nail down all requirements.
2004-11-16 05:28:47 +00:00
Brion Vibber
98e82e9c60
Fix opening of session for users visiting with saved password token
2004-11-15 12:54:45 +00:00
Magnus Manske
a0d7248685
XML parser XHTML output
2004-11-03 14:00:08 +00:00
Tim Starling
7d1442e76f
Backporting concatenated gzip history compression from SCHEMA_WORK. Also made a few tweaks to the compression script, mainly to make it faster for the purposes of a testing sequence I'm currently running on it. Will report to wikitech-l once testing is done.
2004-10-30 14:39:40 +00:00
Jens Frank
8b44e2c9d4
Add $IP to list of globals, since it is undefined otherwise
2004-10-24 08:29:34 +00:00
Tim Starling
1aa60b1361
Fixing multiple-inclusion problems
2004-10-24 02:13:00 +00:00
Tim Starling
4f4cdf87a3
rm obsolete global
2004-10-23 08:24:24 +00:00
Tim Starling
65c32390e9
comments
2004-09-26 13:41:21 +00:00
Tim Starling
91cf173f4a
More informative error message for when the user forgot to move LocalSettings.php. Moved recently-added setup code from index.php to Setup.php where it's meant to be. index.php isn't the only entry point!
2004-09-26 10:41:48 +00:00
Brion Vibber
5537c5b85e
Avoid gratuitously breaking configurations: continue to use
...
$wgLanguageCode in LocalSettings.php, and pass that value on
to $wgContLanguageCode internally.
2004-09-25 10:38:34 +00:00
Brion Vibber
869024bcb4
Adjust some spacing
2004-09-25 10:31:42 +00:00
Brion Vibber
d586617605
Change LanguageEn to be UTF-8 by default. This fixes the problem with
...
language selection destroying non-ASCII characters when English was selected.
2004-09-25 10:08:42 +00:00
Zheng Zhu
ada3997051
first attempt to support multiple language variants in the MediaWiki: namespace.
2004-09-25 04:15:47 +00:00
Zheng Zhu
32c223e2a1
removed caching of UI messages; it does not make sense, after all.
2004-09-25 02:23:04 +00:00
Zheng Zhu
f84493db51
First batch of files modified to switch wgLang to wgContLang.
2004-09-24 13:14:52 +00:00
Zheng Zhu
f30cb1cb19
updated warning about the UI switching code.
2004-09-24 00:49:00 +00:00