This page is a translated version of the page Extension:WebChat and the translation is 100% complete.
MediaWiki扩展手册
WebChat
发行状态: 稳定版
实现 特殊页面
描述 添加一个特殊页面,用于与其他 Wiki 用户实时聊天。
作者
最新版本 2021-06-15 (Continuous updates)
MediaWiki 1.34+
数据库更改
许可协议 GNU通用公眾授權條款2.0或更新版本
下載
示例 translatewiki

  • $wgWebChatServer
  • $wgWebChatChannel
  • $wgWebChatClient
webchat
季度下載量 13 (Ranked 147th)
前往translatewiki.net翻譯WebChat扩展

WebChat 的扩展增加了一个特殊页面,用于使用基于 Web 的IRC客户端与其他 Wiki 用户实时聊天。 一旦安装,它将通过“Special:WebChat”提供。

安裝

配置

LocalSettings.php 中设置了几个变量,这些变量将添加到包含上述 require_once(...) 的代码行之后。

// IRC Server to connect to, not required when using the Libera.Chat web client.
$wgWebChatServer  = '';
// Channel to connect to.
$wgWebChatChannel = '';
// Which web chat client to use, 'liberaChat' is required when connecting to Libera.Chat,
// but 'Mibbit' can be used for other networks.
$wgWebChatClient = '';
LiberaChat 的示例
wfLoadExtension( 'WebChat' );
$wgWebChatChannel = '#libera';
$wgWebChatClient = 'LiberaChat';

webchat”权限可用于指定哪些用户组可以访问它,在默认情况下,只有登录的用户才能访问它。

用法

转到“Special:WebChat”,如果尚未选择用户名,请键入用户名,然后按连接按钮。

參見