Greg Sabino Mullane
50aee7755a
Move database checks toconfig/index.php
2006-06-27 14:16:21 +00:00
Brion Vibber
a41764dc3f
We require PHP 5 now, make sure the installer requires this.
...
Uncertain of the exact minimum version requirement; checking for 5.0.0+
2006-05-10 19:58:17 +00:00
Brion Vibber
796b81b84d
Revert the rest of r13645; totally broken, tries to call an installer-specific function before it's included, and why's it in an include file anyway?
2006-04-17 09:00:55 +00:00
Antoine Musso
e032a4fb04
Some minor changes to the installer after I reinstalled MW from scracth:
...
* show realpath when asking to chmod g+w ./config
* hide errors returned when trying to dl() mysql.so / pgsql.so
* cleanly outputbuffer when dieing out
2006-04-14 20:58:25 +00:00
Brion Vibber
3c9cf267a1
* (bug 385) Installer support for PostgreSQL, fixes for PG compatibility
...
Applied from: http://bugzilla.wikimedia.org/attachment.cgi?id=1517&action=view
I haven't tested it with PG personally yet, but it doesn't appear to interfere with other functionality.
2006-04-12 08:15:28 +00:00
Tim Starling
cf4f3da185
Moved the bulk of dbsource() to Database.php. Added support for updating wikis with $wgSharedDB set (installing is still not supported)
2006-01-17 11:48:18 +00:00
Brion Vibber
266d41f165
* Added wfDie() wrapper, and some manual die(-1), to force the return code
...
to the shell to return nonzero when we crap out with an error.
2006-01-14 02:49:43 +00:00
Brion Vibber
0ea90569bd
* (bug 2569) Use PATH_SEPARATOR instead of trying to guess based on DIRECTORY_SEPARATOR (was wrong on NetWare)
...
* Require PHP 4.3.2 or higher strictly now.
2005-11-10 08:06:04 +00:00
Tim Starling
5b83a481db
Fix for some odd problems when reading from a non-tty
2005-11-01 00:57:13 +00:00
Tim Starling
bc17c6a985
Added isatty() check to readconsole()
2005-09-08 08:49:04 +00:00
River Tarnell
b817c0c15f
merge ORACLE_WORK. sorry, this may break some parts of MySQL, i did not test extensively.
2005-08-02 13:35:19 +00:00
River Tarnell
3993f9357f
typo
2005-07-07 02:31:03 +00:00
River Tarnell
c3a7c7a4e1
error handling is your friend
2005-07-07 02:29:55 +00:00
Brion Vibber
fd80bf5b38
* (bug 2234) allow special chars in database passwords during install
2005-05-29 10:20:21 +00:00
Tom Gilder
dcfb2251cb
Single quotes, just for the hell of it
2005-01-31 20:35:47 +00:00
Brion Vibber
f00cd55746
Add basic support for table prefixes to the installer. (Probably will fail on upgrades yet.) .sql files should still be usable 'raw' on a wiki with no prefix.
2004-12-01 13:15:13 +00:00
Brion Vibber
2f60c52a3c
Use ob_implicit_flush() rather than ob_end_flush() in install-utils.
...
Ending the buffering completely will kill all subsequent output when
PHP is globally configured to run through a gzip compression handler.
Also, suppress the warning in LocalSettings.php when PHP tells us we
can't run the gzip filter twice.
2004-08-18 05:45:25 +00:00
Tim Starling
ac549401d4
* Support for table name prefixes throughout the code. No support yet for converting static SQL, which also means no installation. But it has been tested by creating the tables in the ordinary way and then renaming them
...
* DB_WRITE now called DB_MASTER, DB_READ now called DB_SLAVE
* Converted to use SQL wrapper functions instead of direct SQL in various places
* Experimental method for preserving the chronological order of events when slave servers are used. Untested.
* Fixes to the new post-parse existence test feature
* Some.. other stuff
2004-07-18 08:48:43 +00:00
Tim Starling
b96b707efa
OOP calling convention for database functions. DBMS abstraction implemented by means of functions instead of global variables, PostgreSQL object converted to a subclass instead of a drop-in replacement. Also the beginnings of a flexible table name feature.
2004-07-10 03:09:26 +00:00
Tim Starling
0c3553b7d4
better readconsole() function, moved from mcc.php and eval.php
2004-06-13 04:18:09 +00:00
Tim Starling
1680f708a3
Outputting MySQL's error message in dbsource()
2004-05-03 03:20:58 +00:00
Brion Vibber
3c216b0c5b
Make sure output buffering is off for install scripts
2004-03-13 06:29:39 +00:00
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
Brion Vibber
27dfac3ff7
Fix for 904065: use .php instead of .phtml extension by default
2004-02-27 03:59:21 +00:00
Brion Vibber
0332f4c598
Fix for compatibility with short_open_tag = Off
2004-02-18 02:15:00 +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
8d5959de56
Committing Evan's patches (with some modifications), reintroducing class=internal for ordinary links
2003-11-22 12:30:13 +00:00
Brion Vibber
fcddbfd724
Updates and mergine to install/update
2003-11-20 03:11:42 +00:00