Skip to content

Commit

Permalink
Move botpasswords to virtual domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega authored Nov 20, 2024
1 parent 00f4a8b commit f5a2441
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,12 +349,6 @@
'default' => SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_OLD,
],

// Bot passwords
'wgBotPasswordsDatabase' => [
'default' => 'mhglobal',
'beta' => 'metawikibeta',
],

// Cache
'wgCacheDirectory' => [
'default' => '/srv/mediawiki/cache',
Expand Down Expand Up @@ -1187,6 +1181,9 @@
],
'+wgVirtualDomainsMapping' => [
'default' => [
'virtual-botpasswords' => [
'db' => $wi->getGlobalDatabase(),
],
'virtual-centralauth' => [
'db' => $wi->getGlobalDatabase(),
],
Expand All @@ -1212,6 +1209,11 @@
'db' => $wi->getGlobalDatabase(),
],
],
'+beta' => [
'virtual-botpasswords' => [
'db' => 'metawikibeta',
],
],
'ldapwikiwiki' => [
'virtual-oathauth' => [
'db' => 'ldapwikiwiki',
Expand Down

0 comments on commit f5a2441

Please sign in to comment.