https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292009-12-09T22:54:25ZRedmineRedmine - Feature #4372: Wiki include macro: Include specific revisionhttps://www.redmine.org/issues/4372?journal_id=128742009-12-09T22:54:25ZOskar Nordquist
<ul></ul><p>I forgot the pre-tags. Please modify the description, thank you!</p> Redmine - Feature #4372: Wiki include macro: Include specific revisionhttps://www.redmine.org/issues/4372?journal_id=128952009-12-10T21:14:23ZOskar Nordquist
<ul></ul><p>This is actually an important feature. Let me explain.</p>
<p>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.</p>
<p>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.</p>
<p>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.</p> Redmine - Feature #4372: Wiki include macro: Include specific revisionhttps://www.redmine.org/issues/4372?journal_id=128982009-12-10T22:05:07ZJerome Vanthournout
<ul></ul><p>I would like to see this feature also supported. I have same kind of problem with the version.</p> Redmine - Feature #4372: Wiki include macro: Include specific revisionhttps://www.redmine.org/issues/4372?journal_id=129992009-12-16T12:05:02ZOskar Nordquist
<ul><li><strong>File</strong> <a href="/attachments/2906">include-macro-version.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/2906/include-macro-version.patch">include-macro-version.patch</a> added</li></ul><p>Tried to implement it myself, and it seems to work.</p>
<p>Usage:</p>
<pre>
{{include(project:page@version)}}
</pre><br />or<br /><pre>
{{include(page@version)}}
</pre> Redmine - Feature #4372: Wiki include macro: Include specific revisionhttps://www.redmine.org/issues/4372?journal_id=628062015-04-05T00:19:04ZGo MAEDA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-3 status-5 priority-4 priority-default closed" href="/issues/11332">Patch #11332</a>: wiki include macro: ability to define wiki page version</i> added</li></ul> Redmine - Feature #4372: Wiki include macro: Include specific revisionhttps://www.redmine.org/issues/4372?journal_id=640242015-06-04T11:24:48ZOskar Emil Skeide
<ul></ul><p>Are there any plans to implement this in the standard installation ?</p> Redmine - Feature #4372: Wiki include macro: Include specific revisionhttps://www.redmine.org/issues/4372?journal_id=668242015-10-23T13:20:15ZLaurent Girard
<ul></ul><p>+1</p> Redmine - Feature #4372: Wiki include macro: Include specific revisionhttps://www.redmine.org/issues/4372?journal_id=756942017-01-06T23:45:41ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/3547">Feature #3547</a>: Wiki include macro: add ability to include single section</i> added</li></ul>