Manual:$wgLocalDatabases/zh
Appearance
| 数据库设置: $wgLocalDatabases | |
|---|---|
| Other wikis on this site, can be administered from a single developer account. |
|
| 引进版本: | 1.3.0 |
| 移除版本: | 仍在使用 |
| 允许的值: | (array of strings) - 参见下方 |
| 默认值: | [] |
| 其他设置: 按首字母排序 | 按功能排序 | |
Details
An array of database names. E.g.,
$wgLocalDatabases = [ 'wikipedia', 'meta', 'news' ];
This is used for e.g. $wgConf (SiteConfiguration).
Note that $wgConf->wikis should be the same as $wgLocalDatabases.
It is needed to run a wiki family, for example by using Extension:CentralAuth(中央认证).
It is also in use by some maintenance scripts like:
- cleanupSpam.php - delete pages with spam URLs
User rights on other wikis on this site can be administered from a single developer account (permission: userrights-interwiki).
See also
- 手册:$wgDBname - the one of the current wiki