User:Mihawk Moha/chat.js

var chatags = { videos: true }; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:ChatOptions/code.js',        'u:kocka:MediaWiki:Emoticons.js',        'u:shining-armor:MediaWiki:ChatTags/code.js',        'u:dev:MediaWiki:!kick/code.js',        'u:dev:MediaWiki:!ban/code.js'    ] });

$(function {   var commandsInterval = setInterval(function { if(window.commands) { clearInterval(commandsInterval); window.commands = $.extend({               salut: function(com, text) {                    $('#Write [name="message"]').val('Salut ¯\\_(ツ)_/¯');                    return true;                },                ahbon: function(com, text) {                    $('#Write [name="message"]').val('');                    return true;                }            }, window.commands); }   }, 100);    $('head').append(mw.html.element('meta', {        name: 'viewport',        content: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0'    })); });