Ticket #54 (accepted discussion)
Namespace for configuration pages
| Reported by: | Necoro | Owned by: | sheep |
|---|---|---|---|
| Priority: | Low | Milestone: | |
| Component: | Hatta Wiki | Version: | 1.4.1dev |
| Keywords: | Cc: |
Description
The current pages used for configuration (eg. Menu or Icons) are handled as 'normal' pages and thus clutter the namespace.
I would suggest to move them to "+config/..." or something different. Thus it is easy to spot what is configuration and what is not.
It might even be thinkable, that these pages are hidden from "+index/" by default.
Change History
comment:3 Changed 18 months ago by Necoro
Mhm - you are right. And it yields problems concerning the location in the pages-directory.
But perhaps: Instead of some virtual "+config", a real "+config"-folder could be created. Then one could put the images there, if one wants to. (And other pages too, if one feels like it).
Note: See
TracTickets for help on using
tickets.

It's a great idea to distinguish the configuration pages somehow -- thank you.
On the other hand, using a prefix like you suggest has one drawback. Let us say I use /+config/style.css for the stylesheet customization. Then I would need some URL for accessing the raw content of that file, to link to in the page headers. I could use something like /+config+download/style.css or something like /+download/+config/style.css. But in both cases, if the stylesheet refers to any images in the wiki, it would need to explicitly use the /+download/image.png URL (or play with relative URLs), whereas now, when the stylesheet is /+download/style.css it can just link to image.png.
I think that your idea is still great, I will just use a special prefix character, just like I do it with '+' for the system pages and '~' for the user pages. Something like /$style.css perhaps. It may be a little obscure though...