On Tue, Sep 2, 2008 at 6:02 PM, Noah Kantrowitz <[EMAIL PROTECTED]> wrote:

> >
> > The attachment module treats e.g. "/attachment/wiki/Projects/Trac/" and
> > "/attachment/wiki/Projects/Trac" differently. The former shows the list
> > of attachments for the Projects/Trac page, and the second shows the
> > attachment with the name "Trac" attached to the page Projects.
> >
> > Maybe the file name and the path should be reversed:
> >
> >    /attachment/wiki/MyFile/Projects/Trac
> >
> > would open the attachment named "MyFile" for page "Projects/Trac".
>
> This breaks hierarchical semantics and grouping though.
>

Another option would be to have a separate handler for the attachment list
and individual attachments:

/attachmentlist/wiki/Projects/Trac/ --> redir to ..../Trac
/attachment/wiki/Projects/Trac/file/ --> redir to ..../file  (hmmm)
/attachment/wiki/Projects/Trac/file --> single attachment: "file"

Do people deep link to the attachment list much? Also, the second
redirection above has semantic troubles as well.

Ted

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to