Extension talk:Gadgets/Scripts/SearchFocus.js
Latest comment: 7 months ago by Pppery in topic Legacy JavaScript
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 $()
; 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. Technical 13 (talk) 18:12, 18 January 2015 (UTC)