User:TheDJ/common.js

// ********************************************************************** // **                ***WARNING GLOBAL GADGET FILE***                 ** // **            changes to this file affect many users. ** // **          please discuss on the talk page before editing         ** // **                                                                 ** // ********************************************************************** // Imported from User:Alex Smotrov/edittop.js, version as of: 2007-06-19T04:28:52 // Updated from User:TheDJ/Gadget-edittop.js, version as of: 2009-04-28T11:54:22

( function ( mw, $ ) {

$.when( mw.loader.using(["mediawiki.api.messages", "mediawiki.jqueryMsg"]), $.ready ).done( function {	new mw.Api.loadMessagesIfMissing( ['january', 'february', 'march', 'copyright' ] ).done( function { document.getElementById("mytest").innerHTML = mw.message( 'copyright' ).plain; }); } );

} )( mediaWiki, jQuery );