User:Zsotroav/global.js

console.log('Loading global JavaScript for user zsotroav...');

window.AutoCreateUserPagesConfig = { content: { 2: '' }, summary: '', };

window.UTCClockConfig = { format: '%2I:%2M:%2S %p %{Sunday;Monday;Tuesday;Wednesday;Thursday;Friday;Saturday}w, %{January;Febuary;March;April;May;June;July;August;September;October;November;December}m %2d, %Y (UTC)', } window.dev = window.dev || {}; window.dev.editSummaries = { select: [ 'General', [ 'Cleanup/Fixup', 'Corrected spelling/grammar', 'Corrected facts', 'Fixed Formatting/Styling', 'Corrected template usage', ],   'Content', [ 'Updated with new information', 'Added sources', 'Added spoiler template(s)', 'Added/Updated sources', 'Added image(s)', 'Fixed broken link(s)/image(s)', 'Removed unofficial/biased content', ], ] };

window.pPreview = $.extend(true, window.pPreview, {RegExp: (window.pPreview || {}).RegExp || {} }); window.pPreview.defimage = 'https://static.wikia.nocookie.net/ucp-internal-test-starter-commons/images/0/05/Ajax.gif/revision/latest?cb=20200818143056'; window.pPreview.noimage = 'https://static.wikia.nocookie.net/lady-bug/images/6/67/No_Screenshot.png/revision/latest/scale-to-width-down/330?cb=20210524095709'; window.pPreview.RegExp.ipages = [new RegExp('Special:*')];

importArticles({	type: 'script',	articles: [       'u:dev:MediaWiki:UCXSearchBar.js',        'u:dev:MediaWiki:View_Source/code.js',        'u:dev:MediaWiki:ThemeToggler.js',        'u:dev:MediaWiki:CopyTitle.js',        'u:dev:MediaWiki:ProtectionIcons.js',        'u:dev:MediaWiki:AvatarLink.js',        'u:dev:MediaWiki:Standard Edit Summary/code.js',        'u:dev:MediaWiki:ReferencePopups/code.js',        'u:dev:MediaWiki:UTCClock/code.js',        'u:dev:MediaWiki:FileLogs.js',        'u:dev:MediaWiki:MastheadRightsBadge.js',        'u:dev:MediaWiki:ShowUserGroups.js',        'u:dev:MediaWiki:LinkPreview/code.js',        'u:dev:MediaWiki:AutoCreateUserPages.js'	] });

/* Editor sizing buttons */ setTimeout(function {	if (document.getElementsByClassName('CodeMirror').length > 0) {		document.getElementsByClassName("wikiEditor-ui-toolbar")[0].getElementsByClassName("tabs")[0].outerHTML += '  S   M   L   XL  '; } }, 2000);

window.resize = function(size){ var s = "300px"; if (size == "M") { s = "525px"; } else if (size == "L") { s = "625px"; } else if (size == "XL") { s = "800px"; } document.getElementsByClassName('CodeMirror')[0].style.height = s;	window.location.hash = "#wikiEditor-ui-random-nonexistent-crap"; window.location.hash = "#wikiEditor-ui-toolbar"; }

console.log('Finished loading global JavaScript.');