Extension:WebChat/pl

From mediawiki.org
This page is a translated version of the page Extension:WebChat and the translation is 8% complete.
Podręcznik rozszerzeń MediaWiki
WebChat
Status wydania: stabilne
Realizacja Strona specjalna
Opis Adds a special page used to chat in real time with other wiki users.
Autor(zy)
Ostatnia wersja 2021-06-15 (Continuous updates)
MediaWiki 1.34+
Zmiany w bazie danych Nie
Licencja GNU General Public License 2.0 or later
Pobieranie
Przykład translatewiki

  • $wgWebChatServer
  • $wgWebChatChannel
  • $wgWebChatClient
webchat
Quarterly downloads 3 (Ranked 144th)
Przetłumacz rozszerzenie WebChat jeżeli jest dostępne na 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


  • Pobierz i umieść plik(i) w katalogu o nazwie WebChat w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WebChat
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'WebChat' );
    
  • Configure as necessary
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

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.

Zobacz też