From: Alex Z Date: Mon, 21 Sep 2009 23:40:42 +0000 (+0000) Subject: Add the user_properties table to the default for $wgSharedTables X-Git-Tag: 1.31.0-rc.0~39585 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=9d2586b282ccf97e78b320f7b4b6403ad34ba5c2;p=lhc%2Fweb%2Fwiklou.git Add the user_properties table to the default for $wgSharedTables --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 0fcce7e422..43188b7eee 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -289,11 +289,13 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN revisions when --delete is not passed * (bug 13172) GPS coordinates in image Exif data are now actually displayed * Overhaul of preferences system, includes the following bug fixes: -* (bug 5363) Changes to default preferences now impact registered users. -* (bug 14806) Hook to enable putting preferences in existing tabs. -* (bug 17191) Registration date now listed on preferences page. -* Note that this change will break some extensions which have not been adapted - for it. +** (bug 5363) Changes to default preferences now impact registered users. +** (bug 14806) Hook to enable putting preferences in existing tabs. +** (bug 17191) Registration date now listed on preferences page. +** The user_properties table (now used for storing preferences) has been added to + $wgSharedTables. +** Note that this change will break some extensions which have not been adapted + for it. * (bug 17020) Adding fallback encodings for Traditional and Simplified Chinese languages while the the text is typed as URLs. * (bug 17614) Prev / Next links are not shown if all results are shown diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 843cafc5c7..17e76f9baa 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -648,6 +648,8 @@ $wgCheckDBSchema = true; * main database. * For backwards compatibility the shared prefix is set to the same as the local * prefix, and the user table is listed in the default list of shared tables. + * The user_properties table is also added so that users will continue to have their + * preferences shared (preferences were stored in the user table prior to 1.16) * * $wgSharedTables may be customized with a list of tables to share in the shared * datbase. However it is advised to limit what tables you do share as many of @@ -656,7 +658,7 @@ $wgCheckDBSchema = true; */ $wgSharedDB = null; $wgSharedPrefix = false; # Defaults to $wgDBprefix -$wgSharedTables = array( 'user' ); +$wgSharedTables = array( 'user', 'user_properties' ); /** * Database load balancer