Adds documentation for recent_pages macro (#38501).

git-svn-id: https://svn.redmine.org/redmine/trunk@23974 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2025-09-13 08:51:04 +00:00
parent 8b5562d350
commit b21e0513aa
23 changed files with 158 additions and 4 deletions

View File

@@ -310,6 +310,13 @@ Es kann durch Klicken auf einen Link erweitert werden.
{{issue(123, project=true)}} -- Andromeda Fehler #123: Makrofähigkeiten verbessern {{issue(123, project=true)}} -- Andromeda Fehler #123: Makrofähigkeiten verbessern
{{issue(123, tracker=false)}} -- #123: Makrofähigkeiten verbessern {{issue(123, tracker=false)}} -- #123: Makrofähigkeiten verbessern
{{issue(123, subject=false, project=true)}} -- Andromeda - Fehler #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Fehler #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -308,6 +308,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -306,6 +306,13 @@ https://www.redmine.org, someone@foo.bar
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -322,6 +322,13 @@ Pro rozbalení klikněte na odkaz.
{{issue(123, project=true)}} -- Andromeda - Issue #123: Rozšířené možnosti maker {{issue(123, project=true)}} -- Andromeda - Issue #123: Rozšířené možnosti maker
{{issue(123, tracker=false)}} -- #123: Rozšířené možnosti maker {{issue(123, tracker=false)}} -- #123: Rozšířené možnosti maker
{{issue(123, subject=false, project=true)}} -- Andromeda - Úkol #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Úkol #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -315,6 +315,13 @@ Es kann durch Klicken auf einen Link erweitert werden.
{{issue(123, project=true)}} -- Andromeda Fehler #123: Makrofähigkeiten verbessern {{issue(123, project=true)}} -- Andromeda Fehler #123: Makrofähigkeiten verbessern
{{issue(123, tracker=false)}} -- #123: Makrofunktionen verbessern {{issue(123, tracker=false)}} -- #123: Makrofunktionen verbessern
{{issue(123, subject=false, project=true)}} -- Andromeda - Fehler #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Fehler #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -307,6 +307,13 @@ Il peut être déroulé en cliquant sur le lien.
<dd><p>Affiche une miniature cliquable d'une image jointe. Exemples :</p> <dd><p>Affiche une miniature cliquable d'une image jointe. Exemples :</p>
<pre>{{thumbnail(image.png)}} <pre>{{thumbnail(image.png)}}
{{thumbnail(image.png, size=300, title=Miniature)}}</pre></dd> {{thumbnail(image.png, size=300, title=Miniature)}}</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -315,6 +315,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -314,6 +314,13 @@ To go live, all you need to add is a database and a web server.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -315,6 +315,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -339,6 +339,13 @@ bq. Rails - это полноценный, многоуровневый фрей
<dd><p>Отображет кликабельный эскиз приложенной картинки. Пример:</p> <dd><p>Отображет кликабельный эскиз приложенной картинки. Пример:</p>
<pre>{{thumbnail(image.png)}} <pre>{{thumbnail(image.png)}}
{{thumbnail(image.png, size=300, title=Эскиз)}}</pre></dd> {{thumbnail(image.png, size=300, title=Эскиз)}}</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -314,6 +314,13 @@ bq. ரெயில்ஸ் என்பது மாடல்-வியூ-க
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -314,6 +314,13 @@ bq. Redmine — серверний веб-додаток з відкритим
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -314,6 +314,13 @@ To go live, all you need to add is a database and a web server.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities {{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities {{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd> {{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123</pre></dd>
<dt><code>recent_pages</code></dt>
<dd><p>Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:</p>
<pre>{{recent_pages}} -- displays pages updated within the last 7 days
{{recent_pages(days=3)}} -- displays pages updated within the last 3 days
{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5
{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time</pre></dd>
</dl> </dl>
</p> </p>

View File

@@ -216,11 +216,11 @@ module Redmine
render_page_hierarchy(pages, options[:parent] ? page.parent_id : page.id) render_page_hierarchy(pages, options[:parent] ? page.parent_id : page.id)
end end
desc "Displays a list of recently updated Wiki pages. With no argument, it displays pages that have been updated within the past 7 days. Examples:\n\n" + desc "Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:\n\n" +
"{{recent_pages}} -- displays pages updated within the past 7 days\n" + "{{recent_pages}} -- displays pages updated within the last 7 days\n" +
"{{recent_pages(days=3)}} -- displays pages updated within the past 3 days\n" + "{{recent_pages(days=3)}} -- displays pages updated within the last 3 days\n" +
"{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5\n" + "{{recent_pages(limit=5)}} -- limits the maximum number of pages to display to 5\n" +
"{{recent_pages(time=true)}} -- displays pages updated within the past 5 days with updated time" "{{recent_pages(time=true)}} -- displays pages updated within the last 7 days with updated time"
macro :recent_pages do |obj, args| macro :recent_pages do |obj, args|
return '' if @project.nil? return '' if @project.nil?