User talk:Ilmari Karonen/unwatch.js

Latest comment: 9 years ago by Technical 13 in topic Legacy JavaScript

Broken script

edit

The script is not working because document form namespace variables are now broken - i.e. the !document.forms[0].namespace portion the code will always exit the script. See User:Dl2000/Unwatcher.js for a fixed version. Dl2000 (talk) 22:56, 7 April 2013 (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:31, 19 January 2015 (UTC)Reply