User talk:Moeron/welcome2.js

Latest comment: 9 years ago by Technical 13 in topic Legacy JavaScript

How to use

edit

To use this, you MUST already have installed:

Then, in your monobook.js, place {{subst:user:Moeron/welcome2.js}}. Save your edit, purge your cache, and your should be set. -- moe.RON talk | done | doing 19:22, 24 October 2006 (UTC)Reply

Can I change to a different welcome template?

edit

Yes, you can easily change to a different template by replacing all instances of "welcome2" in this specific code with the desired template (ie. change "welcome2" to "welcome4"). -- moe.RON talk | done | doing 19:22, 24 October 2006 (UTC)Reply

Legacy JavaScript

edit

Hello! This script has been detected as using deprecated parameters that need to be replaced with the updated version. Examples include addOnloadHook( ... ) needs to be replaced with $( ... ) or $( function() { ... } ) (depending on use); all wgGlobalVariables need to be properly gotten with mw.config.get( 'wgGlobalVariable' ); and addPortletLink needs to be called with mw.util.addPortletLink. Please see MW:ResourceLoader/Legacy JavaScript for details. Thank you. — {{U|Technical 13}} (etc) 21:47, 19 January 2015 (UTC)Reply