Commit graph

246 commits

Author SHA1 Message Date
Rob Church
de57f07be4 Remove superfluous newlines from end of generated LocalSettings.php files 2007-06-04 02:25:13 +00:00
Greg Sabino Mullane
7d6df9e31b Remove todo re creating users: already done elsewhere for other databases (all one of them) 2007-05-14 22:38:59 +00:00
Greg Sabino Mullane
8e42a563d0 Wrap MySQL specific character set detection section in MySQL-only if loop. 2007-05-14 22:26:25 +00:00
Greg Sabino Mullane
7a28e997a6 Clarify that wgDBport is not for mysql, make explicit sections. 2007-05-11 18:44:51 +00:00
Antoine Musso
7e28de6764 Fix #9196 : installer now check zend.ze1_compatibility_mode is off. 2007-04-25 17:59:58 +00:00
Tim Starling
0a93752af6 * Removed mysql5 SQL files, obviously we're collectively incapable of keeping them up to date. They were littered with errors. The only deliberate difference appears to be the table character set, which can be adjusted programatically using a variable.
* Added table option variable to the SQL patch files, so now upgrading a non-standard schema won't leave your database horribly corrupted.
* Added sql.php, for sourcing SQL files with MediaWiki variable substitution.
* Disable MySQL's strict mode at session start for MySQL 4.1+, to avoid the various problems that occur when it is on.
2007-04-22 14:04:06 +00:00
Tim Starling
b15d8cffc4 * Introduced media handler modules for file-type specific operations: thumbnailing, img_metadata, capabilities, etc.
* Deprecated $wgUseImageResize, thumbnailing will be enabled unconditionally.
* Fixed interaction of page parameter to ImagePage with the HTML file cache
* Improved error reporting for image thumbnailing
* Fixed MIME type for SVG files, will be silently changed from image/svg to image/svg+xml after loading from the database.
* Workaround for djvutoxml bug #1704049 (poor performance). Use djvudump instead.
* Fixed odd behaviour in ImagePage on DjVu thumbnailing errors
* Improved error reporting for image thumbnailing
* Added sharpening option for ImageMagick thumbnailing
* Removed Image::selectPage(), added page parameters to getWidth() and getHeight(), deprecated Image::renderThumb() and Image::getThumbnail()
* Changed default contents of img_metadata to empty string instead of a:0:{}
* Moved responsibility for respecting $wgGenerateThumbnailOnParse from the UI to Image.php
2007-04-20 12:31:36 +00:00
Antoine Musso
d3f0407804 Fix #7285: need to check MySQL username length during installation 2007-04-16 16:48:37 +00:00
Rob Church
f2ae4bb978 Revert r20820; pointless 2007-03-29 19:06:35 +00:00
Greg Sabino Mullane
62335a5255 Note lack of closing ?> in a comment, to reduce bug reports. 2007-03-29 19:00:50 +00:00
Rob Church
9227f77e30 * (bug 9177) Installer now warns of various conditions affecting session.save_path which can lead to broken session storage
* Warns, but doesn't halt, if no explicit value set (sessions can still work)
* Halts if the value is set and invalid or not writable
2007-03-29 18:37:45 +00:00
Brion Vibber
4475d36182 Revert $wgDBtimezone commits: r20688, 20689, 20690, 20691.
Alters behavior of wfTimestamp() and wfTimestampNow() in clearly broken ways, such that current time would not return current time anymore.
2007-03-27 19:39:37 +00:00
Greg Sabino Mullane
0aef616c15 Allow user timezone adjustments to work when using Postgres - fixed bug 9299 2007-03-26 01:05:06 +00:00
Greg Sabino Mullane
99c9f593cd Allow password-less superusers via the checkbox. 2007-03-14 16:32:48 +00:00
River Tarnell
5666721d1d null password is acceptable for postgres using sameident 2007-03-07 22:09:24 +00:00
Tim Starling
28dc3ec888 * Moved the main ob_start() from the default LocalSettings.php to WebStart.php.
The ob_start() section should preferably be removed from older 
  LocalSettings.php files.
