From 89e1e30e14916bef58341c0785e48bf9bafd0419 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 28 Feb 2004 08:31:44 +0000 Subject: [PATCH] Turn database messages on by default. If it sucks too bad, we can change it for the release. --- LocalSettings.sample | 7 +++++++ RELEASE-NOTES | 21 ++++++++++++++------- includes/DefaultSettings.php | 4 ++-- 3 files changed, 23 insertions(+), 9 deletions(-) diff --git a/LocalSettings.sample b/LocalSettings.sample index 627b045407..ad42e31790 100644 --- a/LocalSettings.sample +++ b/LocalSettings.sample @@ -102,6 +102,13 @@ $wgDBminWordLen = 3; # Match this to your MySQL fulltext # $wgDBmysql4 = true; # $wgEnablePersistentLC = true; +## You can customize the interface messages through the wiki; +## see [[MediaWiki:All pages]]. (This requires a sysop account.) +## This causes a performance hit, though; if you don't need it, +## feel free to turn it off: +# +# $wgUseDatabaseMessages = false; + ## Set $wgUseImageResize to true if you want to enable dynamic ## server side image resizing ("Thumbnails") # diff --git a/RELEASE-NOTES b/RELEASE-NOTES index fc0aeef199..ef93b6300e 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -1,6 +1,6 @@ = MediaWiki release notes = -== Version 1.2.0rc1, 2004-02-27 == +== Version 1.2.0rc1, 2004-02-28 == This is a RELEASE CANDIDATE for the new production release. It is more or less in sync with what is running on Wikipedia right now. There may be @@ -18,22 +18,29 @@ New features in 1.2: * Optional compression of old revision text (requires zlib support) * Fuzzy title search (experimental, requires memcached) * Page rendering cache (experimental) -* JavaScript editing toolbar (off by default in user preferences) +* Editing toolbar to demonstrate wiki syntax to newbies + (off by default in user preferences) +* Support for authenticated SMTP outgoing e-mail (experimental) Fixes and tweaks: * Should work out of the box on MySQL 3.2.x again. On 4.x set $wgEnablePersistentLC = true; to turn on the link cache table for a slight rendering speed boost. +* Works with short tags disabled. * Various bug fixes. * Other stuff we forgot. * Documentation more out of date than ever before! -=== IMPORTANT BEHAVIOR CHANGES: === +=== Behavior changes === -* wiki.phtml and redirect.phtml are now installed as index.php and redirect.php - by default. If you are upgrading from an older version, you will have to - change $wgScript in LocalSettings.php to point to index.php and - redirect.php. +* wiki.phtml and redirect.phtml are now renamed to index.php and redirect.php + The old names are provided too for compatibility, but make sure they don't + conflict if you've been putting other files in your wiki. +* Uploaded filenames are more strictly checked than before. See bits in + DefaultSettings.php to tweak this behavior to your needs. +* Database messages are now enabled by default, so the interface messages can + be tweaked through the wiki with a sysop account. Disable this if you + don't want the performance hit. === Database changes === diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 83524255f1..50fca9ea93 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -82,8 +82,8 @@ $wgShowIPinHeader = true; # For non-logged in users $wgMaxNameChars = 32; # Maximum number of bytes in username # Translation using MediaWiki: namespace -# Not recommended unless memcached is installed -$wgUseDatabaseMessages = false; +# This will increase load times by 25-60% unless memcached is installed +$wgUseDatabaseMessages = true; $wgMsgCacheExpiry = 86400; $wgExtraSubtitle = ""; -- 2.20.1