Manual:$wgSharedTables

From MediaWiki.org

Jump to: navigation, search
Shared DB settings: $wgSharedTables
List of database tables (without prefixes) to share when $wgSharedDB is enabled.
Introduced in version: 1.13.0 (r34353)
Removed in version: still in use
Allowed Values: (array)
Default Value: (< 1.16): array( 'user' )

(≥ 1.16): array( 'user', 'user_properties' )

Other settings: Alphabetical | By Function


[edit] Details

This only includes the user table by default for backwards compatibility. However you may remove it so that you can enable extensions using the shared DB without having shared users. Or you can add in another table, such as interwiki to force MediaWiki to use the shared version of the table instead.

Be careful with sharing tables. The images, revisions, pages, and many of the other tables may have bad side effects if you share them.

In 1.16 (r56741), the new table for storing user preferences was added - user_properties.

See Manual:Shared database for usage information.

[edit] See also