%SCRIPTURL{"script"}%
http://poppy.dhis.org/twiki/bin/script.cgi
%SCRIPTURL{"viewauth"}%/%WEB%/%TOPIC% which expands to http://poppy.dhis.org/twiki/bin/viewauth.cgi/TWiki/VarSCRIPTURL2
[[%SCRIPTURL{view}%/%WEB%/MyQuery?food=sushi][Sushi]]
%SCRIPTURLPATH{"script"}% instead, as it works with URL rewriting much better