Patch #1052

Wiki include macro: add ability to include pages from other projects

Added by W Snyder almost 15 years ago. Updated almost 15 years ago.

Status:ClosedStart date:2008-04-13
Priority:NormalDue date:
Assignee:-% Done:


Target version:0.7


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)}}

wikiinc.patch Magnifier - Patch file (958 Bytes) W Snyder, 2008-04-13 17:36

Associated revisions

Revision 1350
Added by Jean-Philippe Lang almost 15 years ago

Include macro can include a page of another project wiki using {{include(projectname:Foo)}} (#1052).


#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.

Also available in: Atom PDF