From: Yaron K. <ya...@wi...> - 2011-07-19 21:15:22
|
Hi, Oh yes - I forgot that MediaWiki links all have the hover text. Maybe the right solution, then, is to have an automatic hover text for #formlink? It could have the structure "Create <form name>" or "Create <form name>: <page name>", depending on whether a target page was specified. So it could look like "Create Country: Albania". Would that work for you, or would you want custom control? And if it's the latter, what sort of specific text would you want to set? -Yaron On Tue, Jul 19, 2011 at 5:05 PM, Van de Bugger <van...@gm...>wrote: > > The "title" attribute, and hover text, are rarely used for links > > Rarely? I would say "title" attribute is used very often. Almost all > internal links in MediaWiki (=> Wikipedia) has "title" attribute. Try to > stop mouse over a link and see result -- a small tooltip will appear > with more detailed explanation of the link target. For ordinal pages it > is just a full destination page name (including namespace name). For > action link tooltip explains action, often it provides keyboard > shortcut. > > I would like such a tooltip for "further results" link -- now it shows > full address of Special:Ask page with all the search arguments -- looks > very cryptic for ordinal user. I want to set content of tooltip via > parameter, but it is a different component. > > Van. > > On Tue, 2011-07-19 at 16:52 -0400, Yaron Koren wrote: > > Hi Van, > > > > > > Thanks for this patch - it's an interesting idea. The "title" > > attribute, and hover text, are rarely used for links, as far as I know > > - what's a use case for this? > > > > > > -Yaron > > > > On Tue, Jul 19, 2011 at 4:39 PM, Van de Bugger > > <van...@gm...> wrote: > > Hi Yaron, > > > > Please consider a small patch to the formlink functon. I added > > "title" > > parameter. If specified, form link HTML element receives > > "title" > > attribute, which appears as a small tooltip if user stops a > > mouse on a > > link. > > > > Thanks, > > Van. > > > > > > > > -- > > WikiWorks · MediaWiki Consulting · http://wikiworks.com > > > > > -- WikiWorks · MediaWiki Consulting · http://wikiworks.com |