Jump to content

MediaWiki talk:Gadget-EnhancedInterwikis.js

Page contents not supported in other languages.
From Simple English Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Please replace this line: h5.style.cursor = 'pointer'

with: if (typeof h5.style === "undefined") h5.style = {'cursor': 'pointer'}; else h5.style.cursor = 'pointer';

This is causing JS errors for me. PiRSquared17 (talk) 22:57, 18 March 2014 (UTC)[reply]

I've changed that now - I hope everything works. -Barras talk 14:00, 3 April 2014 (UTC)[reply]

Legacy JavaScript

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:24, 20 January 2015 (UTC)[reply]