[pmwiki-users] MakeLink and url arguments

Patrick R. Michaud pmichaud at pobox.com
Fri Mar 17 15:04:07 CST 2006

On Fri, Mar 17, 2006 at 09:28:48PM +0100, EuGeNe wrote:
> Hi All,
> In (:logbook:) I use MakeLink wherever I can but I don't know how to add 
> a url arguments properly ex.
> MakeLink($pagename,$pagename,'[-]','',$fmt="<A class='async' 
> href='\$PageUrl?log_month=$prev'>\$LinkText</A>").
> Would have href='http://site/Group/Page?log_month=200503' for a CleanUrl 
>   PmWiki site but href='http://site/?n=Group.Page?log_month=200503' for 
> a standard installation ... which is not proper the ? in front of 
> log_month should be & in that case.
> Is there any way to make MakeLink deal with additional url arguments?

PmWiki allows either '?' or '&' to be used to separate arguments
in a url.  Thus


both work the same for PmWiki.  (Other applications might have
problems with it, but then one wouldn't normally be using 
$PageUrl to send requests to other applications... :-).


More information about the pmwiki-users mailing list