/wiki/pagename does work just as well for wiki pages, but it doesn't handle
attachments -- you could use a different URL prefix for that, if you wanted,
like "wiki-attachment".  There's always a tradeoff between URL path
components and named parameters; it's a matter of taste.  Personally, I'd
say that if you have exactly one required parameter that has a path
structure, then using the URL path might make sense, like with doc links,
but there's no clear-cut rule that says when you "should" choose one
representation or the other.  Using parameters makes it clear that */wiki is
a "service".


Bill


On Mon, Mar 28, 2011 at 10:14 AM, Nolan Darilek <no...@thewordnerd.info>wrote:

> Why do Fossil-generated links to wiki pages include the ?name=pagename
> parameter when /wiki/pagename seems to work as well as /wiki?name=pagename?
>
> Thanks.
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to