User:Queney/global.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:Gadget-wikificator.js&action=raw&ctype=text/javascript'); addOnloadHook(addWikifButton); }

var MultiUploadoption = { max: 100 }; importArticles({   type: 'script',    articles: [        'u:dev:MultiUpload/code.js'    ] });

!function( $ ) { if ($(".tally > a > em").length && $('#UserProfileMasthead').length && mw.config.get('wgAction') === 'view') { var editCount = +($( '.masthead-info-lower .tally:first-child > a > em' ).text.replace( /[^\d]/g, '')) || 0; title = ''; if (editCount <= 100) { title = "Новичок"; } else if (editCount > 100 && editCount <= 500) { title = "Средний"; } else if (editCount > 500 && editCount <= 1000) { title = "Хороший"; } else { title = "Очень хороший"; }       $(' ', {            class: 'tag',            text: title        }).appendTo('.masthead-info hgroup'); } }( this.jQuery );

importArticles({   type: 'script',    articles: [        'u:dev:MassEdit/code.js'    ] });

importArticles({   type: 'script',    articles: [        'u:kocka:MediaWiki:AjaxCommentDelete/code.js',        ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:RailWAM/code.js',        ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:RailWAM/code.js',        ] });

importArticles({   type: 'script',    articles: [        'u:dev:MultiUpload/code.js',        ] });