Manual:$wgLocalDatabases/ru
Appearance
From mediawiki.org
This page is a translated version of the page Manual:$wgLocalDatabases and the translation is 7% complete.
Languages:
| Настройки базы данных: $wgLocalDatabases | |
|---|---|
| Other wikis on this site, can be administered from a single developer account. |
|
| Введено в версии: | 1.3.0 |
| Удалено в версии: | всё ещё используется |
| Допустимые значения: | (array of strings) - see below |
| Значение по умолчанию: | [] |
| Другие настройки: По алфавиту | По функциональности | |
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 Расширение: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).
См. также
- Manual:$wgDBname - the one of the current wiki