Chatconnect-js

Chatconnect-js is a library that enables sideloading and preprocessed data events for the Chatconnect log (only accessible to users with the  permission, on wikis with FANDOM Chat). The library has UI extension functions and exposes other data from FANDOM Chat, such as banned users and the chat userlist.

Importing the script
To use Chatconnect-js, there are two  events available:
 * - when the script has initialized
 * - when the script has executed a data cycle (data loading and UI extension)

The mw.hook statement is followed by an import statement to MediaWiki:Chatconnect-js.js, from within your script.

Library usage
The data lifecycle passes a  object into the function. TBC..