|Other wikis on this site, can be administered from a single developer account.
|允许的值：||(array of strings) - 参见下方|
|其他设置： 按首字母排序 | 按功能排序|
An array of database names. E.g.,
$wgLocalDatabases = [ 'wikipedia', 'meta', 'news' ];
This is used for e.g. $wgConf (SiteConfiguration).
$wgConf->wikis should be the same as
It is needed to run a wiki family, for example by using 扩展:中央认证.
It is also in use by some maintenance scripts like:
User rights on other wikis on this site can be administered from a single developer account (permission: userrights-interwiki).
For unclear reasons, since this variable is empty as default, some maintenance scripts will do nothing as default. Some of these are:
- clearInterwikiCache.php - clear the interwiki cache
- rebuildmessages.php - clear messages
- cleanupSpam.php - delete pages with spam URLs
In fact, these scripts do operations on your "local databases" but $wgDBname is not considered one of them as default. A useful contribution would be to clarify this.
- 手册:$wgDBname - the one of the current wiki