MediaWiki talk:Gadget-UTCLiveClock.js

message: I've just installed this into my account after using the original version by User:Mathwiz2020. Enlarging the font of the clock makes the rest of the personal toolbar look out of place (like its touching the page tool tabs). Is it okay if I change the font size back to match the rest? --wL<speak·check> 12:44, 15 January 2008 (UTC)
replies: text: I designed it based on the reality of mine to have the personal toolbar at the left, so personally I would like to have it larger. →AzaToth 17:17, 16 January 2008 (UTC)
replies: text: Mines twitches like a dying animal: is this a problem with my browser (Mac, Firefox, no add-ons)? I can't for the life of me figure out what's up with it. Anthøny 11:25, 20 January 2008 (UTC)
replies: text: Strike that; I still had VoA's clock gadget installed (importScript('User:Voice_of_All/UTCclock.js');), so the two were essentially clashing. Fixed :) Anthøny 11:28, 20 January 2008 (UTC)
thread_title: Font size

message: I'm not sure if this is the correct page, but it's the closest I could find. I run IE6 and IE7 (on different partitions, but same comp) on WinXP/SP2. When the "UTC LIVE clock" feature is activated throught eh Gadgets in Preferences, the "Undo" function in the Windows right-click and Ctrl-U functions is disabled. I'm a lousy typist, so this is a function I need to have, but I like the UTC time feature also. After several weeks without my Undo, I finally tried disableing each new feature in Gadgets, and discovered that the CLock was the apparent culprit (my undo works now, anyway!) Is there a fix or work-around to this problem? Thanks. - BillCJ (talk) 09:11, 15 February 2008 (UTC)
replies: text: This might not suit you, but I usually press Ctrl + Z to undo, which you might find easier. Mahahahaneapneap (talk) 01:33, 24 February 2008 (UTC)
replies: text: I just tried that, and it does not work either. Evidently it's the "undo" functionalitly, not just the right-click undo feature. - BillCJ (talk) 01:57, 24 February 2008 (UTC)
replies: text: I can confirm that this is indeed a problem in IE because of setTimeout(), but I'm not sure how to fix this at the moment. —AlexSm 04:07, 24 February 2008 (UTC)
thread_title: Browser access-key conflict

message: I'll be pleasantly surprised if someone is watching this page, but I didn't want to bother WP:VPT for a non-critical puzzler.  (Plus, this way I get to bump up my MediaWiki talk edits!)  If I don't hear from anyone in a while, I'll try there.
OK, here’s the puzzle.  I have the little clock/purge gadget installed.  So far, it has appeared without incident on every page on Wikipedia except WP:ANI.  Now, if I go into edit mode at WP:ANI, it’s there; but if I’m just viewing the page, it isn’t.  The clock isn’t being covered up by anything; the rest of my personal toolbar just shifts over as if I didn’t have the clock installed.  Purging pages, logging out and in, etc. doesn’t work.  I have no idea if it’s always been like this, or if it’s a new phenomenon, but I’d love to know why this is happening. --barneca (talk) 19:06, 24 July 2008 (UTC)
replies: text: What browser are you using? It works for me in the Mac version of Safari and Firefox. -- Ned Scott 07:41, 5 August 2008 (UTC)
replies: text: Hmmm.  It works for me now too.  In a way, that's a shame, because now I'll never know what was going on, and it's irritating not to know. But, to answer your question, when it wasn't working, I'm 100% sure it wasn't working in IE7, and if my sometimes unreliable memory serves, I'm 90% sure it also wasn't working in Safari (not sure what version, I'm not near that machine right now). --barneca (talk) 12:26, 5 August 2008 (UTC)
thread_title:  Inexplicable Bug? 

message: When the script was loaded using the Vector skin, it gots the script error. I think the script is need to be updated in order to supporting for the other skins. Shinjiman ⇔ ♨ 17:22, 6 July 2009 (UTC)
thread_title:  Vector skin 

message: Ok, so like with the font-size: larger, it looks totally ridiculous with the vector skin. The clock looks completely ridiclous, and looks like someone just randomly jamed in the toolbar (or whatever you call it), and it sticks out like a sore thumb. If your not willing to shrink it (dropping the font-size: larger; is all that is needed), could you provide an option to shrink it? – Andrew Hampe Talk 16:15, 7 December 2009 (UTC)
replies: text: Yea... Someone should have fixed this a LONG LONG LONG time ago. I finally went and found me an admin and made them update the clock to match the fix we've had for the last 8 months on enwn. --ShakataGaNai ^_^ 00:20, 12 February 2010 (UTC)
thread_title:  Font Size (again) 

message: It would be better to remove these lines:
	if (skin !== "vector") { //Looks bad on vector 
		liveClock.node.style.fontSize = 'larger'; 
		}  
	liveClock.node.style.fontWeight = 'bolder';
And add these css properties to MediaWiki:Monobook.css and the other skins in which they do not “look bad”:
#utcdate {
	font-size:larger;
	font-weight:bolder;
	}
Or alternatively, add the above to MediaWiki:Common.css but cancel it in MediaWiki:Vector.css using the following:
#utcdate {
	font-size:inherit;
	font-weight:inherit;
	}
―AoV² 22:48, 24 April 2010 (UTC)
replies: text: Why? Amalthea 08:55, 25 April 2010 (UTC)
replies: text:  Because I tried to shrink it with user css but found it was hard-coded, obviously. ―AoV² 09:37, 25 April 2010 (UTC)
replies: text:  The element styles set by javascript are still just styles, and you can override them in your monobook.css with something like #utcdate{font-size:9px !important;}You're right in general that the style info should be broken out, but I don't think the site or skin sheets are the best place for them, those shouldn't be filled with gadget specific stuff. Right way to go would be either placing them in a separate sheet that can then be loaded via MediaWiki:Gadgets-definition, or letting the script add a CSS node using appendCSS from wikibits.js.Amalthea 10:06, 25 April 2010 (UTC)

text: , a bit different though. Loading a separate CSS file for this seemed excessive, so the script just creates a CSS node, with a style that works for both monobook and vector.Amalthea 17:35, 28 April 2010 (UTC)
thread_title: style attribute properties

message: We're trying to start a library for gadget authors to use.  Please check it out and post any questions or comments there. -- ☠MarkAHershberger☢(talk)☣ 01:19, 9 March 2012 (UTC)
thread_title:  Documentation for gadget authors 

message: Please remove "&smaxage=21600&maxage=86400" as in mw:Special:Diff/1068457. These parameters are not necessary.
Helder.wiki 16:03, 18 July 2014 (UTC)
replies: text: Ruslik_Zero 19:26, 18 July 2014 (UTC)
replies: text: No, it isn't. The last edit to this was in 2011. — ACupOfCoffee@ 01:32, 5 February 2015 (UTC)
replies: text:  Done for real this time. --wL<speak·check> 06:26, 7 February 2015 (UTC)
thread_title:  Protected edit request on 18 July 2014