Extension:LiveChat

From Linux Web Expert


MediaWiki extensions manual
LiveChat
Release status: experimental
Implementation other (invalid type)
Description It establishes a socket connection between the client and the server and allows to communicate with the server in real time. It contains base functionality for user communication and can be extended with other extensions.
Author(s) Pavel Astakhov (Pastakhovtalk)
Latest version 0.1
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki >= 1.35.0
Database changes Yes
Composer mediawiki/livechat
Tables lch_messages
lch_msg_reactions
License GNU General Public License 2.0 or later
Download
README
Example https://www.marefa.org/Special:LiveChat?uselang=en
  • $wgLiveChatSystemGroup
  • $wgLiveChatClientDomain
  • $wgLiveChatClientTLS
  • $wgLiveChatPidPath
  • $wgLiveChatClientPath
  • $wgLiveChatManagerSocketName
  • $wgLiveChatSystemUser
  • $wgLiveChatServerThreads
  • $wgLiveChatLogFile
  • $wgLiveChatServerAddress
  • $wgLiveChatServerPort
  • $wgLiveChatStorageSocketName
  • $wgLiveChatDebugLogFile
  • $wgLiveChatClientPort
LiveChatManager
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the LiveChat extension if it is available at translatewiki.net

The LiveChat extension establishes a socket connection between the client and the server and allows to communicate with the server in real time. It contains base functionality for user communication and can be extended with other extensions.

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/LiveChat</tvar>|Download]] and move the extracted <tvar name=name>LiveChat</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/LiveChat
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'LiveChat' );
    
  • <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
  • 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>

Configuration parameters

User rights

See also