Rozšíření:WebChat

This page is a translated version of the page Extension:WebChat and the translation is 31% complete.
Základní informace k tomuto rozšíření MediaWiki
WebChat
Stav rozšíření: stabilní
Zavádění Speciální stránka
Popis Přidá speciální stránku používanou k chatování v reálném čase s ostatními uživateli wiki.
Napsal(i)
Nejnovější verze 2021-06-15 (Continuous updates)
MediaWiki 1.34+
Změny v databázi Ne
Licence GNU General Public License 2.0 nebo pozdější
Zdrojový kód
Příklad translatewiki

  • $wgWebChatServer
  • $wgWebChatChannel
  • $wgWebChatClient
webchat
Čtvrtletní stahování 2 (Ranked 140th)
Přeložte rozšíření WebChat, používá-li lokalizaci z 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".

Instalace

  • Stáhněte soubor/y a vložte je do adresáře pojmenovaného WebChat ve vaší složce extensions/.
    Vývojáři a přispěvatelé kódu by si místo toho měli nainstalovat rozšíření from Git pomocí:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WebChat
  • Na konec vašeho souboru LocalSettings.php přidejte následující kód:
    wfLoadExtension( 'WebChat' );
    
  • Configure as necessary
  •   Dokončeno – Přejděte na stránku Special:Version vaší wiki a zkontrolujte, zda bylo rozšíření úspěšně nainstalováno.

Konfigurace

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