Skip to content

Commit

Permalink
Set WebChat to default to Libera; remove freenodeChat (#3926)
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega committed Jun 13, 2021
1 parent dce04a4 commit 01cf3ee
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
24 changes: 22 additions & 2 deletions LocalSettings.php
Expand Up @@ -4368,15 +4368,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

0 comments on commit 01cf3ee

Please sign in to comment.