MediaWiki:Gadget-GadgetLoaderCenter.js: Difference between revisions
From Elwiki
(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( →URL to user script: ); } ); } );") |
No edit summary |
||
Line 2: | Line 2: | ||
// Register plugins to VE. will be loaded once the user opens VE | // Register plugins to VE. will be loaded once the user opens VE | ||
mw.libs.ve.addPlugin( function () { | mw.libs.ve.addPlugin( function () { | ||
return mw.loader.getScript( / | return mw.loader.getScript( '/w/MediaWiki:Gadget-Center.js' ); | ||
} ); | } ); | ||
} ); | } ); |