Extension:WebChat/ru

From Linux Web Expert

Справка по расширениям MediaWiki
WebChat
Статус релиза: стабильно
File:Mibbit Extension Screenshot.png
Реализация Служебная страница
Описание Adds a special page used to chat in real time with other wiki users.
Автор(ы)
Последняя версия 2021-06-15 (Continuous updates)
MediaWiki 1.34+
Изменения в БД Нет
Лицензия GNU General Public License 2.0 или позднее
Скачать
Пример translatewiki

  • $wgWebChatServer
  • $wgWebChatChannel
  • $wgWebChatClient
webchat
Ежеквартальные загрузки Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Использование общедоступными вики Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Переведите расширение WebChat, если оно доступно на 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".

Установка

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/WebChat/ru</tvar>|Download]] and move the extracted <tvar name=name>WebChat/ru</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WebChat%2Fru
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'WebChat/ru' );
    
  • Configure as necessary
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Настройка

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 = '';
Пример для 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.

Использование

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

См. также