User:GrimPapuff/global.js

// register hook before import to avoid race conditions mw.hook('dev.wds').add(function(wds) {   // wds is a shortcut to window.dev.wds });

importArticles({	type: 'script',	articles: [		'u:dev:MediaWiki:WDSIcons/code.js', //WDS-Icon svg   	'u:dev:MediaWiki:AdminDashboard_JS-Button/code.js', //Only if I'm sysop		'u:dev:MediaWiki:MassEdit/code.js', //Only use if I'm sysop of my wiki.		'u:dev:MediaWiki:PortableCSSPad/code.js', // Save me from hell.		'u:dev:MediaWiki:MultiUpload.js',		'u:dev:MediaWiki:DupeArgs.js',		'u:dev:MediaWiki:TopHiddenCategories.js',		'u:dev:MediaWiki:PPDataModule.js', //Because I'm afraid someone has low internet connection, so that's why I add this		'u:dev:MediaWiki:TemplatesUsedModule.js'	] });

//WDS-ICON ///Editsection-Visual mw.hook('dev.wds').add(function(wds) {   $('visualeditor').append(wds.icon('pencil-tiny', {        'class': 'edit'    }));    var bar = wds.icon('pencil-tiny', { 'class': 'pencil' });   $('.mw-editsection-visualeditor').append(bar); });