* Give Content-Length header for HTTP/1.0 clients.
* Partial support for Flash cross-domain-policy filtering. Text entry points should be protected, but uploads are not.
2007-02-19 23:03:37 +00:00
Niklas Laxström
40b456e4d5 * Don't transform mainpagedocfooter 2007-02-07 18:12:55 +00:00
Antoine Musso
5932dfa447 Kill whitespaces 2007-02-03 13:46:55 +00:00
Gregory Szorc
dd27412456 Removed optional '?>' from end of generated config file
This will prevent people with poor editors (Windows) from accidentally introducing blank lines after the '?>', which we all know breaks XML output
2007-02-03 06:52:37 +00:00
Brion Vibber
24fcd6a140 * (bug 8774) Fix path for GNU FDL rights icon on new installs 2007-01-26 09:36:42 +00:00
Brion Vibber
915e588ea4 * (bug 1000) Clarify warning about memory_limit in installer
* Suppress PHP warning about set_time_limit in installer when safe mode is on
2007-01-15 23:16:08 +00:00
Greg Sabino Mullane
8d729c432b Minor spelling, grammar, wording fixes. 2007-01-09 05:07:50 +00:00
Tim Starling
fbe8b94bbe * The MediaWiki namespace is no longer pre-filled with default messages on install. All default messages will be removed from the MediaWiki namespace on upgrade.
* Swapped the order of dimensions in the 2-d array $wgMessageCache->mExtensionMessages.
2007-01-05 18:08:29 +00:00
Brion Vibber
984ac2288d * Reduce config file clutter by setting various script and upload paths
based on $IP or $wgScriptPath in Setup.php. They can still be explicitly
  overridden in LocalSettings.php if desired...
2007-01-03 08:41:16 +00:00
Brion Vibber
5006543d9d Revert the attempt to autodetect CGI configs with working PATHINFO, since it turns out not to be reliable enough.
For example, current versions of lighttpd munge PATH_INFO fatally on Mac OS X, and problems have been reported on other systems as well.
Sigh.
2007-01-03 07:41:20 +00:00
Rob Church
baa8c5f108 Update to 2007 2007-01-01 15:35:05 +00:00
Rob Church
3c558237fd (bug 6449) Throw a more definitive error message when installation fails due to an invalid database name 2006-12-29 11:59:47 +00:00
Rob Church
0ea65022bc (bug 6853) Use a checkbox on the installer form to indicate that a superuser account should be used; this is clearer than the old check which relied on the password never being an obscure value 2006-12-24 08:27:34 +00:00
Aryeh Gregor
92ed0ffbd6 * (bug 532) Tweaked alt text for some interface messages
* (bug 8231) Gave useful alt text to the main <img> on image pages
* (bug 371) Remove alt text for "Enlarge" icon on thumbnails
2006-12-22 20:31:10 +00:00
Niklas Laxström
e0cb345067 *I like verbs 2006-11-27 22:40:22 +00:00
Brion Vibber
7f3cc47e4d * Fix regression when selecting mysql 4.0 schema in installer
* Detect PHP parse errors in generated config and dump the file
  as a debugging aid, instead of silently corrupting the behavior
  of the installer
2006-11-27 18:27:25 +00:00
Brion Vibber
ee7447d3ad * Installer support for experimental MySQL 4.1/5.0 binary-safe schema 2006-11-24 22:10:11 +00:00
Brion Vibber
aed6155111 * Detect CGI configurations where PATH_INFO is set up correctly.
PHP config var cgi.fix_pathinfo isn't detectable through ini_get(), but
  we can find some side-effects. Only tested on lighttpd so far, hopefully
  right on Apache too!

