Last modified: 2011-11-26 19:04:18 UTC
I use {{ #ask: ... | format = map }} A point on the map has title. Title is shown as a tooltip when mouse cursor hovers the point icon, and also used as title in point's info bubble. There also `#ask' parameter `title' which > Allows setting text that will be displayed in the pop-ups of all markers that > do not have a specific title. (taken from http://semantic-mediawiki.org/wiki/Help:Map_format) However, it is not clear how to set title for a specific point. I did some experiments, then took a look into source code and found that the the first printout statement is taken as point's title, but only it has type `Page'. In my application title is not of type `Page' but of type `String'. Please consider the patch to allow the first printout of `String' type be a title.
Created attachment 9550 [details] Let the first data of type `String' be a title.
Created attachment 9553 [details] Atteempt #2. Previous patch causes error in case of KML export.
BTW, did yo notice a typo in `SM_QueryHandler.php' file: > /** > * Make a separate link to the title or not? > * > * @since 0.7.3 > * > * @var boolean > */ > public $titleLinkSeperate; Look at name of a variable. Proper spelling is `$titleLinkSeparate'.
Cool. I modified it a bit, handleResultSubject is only meant to handle actual wiki page results. r104271
Oops, just saw I forgot to mention you in the commit - sorry for that.
Thanks for quick reaction. Verified on r104292.