Diferencia entre revisiones de «MediaWiki:Common.js»
Sin resumen de edición |
Sin resumen de edición |
||
Línea 12: | Línea 12: | ||
// Launchpad | // Launchpad | ||
mw.loader.using( 'p5' ).then( function () { | $( function () { | ||
mw.loader.using( 'p5' ).then( function () { | |||
mw.loader.load( '//localhost/Launchpad/Launchpad.css', 'text/css' ); | |||
mw.loader.load( '//localhost/Launchpad/Launchpad.js' ); | |||
}); | |||
}); | }); |
Revisión del 16:57 10 abr 2019
// Customize WikiEditor toolbar
mw.loader.load( '/index.php?title=MediaWiki:WikiEditor.js&action=raw&ctype=text/javascript' );
// Load HotCat
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );
// Load Easy LST
//mw.loader.load( '//en.wikisource.org/wiki/MediaWiki:Gadget-Easy_LST.js?action=raw&ctype=text/javascript' );
// Launchpad
$( function () {
mw.loader.using( 'p5' ).then( function () {
mw.loader.load( '//localhost/Launchpad/Launchpad.css', 'text/css' );
mw.loader.load( '//localhost/Launchpad/Launchpad.js' );
});
});