User talk:King of Hearts/closerfd.js
This is one of potentially many UserScripts needing fixes for addOnloadHook deprecation. Would King of Hearts or any available administrator please replace
addOnloadHook(autorfd_add_rfd_tabs);
with
$(autorfd_add_rfd_tabs);
and then feel free to delete this comment or talk page as is appropriate. Thank you — {{U|Technical 13}} (e • t • c) 21:36, 1 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:38, 19 January 2015 (UTC)