User talk:Base/highlightLocalImgs.js
Latest comment: 8 years ago by Base in topic Legacy JavaScript
Legacy JavaScript
editHello! 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. {{U|Technical 13}} (e • t • c)
17:10, 18 January 2015 (UTC)
- Hi, Technical 13. Could you check whether I have fixed the code ok, please? I am not very adept at JS. --Base (talk) 22:42, 24 November 2015 (UTC)