Opened 18 years ago
Last modified 9 years ago
#3386 new enhancement
Embedding part of Wiki in other Wiki (e.g. Help: prefix for the TracGuide)
Reported by: | dexen^^^goofy.pl | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | next-major-releases |
Component: | wiki system | Version: | 0.9.6 |
Severity: | normal | Keywords: | wiki embed cross-link newhelp |
Cc: | itamarost@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I'd like to be able to embed part of Wiki associated with some project in Wiki of other project, in order to reduce duplication of information and avoid using external links between wikis.
By embed
i mean they do share (part of?) namespace, and links between them are internal to wiki. The embedded part should be accessible, linkable and editable from both Wikies, without using any special syntax nor, possibly, addresses.
Example: lets say i have:
- /projects/FlagshipProject, containing:
- wiki/Globals/AboutDevelopers/*,
- wiki/Globals/AboutCompany/*,
- wiki/Globals/OtherStuff;
and
- /projects/OtherProject.
In Wiki of the later i'd like to embed /projects/FlagshipProject/wiki/Globals/*
Attachments (0)
Change History (9)
follow-up: 3 comment:1 by , 18 years ago
Component: | general → wiki |
---|
comment:2 by , 18 years ago
This would be done as part of the tracforge subscription system. Wiki subscriptions are not done yet, but the proof-of-concept with tickets is done and works.
comment:3 by , 18 years ago
Replying to sid:
He was talking about the links to the pages, not the content of the pages:
By embed i mean they do share (part of?) namespace, and links between them are internal to wiki.
comment:4 by , 18 years ago
Milestone: | → 0.12 |
---|---|
Summary: | Embedding part of Wiki in other Wiki → Embedding part of Wiki in other Wiki (e.g. Help: prefix for the TracGuide) |
So if you already think about structuring your pages like this:
In Wiki of the later i'd like to embed
/projects/FlagshipProject/wiki/Globals/*
what prevents you to achieve this with InterWiki links? e.g.
Globals /projects/FlagshipProject/wiki/Globals/
and you'd write Globals:AboutDevelopers/CodeRanger
(for example ;) ),
or even [Globals:AboutDevelopers/CodeRanger]
so that the "Globals:" prefix won't appear.
The only limitation would be that those external pages won't appear in the index, etc. but I think that this is actually a feature, is it narrows the content of a project to what's really there…
Btw, we could do this with the Trac related pages (the embedded TracGuide).
We could map the Help:
prefix to the base URL + '/wiki/Trac', and rewrite all our embedded help links from href.wiki('TracChangeset')
to href.intertrac('Help:Changeset')
.
An advantage of this approach is that the doc pages can be removed from the local projects and the Help
prefix can be redirected to some other place, either to a dedicated "global" project or to t.e.o itself, e.g.
Help http://trac.edgewall.org/wiki/Trac0.11/Trac
comment:6 by , 16 years ago
Keywords: | newhelp added |
---|
comment:7 by , 14 years ago
Owner: | changed from | to
---|---|
Priority: | normal → high |
See also #3021 for WikiNamespaces.
comment:8 by , 14 years ago
Cc: | added |
---|
comment:9 by , 9 years ago
Owner: | removed |
---|
You probably want to look at creating a macro or plugin to do this. Possibly embedding (ack! can't believe I'm suggesting this) an HTML frame in the 2nd project with the wiki content from the first.
Something like MacroBazaar#include or MacroBazaar#WikiInclude could get you started.
The enhancement request in this ticket seems outside the scope of Trac though.