Patch #1052
Wiki include macro: add ability to include pages from other projects
Status: | Closed | Start date: | 2008-04-13 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Wiki | |||
Target version: | 0.7 |
Description
The below patches the wiki include macro to be able to include pages from any project.
Where I used this is I wanted my home page to include text from a wiki page, rather than text under Administrator welcome message. To do this, I simply made the below patch and set the welcome message to {{include(Home,myBaseProjectName)}}
Associated revisions
Include macro can include a page of another project wiki using {{include(projectname:Foo)}} (#1052).
History
#1
Updated by Jean-Philippe Lang almost 15 years ago
Good idea. Just a few comments:
- I think we could use the following syntax in order to be consistent with wiki links:
{{include(myBaseProjectName:Home)}}
- Permission to view the included wiki page should be checked (the target projet may be private)
#2
Updated by Jean-Philippe Lang almost 15 years ago
- Category set to Wiki
- Status changed from New to Closed
- Target version set to 0.7
The previous changes are committed in r1350.