Ekstensi:WebChat

This page is a translated version of the page Extension:WebChat and the translation is 38% complete.
Ekstensi MediaWiki
WebChat
Status rilis stabil
Implementasi Halaman istimewa
Deskripsi Menambahkan halaman khusus yang digunakan untuk mengobrol dalam waktu nyata dengan pengguna Wiki lainnya.
Perancang awal
Versi terbaru 2021-06-15 (Continuous updates)
MediaWiki 1.34+
Perubahan basis data Tidak
Lisensi Lisensi Publik Umum GNU 2.0 atau lebih baru
Unduh
Contoh translatewiki

  • $wgWebChatServer
  • $wgWebChatChannel
  • $wgWebChatClient
webchat
Quarterly downloads 3 (Ranked 127th)
Terjemahkan ekstensi WebChat jika tersedia di 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".

Instalasi

  • Unduh dan letakkan berkas-berkasnya di dalam sebuah direktori yang bernama WebChat di folder extensions/ Anda.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WebChat
  • Tambahkan kode berikut di bagian bawah LocalSettings.php Anda:
    wfLoadExtension( 'WebChat' );
    
  • Configure as necessary
  •   Selesai – Telusuri ke Special:Version di wiki Anda untuk memastikan ekstensinya berhasil dipasang.

Konfigurasi

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.

Penggunaan

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

See also