Manual:$wgSharedTables/zh

详情
默认情况下，这仅包含用户表以提供向后兼容性. 当然您可以删除它，以在没有共享用户的情况下启用扩展共享数据库. 或者您可以添加另一个表，例如interwiki表来强制MediaWiki使用表的共享版本代替.

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, the new table for storing user preferences was added -.

See for usage information.

Upgrading
As of Mediawiki 1.21,  must be temporarily cleared during upgrade. Otherwise, the shared tables are not touched at all (neither tables with, nor those with  ), which may lead to failed upgrade.

Example
If you wanted to share the table, you would use: