User:Простой пикабушник/global.js

/* Автоматическое всплывание "стрелочки" */ window.AutoEditDropdownConfig = { expandedAreaContribute: true, expandedAreaEdit: false }; importArticles({ type: 'script', articles: [ 'w:c:dev:AutoEditDropdown/code.js' ] }); /* ChatHacks :D*/ importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); /*Викификатор*/ function addWikifButton { var toolbar = document.getElementById('toolbar') if (!toolbar) return var i = document.createElement('img') i.src = 'http://upload.wikimedia.org/wikisource/ru/d/d1/Button-wikifikator.png' i.alt = i.title = 'викификатор' i.onclick = Wikify i.style.cursor = 'pointer' toolbar.appendChild(i) } if (wgAction == 'edit' || wgAction == 'submit') { importScriptURI('http://ru.wikipedia.org/w/index.php?title=MediaWiki:Wikificator.js&action=raw&ctype=text/javascript') addOnloadHook(addWikifButton) }

importScriptPage('SpeedEmoticon/code.js', 'korniux');

/*Цитирование*/

//An easy way to quote someone in Special:Chat importScriptPage('User:Wildream/ChatQuote/code.js', 'ru.community');