User talk:DeirdreAnne/closemfd.js
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}} (e • t • c) 21:35, 1 December 2014 (UTC)
- Done - thanks --Doug.(talk • contribs) 13:59, 5 December 2014 (UTC)
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}} (e • t • c)
21:11, 19 January 2015 (UTC)