sactage/wikia-js-snippets — pull request #8 by tierrie (2014-02-12 01:50:14+00:00)
Title: Updated ChatOptions

I made some major changes to the ChatOptions as we discussed a few months ago. The major changes are as follows:

* Encoded icons as 64bit data
* Moved setCookies to jQuery libraries and fixed some issues with cookies not being RFC compliant
* Added color pickers to the UI
* Added a way for the Wiki to set up default colors in their MediaWiki:Chat.css file
* Cleaned up the UI
* Moved onLoad calls to jQuery's ready function
* Simplified installation process. Updated installation instructions are included at the end of this file.
* Moved files from github to wikia as github frowns on hotlinking their files

Installation
------------
1. Edit your wiki's MediaWiki:Chat-edit-count to include the following code:

2. (Optional) Add the following classes to your wiki's MediaWiki:Chat.css file
/* default chat colors */
.chat_color_reset { border: 1px solid rgb(212,212,212); }
.chat_font_color_default { background-color: rgb(212,212,212); } /* note that the font color is retrieved from the div's background-color and not color */
.chat_surround_color_default { background-color: rgb(0,0,0); }
.chat_selfpost_color_default { background-color: rgb(33,33,33); }
.chat_background_color_default { background-color: rgb(24,24,24); }