User:HM100/global.js

/* Quick Revert Spam and Vandalism */ mw.loader.using(['site', 'mediawiki.util']).then(function {	massBlockDelay = 440;	massProtectDelay =720;	massUserRightsDelay = 1000;	batchDeleteDelay = 768;	WHAMDelay = 480;	WHAMBotMe = true;

/* Global Nav Links */ $(".wds-global-navigation__links").empty; $(".wds-global-navigation__links").append("Q.Qore"); $(".wds-global-navigation__links").append(	"" +		"" +			" Fandom " +           '' +              '' + ' ' +		" " +		"" + "" + " Games" + "" + " Movies" + "" + " TV</a>" + "</li>" + "<li class='wds-is-sticked-to-parent wds-dropdown-level-2'>  Wikis <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' class='wds-icon wds-icon-tiny wds-dropdown-chevron' id='wds-icons-menu-control-tiny'><path d='M11.707 3.293a.999.999 0 0 0-1.414 0L6 7.586 1.707 3.293A.999.999 0 1 0 .293 4.707l5 5a.997.997 0 0 0 1.414 0l5-5a.999.999 0 0 0 0-1.414' fill-rule='evenodd'> </a>" + "<div class='wds-is-not-scrollable wds-dropdown-level-2__content'>" + "<ul class='wds-list wds-is-linked'>" + " Explore Wikis</a></li>" + " Community Central</a></li>" + " Start a Wiki</a> </li>" + "</ul>" + " " +				"</li>" + "</ul>" + " " +	" " ); /**/

$(".wds-global-navigation__links").append(	"<div class='wds-dropdown wds-global-navigation__link-group wds-has-dark-shadow'>" +		"<div href='' class='wds-dropdown__toggle wds-global-navigation__dropdown-toggle wds-global-navigation__link'>" +			" A Techno " +           '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" class="wds-icon wds-icon-tiny wds-dropdown__toggle-chevron" id="wds-icons-dropdown-tiny">' +              '<path d="M6.0001895,8.80004571 C5.79538755,8.80004571 5.5905856,8.72164496 5.43458411,8.56564348 L2.23455364,5.365613 C2.00575146,5.13681083 1.93695081,4.79280755 2.06095199,4.4936047 C2.18415316,4.19440185 2.47695595,4 2.80015903,4 L9.20021997,4 C9.52342305,4 9.81542583,4.19440185 9.93942701,4.4936047 C10.0634282,4.79280755 9.99462754,5.13681083 9.76582536,5.365613 L6.56579489,8.56564348 C6.4097934,8.72164496 6.20499145,8.80004571 6.0001895,8.80004571 Z" fill-rule="evenodd">' + ' ' +		" " +		"<div class='wds-is-not-scrollable wds-dropdown__content'>" + "<ul class='wds-list wds-is-linked'>" + " Company</a>" + "</li>" + "<li class='wds-dropdown-level-2'>  Core Wikis <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' class='wds-icon wds-icon-tiny wds-dropdown-chevron' id='wds-icons-menu-control-tiny'><path d='M11.707 3.293a.999.999 0 0 0-1.414 0L6 7.586 1.707 3.293A.999.999 0 1 0 .293 4.707l5 5a.997.997 0 0 0 1.414 0l5-5a.999.999 0 0 0 0-1.414' fill-rule='evenodd'> </a>" + "<div class='wds-is-not-scrollable wds-dropdown-level-2__content'>" + "<ul class='wds-list wds-is-linked'>" + " Kanal</a></li>" + " Techno</a></li>" + "<li> <a href='https://bision.fandom.com/el/wiki/' data-tracking-label='link.explore'>PokéQore</a></li>" + "</ul>" + " " +				"</li>" + "<li class='wds-is-sticked-to-parent wds-dropdown-level-2'> <a class='wds-dropdown-level-2__toggle'> Suppliment Wikis <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' class='wds-icon wds-icon-tiny wds-dropdown-chevron' id='wds-icons-menu-control-tiny'><path d='M11.707 3.293a.999.999 0 0 0-1.414 0L6 7.586 1.707 3.293A.999.999 0 1 0 .293 4.707l5 5a.997.997 0 0 0 1.414 0l5-5a.999.999 0 0 0 0-1.414' fill-rule='evenodd'> </a>" + "<div class='wds-is-not-scrollable wds-dropdown-level-2__content'>" + "<ul class='wds-list wds-is-linked'>" + "<li> <a href='https://wb-wiki2.fandom.com/el/wiki/' data-tracking-label='link.explore'>Wall-Nut Bowling</a></li>" + "<li> <a href='https://scratch-mods-wiki-2.fandom.com/el/wiki/' data-tracking-label='link.explore'>Scratch and Snap Mods</a></li>" + "<li> <a href='https://web-qore.fandom.com/wiki/' data-tracking-label='link.explore'>WebQore</a></li>" + "</ul>" + " " +				"</li>" + "<li class='wds-is-sticked-to-parent wds-dropdown-level-2'> <a class='wds-dropdown-level-2__toggle'> Community-Managed Wikis <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' class='wds-icon wds-icon-tiny wds-dropdown-chevron' id='wds-icons-menu-control-tiny'><path d='M11.707 3.293a.999.999 0 0 0-1.414 0L6 7.586 1.707 3.293A.999.999 0 1 0 .293 4.707l5 5a.997.997 0 0 0 1.414 0l5-5a.999.999 0 0 0 0-1.414' fill-rule='evenodd'> </a>" + "<div class='wds-is-not-scrollable wds-dropdown-level-2__content'>" + "<ul class='wds-list wds-is-linked'>" + "<li> <a href='https://alpha-technologies.fandom.com/el/wiki/' data-tracking-label='link.explore'>A Wiki</a></li>" + "<li> <a href='https://alphafoundation.fandom.com/el/wiki/' data-tracking-label='link.explore'>A Foundations</a></li>" + "<li> <a href='https://alpha-styles.fandom.com/el/wiki/' data-tracking-label='link.explore'>A Styles</a></li>" + "</ul>" + " " +				"</li>" + "</ul>" + " " +	" " );

window.fdButtons = []; window.fdButtons.push(	   {	        summary: 'Housekeeping',	        label: 'HK'	    },	    {	        summary: 'Vandalism',	        label: 'V'	    },	    {	        summary: 'Spam',	        label: 'S'	    },	    {	        summary: 'Terms of Use violation',	        label: 'ToU'	    },	     {	        summary: 'Unused File/Video',	        label: 'UF'	    },	    {	            summary: 'Broken Redirect',	        label: 'BR'	    }	); // our config is stored in an array window.lessOpts = window.lessOpts || []; // each target page needs separate configuration window.lessOpts.push( {	   // this is the page that has the compiled CSS	    target: 'MediaWiki:Common.css',	    // this is the page that lists the LESS files to compile	    source: 'MediaWiki:Custom-common.less',	    // these are the pages that you want to be able to update the target page from	    // note, you should not have more than one update button per page	    load: [	        'MediaWiki:Common.css',	        'MediaWiki:Custom-common.less'	    ],	    // this is the page that contains the comment header for the target page	    // all other comments are stripped during compilation	    header: 'MediaWiki:Custom-css-header/common'	},	{	    // this is the page that has the compiled CSS	    target: 'MediaWiki:Wikia.css',	    // this is the page that lists the LESS files to compile	    source: 'MediaWiki:Custom-wikia.less',	    // these are the pages that you want to be able to update the target page from // note, you should not have more than one update button per page load: [ 'MediaWiki:Wikia.css', 'MediaWiki:Custom-wikia.less' ],	   // this is the page that contains the comment header for the target page // all other comments are stripped during compilation header: 'MediaWiki:Custom-css-header/wikia' },	{	   // this is the page that has the compiled CSS target: 'User:HM100/navbar-customization.css', // this is the page that lists the LESS files to compile source: 'User:HM100/navbar-customization.less', // these are the pages that you want to be able to update the target page from // note, you should not have more than one update button per page load: [ 'User:HM100/navbar-customization.css', 'User:HM100/navbar-customization.less' ],	   // this is the page that contains the comment header for the target page // all other comments are stripped during compilation header: 'User:HM100/navbar-customization' });	window.lessConfig = {	   // reloads the page after the target page has successfully been updated	    // defaults to true	    reload: true,	    // wraps the parsed CSS in pre tags to prevent any unwanted links to templates, pages or files	    // defaults to true	    wrap: true,	    // for adding non-standard user groups that can edit the mediawiki namespace	    // normally this is limited to staff, vstf, helpers and sysops/admins	    // but if there are other groups that can edit the namespace on your wiki	    // add them to the array here for the script to load for them	    allowed: ['user']	};	//window.SeeMoreActivityButtonOld = true;	/** Parraell Immportsss **/	//importStylesheetPage('MediaWiki:BetterLandscapeCommunityHeader/main.css', 'el.alpha-styles');	//importStylesheetPage('User:HM100/better fluid layout.css', 'community');	//importStylesheetPage('Χρήστης:HM100/interlanguages.css', 'el.spongebob'); //importStylesheetPage('MediaWiki:DarkOasis/code.css', 'dev'); //importStylesheetPage('MediaWiki:DVSTFW/code.css', 'dev'); //importStylesheetPage('MediaWiki:SpecialCandyCrushWikis/main.css', 'el.alpha-styles'); //importStylesheetPage('MediaWiki:OldAWikiTheme/main.css', 'el.alpha-styles'); //importStylesheetPage('MediaWiki:CozyHeader/main.css', 'el.alpha-styles'); //importStylesheetPage('MediaWiki:FullScreenOasis/main.css', 'el.alpha-styles'); //importStylesheetPage('MediaWiki:ScrollableFanFeed/main.css', 'el.alpha-styles'); //importScriptPage('SkinMover/main code', 'el.alpha-styles'); //importScriptPage( 'DoTheHarlemShake/code.js', 'dev' ); /* */	importArticles( {	   type: 'script',	    articles: [	        'u:dev:MediaWiki:Rollback/code.js',	        'u:dev:MediaWiki:MassBlock/code.js',	        'u:dev:MediaWiki:MassProtect/code.js',	        'u:dev:MediaWiki:MassRename/code.js',	        'u:dev:MediaWiki:MassUserRights/code.js',	        'u:dev:MediaWiki:WHAM/code.2.js',	        'u:dev:MediaWiki:UTCClock/code.js',// Removed because I'm using Κλωκάκι, a clone of UTCClock and DisplayTimer	        'u:dev:MediaWiki:Wikimarks/code.js',	        'u:dev:MediaWiki:FastDelete/code.js',	        "u:dev:MediaWiki:AjaxBatchDelete/code.2.js",	       // 'u:dev:MediaWiki:GlobalEditcount/code.js',	        'u:dev:MediaWiki:ViewInContentLang/code.js',	        //'u:dev:MediaWiki:LastEdited/code.js',	       // 'u:dev:MediaWiki:SeeMoreActivityButton/code.js',	        "u:dev:MediaWiki:AnchoredRollback/code.js",	        'u:dev:MediaWiki:RedirectManagement/code.js', //'u:dev:MediaWiki:ModernButtons/code.js', // 'u:dev:MediaWiki:Less/code.2.js', // 'u:dev:MediaWiki:MessageBlock/code.js', //'u:el.alpha-styles:Κλωκάκι/script.js', ]	} ); });