User talk:DeirdreAnne/closemfd.js

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

This is one of potentially many UserScripts needing fixes for addOnloadHook deprecation. Would Doug or any available administrator please replace

addOnloadHook(automfd_add_mfd_tabs);

with

$(automfd_add_mfd_tabs);

and then feel free to delete this comment or talk page as is appropriate. Thank you — {{U|Technical 13}} (etc) 21:35, 1 December 2014 (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:11, 19 January 2015 (UTC)[reply]