Last modified: 2012-10-03 02:00:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31764, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29764 - Size of balloons for messages
Size of balloons for messages
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on: 37361
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-07 21:16 UTC by [[kgh]]
Modified: 2012-10-03 02:00 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description [[kgh]] 2011-07-07 21:16:30 UTC
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. ;)
Comment 1 Jeroen De Dauw 2011-07-08 09:54:14 UTC
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 :).
Comment 2 p858snake 2011-07-08 10:07:16 UTC
(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?
Comment 3 Jeroen De Dauw 2011-07-09 23:42:16 UTC
> 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.
Comment 4 [[kgh]] 2011-07-13 18:40:58 UTC
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.
Comment 5 Jeroen De Dauw 2011-07-13 19:52:35 UTC
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.
Comment 6 Roan Kattouw 2011-07-15 01:24:10 UTC
(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?
Comment 7 Jeroen De Dauw 2011-07-15 12:14:15 UTC
(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
Comment 8 Roan Kattouw 2011-07-15 17:29:32 UTC
(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.
Comment 9 Jeroen De Dauw 2011-07-15 17:47:54 UTC
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.
Comment 10 MWJames 2012-10-03 02:00:05 UTC
https://gerrit.wikimedia.org/r/#/c/26341/ solves (bug 29764), as it allows the size to be increased automatically.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links