Page MenuHomePhabricator

Size of balloons for messages
Closed, ResolvedPublic

Description

Hi, the size of the balloons used for the built in messages of SMW and the ones from the #info parser function is too small. It was increased with 1.6.0alpha as I see on sandbox.semantic-mediawiki.org but it should be increased by another 50 %. Additionally the size of the font should be twice as big too as standard implementation to avoid that supposedly every siteadmin has to change SMW_Tooltip.js manually. Cheers [[kgh]] PS Probably I am overdoing this now: I would be a very nice feature to have non-sticky mouseover balloons too. ;)


Version: unspecified
Severity: enhancement

Details

Reference
bz29764

Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:32 PM
bzimport set Reference to bz29764.

I'm aware of the issue. simply making the thing bigger does not seem like a good approach, as it's already to big for short text. SMW needs another pop-up js lib that supports pop-ups that auto size to their content. this will be for after SMW 1.6. feel free to suggest a lib if you know a good one :).

(In reply to comment #1)

I'm aware of the issue. simply making the thing bigger does not seem like a
good approach, as it's already to big for short text. SMW needs another pop-up
js lib that supports pop-ups that auto size to their content. this will be for
after SMW 1.6. feel free to suggest a lib if you know a good one :).

Isn't there already a jquery one in core for that?

Isn't there already a jquery one in core for that?

I'm not aware of any, and didn't find one either after having a look in trunk. Can you point me to it? If there is such a lib in core, it'd be best to use this one when available, so eventually all pop-up JS can be removed from SMW.

Hi, I think jQuery is only included in the Vector skin and not in MediaWiki itself. To keep things consistently one could use jQuery since there are extension around which use it too. I am afraid that since I am not a coder this is the only knowledge I am able to provide. Cheers [[kgh]] PS What about the size of font for the messages? I believe it is only a small thing to make this reality, at least I hope.

jQuery is most definitely included in core (since MW 1.16). But, like I noted, I'm not aware of any jQuery pop-up library being in there as well.

(In reply to comment #5)

jQuery is most definitely included in core (since MW 1.16). But, like I noted,
I'm not aware of any jQuery pop-up library being in there as well.

jquery.ui.dialog?

(In reply to comment #6)

(In reply to comment #5)

jQuery is most definitely included in core (since MW 1.16). But, like I noted,
I'm not aware of any jQuery pop-up library being in there as well.

jquery.ui.dialog?

What's needed here are balloon style pup-ups, not pop-up boxes, which jquery.ui.dialog seems limited to. ie something like this: http://flowplayer.org/tools/demos/tooltip/index.html

(In reply to comment #7)

(In reply to comment #6)

(In reply to comment #5)

jQuery is most definitely included in core (since MW 1.16). But, like I noted,
I'm not aware of any jQuery pop-up library being in there as well.

jquery.ui.dialog?

What's needed here are balloon style pup-ups, not pop-up boxes, which
jquery.ui.dialog seems limited to. ie something like this:
http://flowplayer.org/tools/demos/tooltip/index.html

Oh, you want tooltips. Maybe jquery.tipsy can do what you want.

Doesn't seem to have real arbitrary HTML content support (the content goes into an html element attribute, and the fallback JS argument will fail when an actual title is set for the element), which would be useful to have.

Unknown Object (User) added a comment.Oct 3 2012, 2:00 AM

https://gerrit.wikimedia.org/r/#/c/26341/ solves (bug 29764), as it allows the size to be increased automatically.