User talk:Xeno/monobook.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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) 22:33, 19 January 2015 (UTC)[reply]

Typo[edit]

@Xeno: The line importScript( 'User:DannyS712 test/meta.js’ ); // [[User:DannyS712 test/meta.js]] isn't going to work - is not the same as ', and from a code perspective you have to use ' --DannyS712 (talk) 00:23, 7 March 2019 (UTC)[reply]