Last modified: 2012-06-10 01:00:55 UTC
Created attachment 10231 [details] Patch. I have inline query: {{ #ask: ... | format = ul | template = Item | named args = yes ... }} Result looks ok, but following "further results" link shows nothing. I found that link to Special:Ask does not include "named args" parameter. I fixed SMW_QP_List.php file (patch attached), so Special:Ask now receives "named args".
However, the patch does not solve the problem completely. There is one more problem in name of the first column. Following inline query {{ #ask: | ?# = main <!-- Note this --> | format = ul | template = Item | named args = yes ... }} passes "?main" parameter to template "Item". But when the same template is called from "Special:Ask", it does not receive "?main" parameter. Adding "mainlabel" changes the situation a little bit: {{ #ask: | ?# = main <!-- Note this --> | mainlabel = main | format = ul | template = Item | named args = yes ... }} In such a case template receives "main" parameter, but it is plain text in inline query and link in Special:Ask. I believe the template should receive exactly the same parameters in both cases.
SMW 1.8 now has generic parameter handling that places all provided parameters in further result links, so this should be fixed. Would be nice if you could confirm.