Fandom

Wikia Developers Wiki

ChatToolbox

847pages on
this wiki
Add New Page
Talk3 Share

ChatToolbox adds a dropdown with useful links to the chat header, easily configurable by any sysop. You just need to edit MediaWiki:Custom-Chat-toolbox with a similar Wiki-Navigation style.

Configuration

You can add as many links to the toolbox as you would like, with a similar format like this:

* First item (title)
* Link and text
* Link|text
* onclick|link|text

For example:

* Toolbox
* Special:WikiActivity|Wiki Activity
* Main Page
* Help:Chat|Need help?
* Project:Rules|Rules of this wiki!
* Special:CreatePage|Create a new page
* Special:Forum|Forum
* MediaWiki:Emoticons|Emoticons
* Special:Log/chatban|Chatbans log
* ClearChat()||Clear window

Installation

Add the following line to MediaWiki:Chat.js:

importScriptPage('MediaWiki:ChatToolbox/code.js','dev'

Options/Customization

You can customize ChatToolbox by editing MediaWiki:Chat-toolbox.css. You can view the default CSS by clicking here.

Also, you can add scripts to the chat by editing MediaWiki:Chat-toolbox.js.

Demo

Resources

  • code.js
  • /code.css
  • Local MediaWiki:Chat-toolbox.
  • Local MediaWiki:Chat-toolbox.css.
  • Local MediaWiki:Chat-toolbox.js.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.