User:Osnard/Gadget-Test.js

(function(mw, $){	$.ajax( { url: mw.util.wikiScript('index')+'?'+$.param({				title: 'User:Osnard/Gadget-Test/de.js',				action:'raw',				ctype: 'text/javascript'			}), dataType:'json' })	.done(function( messages ) { console.log(messages); mw.loader.implement(			'rv.Testmodule',			[],			{},			messages		); mw.loader.using( ['rv.Testmodule'], function{ 			alert( mw.message('rv-gadget-test-hello').plain );		}); }); })( mediaWiki, jQuery );