%SCRIPTURL{"script"}%
http://planetowiki.irap.omp.eu/do/script
%SCRIPTURL{"viewauth"}%/%WEB%/%TOPIC%
which expands to http://planetowiki.irap.omp.eu/do/viewauth/TWiki/VarSCRIPTURL2
[[%SCRIPTURL{view}%/%WEB%/MyQuery?food=sushi][Sushi]]
%SCRIPTURLPATH{"script"}%
instead, as it works with URL rewriting much better