Release status: stable |
|
|---|---|
![]() |
|
| Implementation | Special page |
| 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+ |
| Database changes | No |
| License | GNU General Public License 2.0 or later |
| Download | Download extension Git [?]: |
| Example | translatewiki |
|
Parameters
|
|
|
Added rights
webchat
|
|
| Quarterly downloads | 7 (Ranked 163rd) |
| Translate the WebChat extension if it is available at translatewiki.net | |
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 place the file(s) in a directory called
WebChatin yourextensions/folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'WebChat' );
- Configure as necessary
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
- Extension:MediaWikiChat
| This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.