lighty documentation says you have to use the "broken-scriptfilename" => "enable"
option on lighty fast-cgi config, plus set cgi.fix_pathinfo to make it work.
I've found that cgi.fix_pathinfo is on by default in current PHP (tested 5.2.0),
and I don't seem to have to change the defaults on lighty either.
2006-11-16 22:57:58 +00:00
Brion Vibber
90107635d3 * (bug 7294) Fix PATH search for diff3 on install 2006-11-03 13:01:22 +00:00
Nick Jenkins
3f63ad4331 (bug 6531) fix PHP fatal error on MediaWiki installation page with bad input - patch by Werdna. Also tweak output HTML slightly so that Tidy doesn't complain about it, and add a few newlines to make View-Source a tiny bit easier to read. 2006-10-25 03:12:46 +00:00
Brion Vibber
f05fa0a5b1 * (bug 7545) Fix PHP version check on install 2006-10-11 18:22:45 +00:00
Greg Sabino Mullane
c58f3453ed Explicitly set Postgres schemas: needed for updater. 2006-10-08 19:37:17 +00:00
Tim Starling
157a8106ac Restructured the languages directory, to avoid problems when people untar MW 1.8 over the top of a 1.7 installation. 2006-10-04 01:39:28 +00:00
Greg Sabino Mullane
71bbd5519e Automatic upgrade for earlier Postgres versions 2006-10-03 02:22:57 +00:00
Jimmy Collins
01c082065a stub 2006-09-19 12:23:56 +00:00
Jimmy Collins
0a7350d9bd Minor changes to the installer. 2006-09-18 20:20:04 +00:00
Greg Sabino Mullane
c5ca889a55 Make final link-to-follow stand out a bit. 2006-09-03 23:00:36 +00:00
Greg Sabino Mullane
efdcf0b915 Move superuser section above DB-specific area, combine wording into one paragraph. 2006-09-03 02:45:58 +00:00
Greg Sabino Mullane
13839bddf9 Make sure LocalSettings.php ends in a newline. 2006-09-03 01:14:11 +00:00
Greg Sabino Mullane
518bfb6362 Remove 4.3.2 php version check, as we require 5 now. 2006-08-13 02:42:22 +00:00
Greg Sabino Mullane
9a00ffc72c Fix whitespace, especially tabs->spaces to make LocalSettings.php look prettier and more consistent. 2006-08-12 19:52:47 +00:00
Greg Sabino Mullane
01c15ccf81 Fix some spacing, ensure that we do not reset the superuser
name if loading the page the second time.
2006-08-12 19:40:33 +00:00
Tim Starling
43b2fb56b6 Merged localisation-work branch:
* Made lines from initialiseMessages() appear as list items during installation
* Moved the bulk of the localisation data from the Language*.php files to the Messages*.php files. Deleted most of the Languages*.php files.
* Introduced "stub global" framework to provide deferred initialisation of core modules. 
* Removed placeholder values for $wgTitle and $wgArticle, these variables will now be null during the initialisation process, until they are set by index.php or another entry point.
* Added DBA cache type, for BDB-style caches. 
* Removed custom date format functions, replacing them with a format string in the style of PHP's date(). Used string identifiers instead of integer identifiers, in both the language files and user preferences. Migration should be transparent in most cases.
* Simplified the initialisation API for LoadBalancer objects.
* Removed the broken altencoding feature.
* Moved default user options and toggles from Language to User. Language objects are still able to define default preference overrides and extra user toggles, via a slightly different interface.
* Don't include the date option in the parser cache rendering hash unless $wgUseDynamicDates is enabled.
* Merged LanguageUtf8 with Language. Removed LanguageUtf8.php. 
* Removed inclusion of language files from the bottom of Language.php. This is now consistently done from Language::factory(). 
* Add the name of the executing maintenance script to the debug log. Start the profiler during maintenance scripts.
* Added "serialized" directory, for storing precompiled data in serialized form.
2006-07-26 07:15:39 +00:00
Greg Sabino Mullane
4890275f68 Take out "firstrun" javacript var: no longer needed with moved logic. 2006-07-22 17:36:10 +00:00
Greg Sabino Mullane
9eee3949ae Add check that database is version 8.0 or higher. 2006-07-21 20:40:47 +00:00