Skip to content

Commit

Permalink
Fix $wgMirahezeMagicMemcachedServers for beta (#5848)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
paladox and github-actions authored Mar 5, 2025
1 parent 5520d85 commit afddc0a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions GlobalCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
[ '10.0.20.148', 11211 ]
];

if ( $beta ) {
$wgMirahezeMagicMemcachedServers = [
[ '10.0.15.118', 11211 ],
];
}

$wgObjectCaches['mysql-multiwrite'] = [
'class' => MultiWriteBagOStuff::class,
'caches' => [
Expand Down
2 changes: 1 addition & 1 deletion LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -3059,7 +3059,7 @@
'default' => [],
'cloudstreamwiki' => [ 'cloudstreamrepo://' ],
'downgradegameswiki' => [ 'steam://' ],
'cafewiki' => [ 'roblox://', 'discord://' ],
'cafewiki' => [ 'roblox://', 'discord://' ],
'urbanshadewiki' => [ 'roblox://' ],
'utgwiki' => [ 'roblox://' ],
'farmwiki' => [ 'roblox://' ],
Expand Down
2 changes: 1 addition & 1 deletion LocalWiki.php
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ function onBeforePageDisplay( OutputPage $out ) {

break;
case 'softcellwiki':
$wgExtensionFunctions[] = function () {
$wgExtensionFunctions[] = static function () {
global $wgEchoNotifications;

foreach ( $wgEchoNotifications as &$event ) {
Expand Down

0 comments on commit afddc0a

Please sign in to comment.