User:Krizalis/global.js

//WHAM importScriptPage('WHAM/code.js', 'dev'); //Импорт чего-то, связанного с WHAM importScriptPage('AjaxBatchDelete/code.js', 'dev'); //Чатхак importScriptPage('User:Krizalis/chathack.js', 'community'); importScriptPage('User:Wildream/AdvancedWikiActivity/code.js', 'ru.community');

// Code editor importScriptPage('Code/code.js', 'dev'); // Patrol tool importScriptPage('AjaxPatrol/code.js', 'dev' ); // Recent changes pro importScriptPage('AjaxRC/code.js', 'dev'); // Undo pro importScriptPage( 'AjaxUndo/code.js', 'dev' ); // Hide redirects in RC importScriptPage('AllPagesHideRedirect/code.js', 'dev'); // EditCounter importScriptPage('EditcountTag/code.js', 'dev'); // Fast delete old images. importScriptPage( 'FastOldImageDelete/code.js', 'dev' ); // External Image Loader (example:http://dev.wikia.com/wiki/Template:ExternalImageLoader) importScriptPage('ExternalImageLoader/code.js', 'dev'); // Countdown importScriptPage('Countdown/code.js', 'dev'); // FixMultipleUpload importScriptPage('FixMultipleUpload/code.js', 'dev'); // FixWantedFiles importScriptPage('FixWantedFiles/code.js', 'dev'); // Float Toc (GOOD!) importArticles({type: 'script', articles: ['u:dev:FloatingToc/code.js']}); // Header Links importArticles({type: 'script', articles: ['u:dev:HeaderLinks/code.js']}); // Listing Edit importArticles({type: 'script', articles: ['u:dev:ListingEdit/code.js']}); window.ListingEdit.init;

importArticles({   type: 'script',    articles: [        'u:wikimarks:Client.js'    ] });

/*Викификатор*/

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) }