Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set WebChat to default to Libera; remove freenodeChat #3926

Merged
merged 10 commits into from Jun 13, 2021
24 changes: 22 additions & 2 deletions LocalSettings.php
Expand Up @@ -4337,15 +4337,35 @@
'wmgUseWikibaseRepository' => true,
],

// WebChat config
// WebChat
'wgWebChatServer' => [
'default' => false,
],
'wgWebChatChannel' => [
'default' => false,
],
'wgWebChatClient' => [
'default' => 'freenodeChat',
'default' => 'LiberaChat',
],
'wgWebChatClients' => [
'default' => [
'Mibbit' => [
'url' => '//embed.mibbit.com/index.html',
'parameters' => [
'noServerMotd' => 'true',
'server' => '$$$server$$$',
'channel' => '$$$channel$$$',
'nick' => '$$$nick$$$',
],
],
'LiberaChat' => [
'url' => '//web.libera.chat/',
'parameters' => [
'channel' => '$$$channel$$$',
'nick' => '$$$nick$$$',
],
],
],
],

// WikiForum
Expand Down
6 changes: 3 additions & 3 deletions ManageWikiSettings.php
Expand Up @@ -477,12 +477,12 @@
'from' => 'webchat',
'type' => 'list',
'options' => [
'Freenode' => 'freenodeChat',
'Libera' => 'LiberaChat',
'Other Server' => 'Mibbit',
],
'overridedefault' => 'freenodeChat',
'overridedefault' => 'LiberaChat',
'section' => 'discussion',
'help' => 'This sets the web client to use. If you are not using Freenode, select Other Server.',
'help' => 'This sets the web client to use. If you are not using Libera, select Other Server.',
'requires' => [],
],
'wgWikiForumAllowAnonymous' => [
Expand Down