Jump to content

User talk:King of Hearts/closerfd.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 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}} (etc) 21:36, 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:38, 19 January 2015 (UTC)[reply]