Ticket #3021 (reopened enhancement)
Opened 6 years ago
Last modified 13 months ago
wiki namespace support like the one in dokuwiki
| Reported by: | trac.ticket@… | Owned by: | cboos |
|---|---|---|---|
| Priority: | high | Milestone: | next-major-0.1X |
| Component: | wiki system | Version: | none |
| Severity: | major | Keywords: | wiki namespace structure |
| Cc: | itamarost@… | ||
| Release Notes: | |||
| API Changes: | |||
Description (last modified by cboos) (diff)
It would be very great to have wiki namespace support, for sorting wiki pages and protect user to build too big pages. I think it's very important to support wiki namespaces.
As the topic is broad, it's worth to discuss it in a specific proposal page, see TracDev/Proposals/WikiNamespaces.
Attachments
Change History
comment:1 Changed 6 years ago by cboos
- Description modified (diff)
- Milestone 0.10 deleted
- Priority changed from normal to low
- Severity changed from normal to minor
- Summary changed from wiki namespace support like the one in docuwiki to wiki namespace support like the one in dokuwiki
comment:2 Changed 6 years ago by christian.aust@…
- Priority changed from low to normal
I'd like to vote for this, too. Having proper namespace support would indeed help to clean up some wiki issues. Real namespaces would also allow to narrow a search down to certain sets of pages, which is nice if you share one instance of trac for different projects.
I'd like to see this in future versions. Just my $.02.
comment:3 Changed 5 years ago by anonymous
comment:4 follow-up: ↓ 5 Changed 5 years ago by cboos
- Resolution set to duplicate
- Status changed from new to closed
The ...:WikiPageName syntax is already used for InterWiki and InterTrac links. It's not impossible that in the future, when there's support for Multiple Projects (#130), the use of InterTrac prefixes to specify some other projects will actually achieve a result quite close to what was requested here.
But for now, Trac support scopes by the way of scoped WikiPageNames (CamelCase words separated by "/"). The support for this can certainly be enhanced (see #4507). Introducing a different syntax (the DokuWiki one) would not bring any advantage over this, and, as explained before, will conflict with Inter(Wiki/Trac?) links.
comment:5 in reply to: ↑ 4 Changed 20 months ago by cboos
- Milestone set to next-major-0.1X
- Owner changed from jonas to cboos
- Priority changed from normal to high
- Severity changed from minor to major
Reconsidering comment:4:
The ...:WikiPageName syntax is already used for InterWiki and InterTrac links. It's not impossible that in the future, when there's support for Multiple Projects (#130), the use of InterTrac prefixes to specify some other projects will actually achieve a result quite close to what was requested here.
... Introducing a different syntax (the DokuWiki one) would not bring any advantage over this, and, as explained before, will conflict with Inter(Wiki/Trac) links.
The advantage of namespaces over the hierarchy would be the possibility to assign a special semantic to set of pages, a kind of specialization of wiki pages. For example Help: for Trac's own help pages (#3386), Template: (for transclusion support a la MediaWiki), Category: for tagging, Special: for special pages like BadContent, TitleIndex, InterMapTxt, ...
The hierarchy is there to structure the content in the main namespace (wiki:), like here TracDev/... CookBook/... and the namespaces could be used for segregating special wiki pages which are not to be considered part of the content.
comment:6 Changed 20 months ago by cboos
- Resolution duplicate deleted
- Status changed from closed to reopened
comment:7 Changed 17 months ago by itamaro
- Cc itamarost@… added
comment:8 Changed 13 months ago by cboos
- Description modified (diff)



We already support scoped WikiPageNames, but I guess
we could improve a bit the readability of those names.
If we're in a page belonging to a given "namespace", that leading prefix
could be omitted when displaying references to other pages sharing
the same namespace.
E.g. in the page TracDev/DatabaseSchema a reference to
TracDev/DatabaseUpgrades would read DatabaseUpgrades?
(it would still have to be written in full, though).
This would be useful if we move all Trac documentation pages
in TracGuide/<something> or TracHelp/?<something>, as it's
sometimes requested.