Commit graph

585 commits

Author SHA1 Message Date
Brion Vibber
9e53bfc81c Imported the register_globals hack from REL1_2. Also starting work on
elimination of the use of import_request_variables (which gives us all
the insecurity of register_globals). Uncomment the define of DEBUG_GLOBALS
in index.php to turn on extra error reporting and trace down use of
uninitialized variables and nassssty globals.

Also rearranged the magic_quotes fixing, may not yet cover everything...
2004-03-08 01:51:32 +00:00
Tim Starling
d48da59e31 Oops, left debug output in 2004-03-06 02:13:59 +00:00
Tim Starling
840dee3ad4 * Fixed magic quotes in $_REQUEST, in Setup.php
* Converted many instances of globals from the query to $_REQUEST
* Renamed near-useless Title::getURL() to Title::getPartialURL()
* Created new Title::getURL(), to replace wfLocalUrl, wfLocalUrlE, wfFullUrl and wfFullUrlE. Replaced most instances throughout the code
* In Parser.php, generalised stripping of <nowiki>, <pre> and <math> to allow more general use such as nesting
* Moved body of Article::preSaveTransform to Parser.php
* Put lots of comments in Title.php
2004-03-06 01:49:16 +00:00
Tim Starling
db41d9ae7c Parser improvements: global variable destruction 2004-02-29 08:43:29 +00:00
Tim Starling
ee73b49007 Split parser from OutputPage into Parser.php, corrected spelling of "suppress", a few other bits and pieces 2004-02-26 13:37:26 +00:00
Brion Vibber
0332f4c598 Fix for compatibility with short_open_tag = Off 2004-02-18 02:15:00 +00:00
Tim Starling
e2f98922df Two blocking features: IP range blocks, and expiry times configurable block-by-block.
Possible issue: uses strtotime(), which is very handy but in English
2004-02-14 12:37:25 +00:00
Brion Vibber
f8a0e5f939 Only check X-Forwarded-For if we're in squid mode. It's easy to forge an IP address this way if going to a server that's not behind a local reverse proxy. 2004-01-31 05:17:54 +00:00
Gabriel Wicke
144cbe5bd6 Squid integration changes 2004-01-30 17:07:50 +00:00
Mr. E23
e798403101 Overridable debug printouts in new memcached client. 2004-01-25 07:11:42 +00:00
Mr. E23
112115813a Added use of a FakeMemCachedClient in case memcached isn't working for some reason. Adds some speed as well as avoids a php segfault on certain setups when memcached is enabled but not available. 2004-01-25 00:53:07 +00:00
Mr. E23
5d2e9f5fb6 Replaced old memcached client with new one 2004-01-24 22:58:19 +00:00
Tim Starling
3c96949682 * Recent Changes improvements: object oriented back end, move page annotation and (untested) message queue feed.
* Misc. bugs fixed in DatabaseFunctions.php and Skin.php.
* install-utils, install and update utilise Database objects instead of handling their own connections
* schema change for RC improvement -- added rc_type, rc_moved_to_title and rc_moved_to_ns
2004-01-17 05:49:39 +00:00
Tim Starling
7fd73cbe63 fixed a few minor bugs and misc. notices 2004-01-10 14:18:05 +00:00
Tim Starling
eb62492e27 Fixed initialisation order to make it slightly more robust 2004-01-07 13:05:27 +00:00
Tim Starling
036ff960ce Improvements in MediaWiki namespace handling, enhanced rollback 2003-12-14 14:29:35 +00:00
Brion Vibber
0a164de2ba Revert globals patch pending further work 2003-11-24 00:48:10 +00:00
Brion Vibber
13c17d0cc9 Commit JeLuF's register_globals fixes, first phase 2003-11-23 22:46:01 +00:00
Tim Starling
283d0b8836 Fixed merge error 2003-11-21 02:43:12 +00:00
Tim Starling
8b85aafbf2 Date formatter into temp branch 2003-11-20 13:40:30 +00:00
Mr. E23
43ffa41ad6 Added feature for limiting profiling to every n requests 2003-11-18 23:49:11 +00:00
Brion Vibber
d3c61d791d Security fix: include path 2003-11-17 03:00:18 +00:00
Tim Starling
eee45843b0 misc. bug fixes 2003-11-15 07:14:05 +00:00
Tim Starling
596f4b09ce Latest features and bug fixes imported from stable 2003-11-12 10:21:28 +00:00
Tim Starling
46787701ce Nov. branch merge. Various features backported from stable, various bug fixes. 2003-11-09 11:45:12 +00:00
Tim Starling
0f6234916a Translation checker added (nl: fixed); more conditional inclusion; misc. tweaks 2003-10-25 08:01:33 +00:00
Tim Starling
d1f6bd3328 Made enhanced wfMsg() faster 2003-10-21 13:01:49 +00:00
Tim Starling
ef8c8d5f2b fixed profiling; fixed wfMsg() use of memcached; put block log in initialdata.sql 2003-10-20 13:39:40 +00:00
Tim Starling
d8cc830c4a block/unblock log; split off profiling into Profiling.php and broke it (turn it off for now) 2003-10-16 13:30:45 +00:00
Tim Starling
d5cbc0e43a new Block object, block expiry, optional sysop blocks 2003-09-01 13:13:56 +00:00
Tim Starling
684dba201e Internationalisation of "magic words" such as #redirect 2003-08-31 09:46:37 +00:00
Brion Vibber
87b8cf9ac7 Break UTF-8 support class from the case conversion tables; grab tables from memcached if available 2003-08-30 09:39:34 +00:00
Brion Vibber
0ad484ebae caps fix 2003-08-13 11:11:50 +00:00
Brion Vibber
fd305c509f Initial support for memcached.
Includes PHP MemCachedClient 1.0.8 by Ryan Gilfether, under GPL license.
2003-08-11 13:53:20 +00:00
Lee Daniel Crocker
d82c14fb4f Initial revision 2003-04-14 23:10:40 +00:00