User talk:Ilmari Karonen/liveclock.js

Legacy JavaScript
Hello! This script has been detected as using deprecated parameters that need to be replaced with the updated version. Examples include  needs to be replaced with   or   (depending on use);  all wgGlobalVariables need to be properly gotten with  ; and   needs to be called with. Please see ResourceLoader/Legacy JavaScript for details. Thank you. —  21:30, 19 January 2015 (UTC)

I'm finally trying to clean up my browser developer console warnings and I happen to use this script. :-) --MZMcBride (talk) 03:38, 10 March 2016 (UTC)
 * and how about moving to a page that isn't a subpage of a basically retired user? —  xaosflux  Talk 03:49, 10 March 2016 (UTC)
 * I think Ilmari is still around-ish. Digging up the old discussion, my guess is that mw:MediaWiki:Gadget-UTCLiveClock.js is probably fine to use these days. Maybe I should just switch to that. --MZMcBride (talk) 04:07, 10 March 2016 (UTC)

The gadget kind of sucks. It unconditionally includes the seconds and it has dumb default formatting that requires more code to override. I don't really want to move this script in case people are relying on its current location. Can an admin please update the page contents with what's below? It should resolve most of the console warnings. ( still needs to be addressed, but we can do that later.) Thanks! --MZMcBride (talk) 20:47, 12 March 2016 (UTC)


 * ✅ HOWEVER, I strongly recommend forking this to a gadget, or to somewhere it is not dependent on an inactive editor's userpage. —  xaosflux  Talk 15:19, 13 March 2016 (UTC)
 * Now forked to User:MZMcBride/liveclock.js. --MZMcBride (talk) 03:05, 9 August 2018 (UTC)