Extension:WebChat

Category:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
WebChat
Release status: stableCategory:Stable extensions
Implementation Special page Category:Special page extensions
Description Adds a special page used to chat in real time with other wiki users.
Author(s)
Latest version 2021-06-15 (Continuous updates)
MediaWiki 1.34+Category:Extensions with manual MediaWiki version
Database changes No
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
Example translatewiki
  • $wgWebChatServer
  • $wgWebChatChannel
  • $wgWebChatClient
Quarterly downloads 9 (Ranked 107th)
Translate the WebChat extension if it is available at translatewiki.net
Category:All extensions

The WebChat extension adds a special page used to chat in real time with other wiki users using a web-based IRC client. Once installed, it will be available via "Special:WebChat".

Installation

  • Download and move the extracted WebChat folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WebChat
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'WebChat' );
    
  • Configure as necessary
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

There are several variables to be set in LocalSettings.php, to be added after the line of code containing require_once(...) described above.

// 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 = '';
Example for LiberaChat
wfLoadExtension( 'WebChat' );
$wgWebChatChannel = '#libera';
$wgWebChatClient = 'LiberaChat';

The "webchat" permission can be used to specify what user groups can access it, by default only logged in users have access.

Usage

Go to "Special:WebChat", type a username if one is not already chosen, then press the connect button.

See also

Category:IRC extensions Category:Chat extensions
Category:All extensions Category:Chat extensions Category:Extensions in Wikimedia version control Category:Extensions included in Miraheze Category:Extensions included in WikiForge Category:Extensions which add rights Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:GPL licensed extensions Category:IRC extensions Category:Special page extensions Category:Stable extensions