I think a solution to your problem might be in using "|link=none" in #ask
call and using your own formatting template where you can use returned value
to construct your own links (instead of the links constructed by #ask query
itself when link=none is not specified).

This will obviously need for your #ask query to return the property you want
to use in a link along with page title.

Hope this will work for you.

          Sergey


P.S. What a set of coincidences, I was leading original development of first
Russian Jewish portal Jewish.ru back in a day and our web dev studio was
called Novikov Design ;)


On Thu, Jun 12, 2008 at 8:11 AM, Vladislav Novikov <
[EMAIL PROTECTED]> wrote:

> Hi all,
>
> I asked this question on developer mail list, maybe this list is a more
> proper place for it.
>
> Here is the short question:
> We want to replace a page name, in a link part of query results with some
> property of the same page.
>
> Is there any native mechanism for it? Any hooks?
> Is there any possibility to alter the visible part of the link?
>
>
> The more detail description:
>
> We are building jewish semantic genealogical portal 
> (JewAge<http://www.jewage.org>
> ).
> The site will support different languages (Russian, Hebrew, English,...).
> We want to provide the possibility to the people from different countries
> with different spoken languages to discover common family roots and to share
> information about it.



> So we want that one single page, that represent a person, to hold all
> semantic information about this person. For example, his name in different
> languages.
>
> Here is the example of the page:
> http://www.jewage.org/wiki/Profile:Albert_Einstein%281879_1955%29
>
> Here is the question.
> We want links from query results, to display it's display name in specific
> language instead of it's page name.
>
> Any hooks? Any ideas?
>
> Thanks a lot.
> Vlad.
>
>
>
> ---------- Forwarded message ----------
> From: Vladislav Novikov <[EMAIL PROTECTED]>
> Date: Sat, May 31, 2008 at 1:23 AM
> Subject: hook on query result
> To: [email protected]
>
>
> Hi all,
>
> Is there any hooks on the qurey results?
> We have some property, *Display name*, we want to print this property
> value instead of the page name in the qurey results.
>
> How can we do it?
>
> Regards,
> Vlad.
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Semediawiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to