r56741 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56740‎ | r56741 | r56742 >
Date:23:40, 21 September 2009
Author:mrzman
Status:ok
Tags:
Comment:
Add the user_properties table to the default for $wgSharedTables
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -648,6 +648,8 @@
649649 * main database.
650650 * For backwards compatibility the shared prefix is set to the same as the local
651651 * prefix, and the user table is listed in the default list of shared tables.
 652+ * The user_properties table is also added so that users will continue to have their
 653+ * preferences shared (preferences were stored in the user table prior to 1.16)
652654 *
653655 * $wgSharedTables may be customized with a list of tables to share in the shared
654656 * datbase. However it is advised to limit what tables you do share as many of
@@ -656,7 +658,7 @@
657659 */
658660 $wgSharedDB = null;
659661 $wgSharedPrefix = false; # Defaults to $wgDBprefix
660 -$wgSharedTables = array( 'user' );
 662+$wgSharedTables = array( 'user', 'user_properties' );
661663
662664 /**
663665 * Database load balancer
Index: trunk/phase3/RELEASE-NOTES
@@ -289,11 +289,13 @@
290290 revisions when --delete is not passed
291291 * (bug 13172) GPS coordinates in image Exif data are now actually displayed
292292 * Overhaul of preferences system, includes the following bug fixes:
293 -* (bug 5363) Changes to default preferences now impact registered users.
294 -* (bug 14806) Hook to enable putting preferences in existing tabs.
295 -* (bug 17191) Registration date now listed on preferences page.
296 -* Note that this change will break some extensions which have not been adapted
297 - for it.
 293+** (bug 5363) Changes to default preferences now impact registered users.
 294+** (bug 14806) Hook to enable putting preferences in existing tabs.
 295+** (bug 17191) Registration date now listed on preferences page.
 296+** The user_properties table (now used for storing preferences) has been added to
 297+ $wgSharedTables.
 298+** Note that this change will break some extensions which have not been adapted
 299+ for it.
298300 * (bug 17020) Adding fallback encodings for Traditional and Simplified Chinese
299301 languages while the the text is typed as URLs.
300302 * (bug 17614) Prev / Next links are not shown if all results are shown

Status & tagging log