User:Dropbearemma/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:SeeMoreActivityButton/code.js',        'u:dev:MediaWiki:QuickDiff/code.js',        'u:dev:MediaWiki:WhatLinksHere/code.js',        'u:dev:MediaWiki:ToggleSideBar/code.js',        'u:dev:MediaWiki:FindAndReplace/code.js',        'u:dev:MediaWiki:ContribsLink/code.js',        'u:dev:MediaWiki:UTCClock/code.js',        'u:dev:MediaWiki:EditConflictAlert/code.js',        'u:dev:MediaWiki:NoImageLightbox/code.js',        'u:dev:MediaWiki:CopySectionSource.js',        'u:dev:MediaWiki:MobilePreview.js',        'u:dev:MediaWiki:HistoryKey/code.js',        'u:dev:MediaWiki:CategoryRedLinks.js',        'u:dev:MediaWiki:GlobalNavButtons.js',    ] });

// Automatic theme switcher by User:01miki10 mw.loader.using( 'mediawiki.api', function {	var d = new Date;	var api = new mw.Api;	if ( ( d.getHours >= 21 || d.getHours < 9 ) ) {		api.saveOption( 'theme', 'dark' );	} else {		api.saveOption( 'theme', 'light' );	} } );

//mobile edit tools importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MobileEdittools.js',    ]});

//mobile skin colours importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MobileWikiTheme.js',    ]});

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

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

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

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