MediaWiki talk:Monobook.js
From Guild Wars Wiki
Jump to navigationJump to search
Could someone remove the last comma? I think Opera and IE don't like it since the tooltips aren't showing up and the appropriate shortcuts aren't working. -Smurf 05:59, 8 December 2007 (UTC)
- Ow, so that was the "line 60/char 2/identifier, string or number expected" error i was getting?--Fighterdoken 06:06, 8 December 2007 (UTC)
tooltips and access keys...[edit]
...are no longer necessary now after the MediaWiki upgrade unless these have been customized, but it doesn't look like it. -Smurf 13:46, 9 April 2008 (UTC)
- Are the keys implemented into the software itself? poke | talk 15:16, 9 April 2008 (UTC)
- Do you mean those little boxes that come up when you go over various sections; for example your name/talk/preferences/etc in the personal section, or any of the tabs; because they seem to work for me. --Kakarot 15:45, 9 April 2008 (UTC)
- Yes, and they should be working. We just no longer need the javascript on Monobook.js since it's redundant. -Smurf 16:00, 9 April 2008 (UTC)
- I didn't look at the php code, but the 1.10 release notes state, "(bugs 5051, 5376) Tooltips and accesskeys no longer require JavaScript". You can check for yourself by disabling javascript in your browser and refresh. Also I did quickly look at wikibits.js and the akeytt function has become deprecated, which I believe is the only thing that uses the ta variable. It does still use javascript to add the browser-specific key combinations to the tooltip, but that looks like it's handled by the updateTooltipAccessKeys function which takes its values from the title and accesskey attributes of the elements. -Smurf 16:00, 9 April 2008 (UTC)
- Do you mean those little boxes that come up when you go over various sections; for example your name/talk/preferences/etc in the personal section, or any of the tabs; because they seem to work for me. --Kakarot 15:45, 9 April 2008 (UTC)
displayTimer[edit]
You can deactivate the timer by adding
timerDisplay = false;
to your Special:Mypage/monobook.js and change the displayed time by adding
timerTimezone = [offset];
where [offset] is the offset of the timezone, you want to display (for example timerTimezone = -8;
for PST). poke | talk 18:18, 7 July 2008 (UTC)
- Mine didn't change. — ク Eloc 貢 00:02, 8 July 2008 (UTC)
- Did you clear your cache? poke | talk 00:38, 8 July 2008 (UTC)
- Is it possible for me to change the location? I liked it where it was before, in the upperright corner next to the "Log Out" thing. -- Mini Me 14:52, 8 July 2008 (UTC)
- You could manually change it by adding
li#pt-timer { float: right; }
- to your monobook.css. Not the best but the easiest option without changing the code for others.
- Also, fixed a bug with IE so that it displays now the custom time correctly. poke | talk 16:48, 8 July 2008 (UTC)
- You could manually change it by adding
- Is it possible for me to change the location? I liked it where it was before, in the upperright corner next to the "Log Out" thing. -- Mini Me 14:52, 8 July 2008 (UTC)
- Did you clear your cache? poke | talk 00:38, 8 July 2008 (UTC)