Enabling redirects feature when image are displayed in simpel #ask query

From semantic-mediawiki.org

Hello, I have a simple ask query that displays some pages on a table including some pictures attached by a semantic value to the pages.

Is that possible to enable the redirects in order to go directly to the page when clicking to the picture ?

You can see the table here in which pictures are displayed in the column "Image"

Thanks

Nicolas NALLET (Sémantiki)

13:06, 1 June 2013

The simple answer is no because your query

{{#ask: [[Category:Module]] [[Type de module::Emetteur]]
|mainlabel=Emetteur
|?Forme du module
|?Construit par
|?Prix
|?Protocole
|redirects=Redirection
|?Image
}}

uses the table format to display images. Image redirects is a feature only supported by format=gallery and since format=gallery and format=table are two different result formats they can't be mixed unless someone adds a capability to the table printer to do so as well as in case of format=gallery.

19:27, 1 June 2013

Ok thanks for your answer I understand that you can't work more on this extension which is very useful already,

For those who would like doing the same thing : This could be easily workarouned in storing in a "string" value the following sentence:

[[File:''Image''|''anyparameter'']]

Cheers

Nicolas NALLET (Sémantiki)

16:59, 4 August 2013