Page MenuHomePhabricator

queryformlink, preload results
Closed, ResolvedPublic

Description

MediaWiki 1.35.5
PHP 8.0.19 (fpm-fcgi)
MariaDB 10.2.44-MariaDB
Semantic MediaWiki 3.2.3

The following link works as expected, preloading the results of a query via Page Forms technologies:

However, I have not yet managed to achieve the same by

{{#queryformlink:form=Schlagworte_q|wpRunQuery=true|link text=search Buddha|query string=Schlagworte_q[1]=Buddha }}

Which leads to a query page but does not show preloaded results. Ideally, I would like to transclude the RunQuery special page with preloads into another page. So far, I did not find a way to do that in the documentation. Sorry, if I missed something. Any advice is greatly appreachiated.

Bernhard

Event Timeline

What if you add "&_run" to the end of the "query string" value?

Indeed, that works! (Probably too simple for me, sorry for not having tried out myself.) But perhaps a good idea to make that more explicit in the documentation.

Thanks for adding the note to the documentation.