MediaWiki:Gadget-UTCLiveClock.js

From Wikinews, the free news source you can write!
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac); IE: hold Ctrl while clicking Refresh, or press Ctrl-F5; Konqueror: simply click the Reload button, or press F5; Opera users may need to completely clear their cache in Tools→Preferences. — More skins

try { // containerize gadget, to protect other gadgets if this one goes wrong

//IMPORTANT NOTE: This content /IS NOT/ licensed under Creative Commons Attribution 2.5, as the rest of our content is.
//It was taken from Wikipedia: //en.wikipedia.org/w/index.php?oldid=414288497
//You must agree to the conditions of Creative Commons Attribution-Share Alike 2.5 in order to reuse this content.
//
// OTOH, what is below is just a load statement. There is not really enough creativity in a load statement to claim copyright.
//(However the gadget on mediawiki.org is copyrighted cc-by-sa and what not).
mw.loader.load( '//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400' );

} catch (e) { // containerize gadget, to protect other gadgets if this one goes wrong
  // ignore
}