User talk:Osiris/monobook.js

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

Legacy JavaScript[change source]

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:42, 20 January 2015 (UTC)[reply]

I've fixed some of these issues, but I'm still using importScriptURI and I don't know what I need to do to replace that. Osiris (talk) 07:45, 19 February 2016 (UTC)[reply]
Okay, I've replaced importScriptURI in all but one case, where it doesn't seem to work (when loading Wikipedia:AutoEd/dashes.js). Osiris (talk) 07:54, 19 February 2016 (UTC)[reply]