Project

General

Profile

Actions

Feature #4372

open

Wiki include macro: Include specific revision

Added by Oskar Nordquist over 14 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2009-12-09
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Wiki include macro should be able to include a specific Wiki page revision. For example:

{{{include(myproject:WikiPage:312)}}}

Includes WikiPage at revision 312 in project "myproject".


Files

include-macro-version.patch (1.25 KB) include-macro-version.patch Oskar Nordquist, 2009-12-16 13:05

Related issues

Related to Redmine - Feature #3547: Wiki include macro: add ability to include single sectionNew2009-06-26

Actions
Has duplicate Redmine - Patch #11332: wiki include macro: ability to define wiki page versionClosed

Actions
Actions #1

Updated by Oskar Nordquist over 14 years ago

I forgot the pre-tags. Please modify the description, thank you!

Actions #2

Updated by Oskar Nordquist over 14 years ago

This is actually an important feature. Let me explain.

We use Wiki for writing documentation and the way we do it is to write small modular Wiki pages suitable for inclusion. This means for example that for a given customer we can mix and match relevant documentation using the include-macro.

However, the way the include macro works is to include the latest version of the Wiki page. This is an inconvenience because then there is never a way to generate the exact version of the Manual that includes other pages, since the include macro always includes the latest version of the underlying pages. By explictly setting a version number for the include macro, this means we can retrieve version of the collected Manual.

This has also the major benefit that the version number of the Manual that includes other pages have meaning, i.e. updating the modular pages forces updating the Manual to link to the explicit version of underlying Wiki page.

Actions #3

Updated by Jerome Vanthournout over 14 years ago

I would like to see this feature also supported. I have same kind of problem with the version.

Actions #4

Updated by Oskar Nordquist over 14 years ago

Tried to implement it myself, and it seems to work.

Usage:

{{include(project:page@version)}}

or
{{include(page@version)}}
Actions #5

Updated by Go MAEDA almost 9 years ago

  • Has duplicate Patch #11332: wiki include macro: ability to define wiki page version added
Actions #6

Updated by Oskar Emil Skeide almost 9 years ago

Are there any plans to implement this in the standard installation ?

Actions #7

Updated by Laurent Girard over 8 years ago

+1

Actions #8

Updated by Go MAEDA about 7 years ago

  • Related to Feature #3547: Wiki include macro: add ability to include single section added
Actions

Also available in: Atom PDF