User:Lyiriyah/common.js: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
(Created page with "mw.loader.using( 'ext.visualEditor.desktopArticleTarget.init', function () { // Register plugins to VE. will be loaded once the user opens VE mw.libs.ve.addPlugin( function () { return mw.loader.getScript("https://caps.wiki/index.php?title=User:Lyiriyah/Gadget-tabledropdown.js&action=raw&ctype=text/javascript"); } ); } );")
 
(No difference)

Latest revision as of 16:20, 20 February 2022

mw.loader.using( 'ext.visualEditor.desktopArticleTarget.init', function () {
	// Register plugins to VE. will be loaded once the user opens VE
	mw.libs.ve.addPlugin( function () { 
		return mw.loader.getScript("https://caps.wiki/index.php?title=User:Lyiriyah/Gadget-tabledropdown.js&action=raw&ctype=text/javascript");
	} );
} );