User:Nanaki/global.js

qtUserPageTemplate = ''; // "Create user page" content override

PurgeButtonText = 'Odśwież';

ThreadInspection = { reviewAll: "Przejrzyj wszystkie wiadomości", reviewTitle: "Kliknij aby zobaczyć tą wiadomość", quickLinks: { viewText: "z", viewTitle: "Zobacz", editText: "e", editTitle: "Edytuj", deleteText: "u", deleteTitle: "Usuń", } };

importArticles({   type: "script",    articles: [      "u:dev:WHAM/code.js",      "u:dev:AjaxBatchDelete/code.js",      "u:dev:RevealAnonIP/usercode.js",      "u:dev:RelatedDiscussionsModule/code.js",      "u:dev:PurgeButton/code.js",      "u:dev:PersistentParameters/code.js",      "u:dev:Thread Inspection/code.js",      "u:dev:LuaError/code.js",      'u:dev:PortableCSSPad/code.js',    ] });

$(function {   $('#quicktools').click(function(event) { event.preventDefault; $('.dialog-full').dialog('open'); }); }); $(function {   $('*[accesskey]').removeAttr('accesskey') }); $(function {   $('.subnav-2a[data-canonical="wikiactivity"]').attr('href', '/wiki/Special:RecentChanges').attr('data-canonical', 'recentchanges').html('Ostatnie zmiany'); });

/* Makes the Lua console auto scroll to bottom on textarea focus */

$(function {   setTimeout(function { $('#mw-scribunto-input').focus(function {           $('#mw-scribunto-output').scrollTop($('#mw-scribunto-output')[0].scrollHeight);        }); }, 5000); });