From b21e0513aa85f604a275f125b54fbdec097fa02b Mon Sep 17 00:00:00 2001
From: Marius Balteanu
Date: Sat, 13 Sep 2025 08:51:04 +0000
Subject: [PATCH] Adds documentation for recent_pages macro (#38501).
git-svn-id: https://svn.redmine.org/redmine/trunk@23974 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
.../de/wiki_syntax_detailed_common_mark.html.erb | 7 +++++++
.../en/wiki_syntax_detailed_common_mark.html.erb | 7 +++++++
.../ta-in/wiki_syntax_detailed_common_mark.html.erb | 7 +++++++
.../textile/bg/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/ca/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/cs/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/de/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/en/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/es-pa/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/es/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/fr/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/gl/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/ja/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/ko/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/lt/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/nl/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/pt-br/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/ru/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/ta-in/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/uk/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/zh-tw/wiki_syntax_detailed_textile.html.erb | 7 +++++++
.../textile/zh/wiki_syntax_detailed_textile.html.erb | 7 +++++++
lib/redmine/wiki_formatting/macros.rb | 8 ++++----
23 files changed, 158 insertions(+), 4 deletions(-)
diff --git a/app/views/help/wiki_syntax/common_mark/de/wiki_syntax_detailed_common_mark.html.erb b/app/views/help/wiki_syntax/common_mark/de/wiki_syntax_detailed_common_mark.html.erb
index 4312926ba..04412ed3f 100644
--- a/app/views/help/wiki_syntax/common_mark/de/wiki_syntax_detailed_common_mark.html.erb
+++ b/app/views/help/wiki_syntax/common_mark/de/wiki_syntax_detailed_common_mark.html.erb
@@ -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, tracker=false)}} -- #123: Makrofähigkeiten verbessern
{{issue(123, subject=false, project=true)}} -- Andromeda - Fehler #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/common_mark/en/wiki_syntax_detailed_common_mark.html.erb b/app/views/help/wiki_syntax/common_mark/en/wiki_syntax_detailed_common_mark.html.erb
index a74094460..ba7ad1d11 100644
--- a/app/views/help/wiki_syntax/common_mark/en/wiki_syntax_detailed_common_mark.html.erb
+++ b/app/views/help/wiki_syntax/common_mark/en/wiki_syntax_detailed_common_mark.html.erb
@@ -308,6 +308,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/common_mark/ta-in/wiki_syntax_detailed_common_mark.html.erb b/app/views/help/wiki_syntax/common_mark/ta-in/wiki_syntax_detailed_common_mark.html.erb
index 09941349f..c5d99faee 100644
--- a/app/views/help/wiki_syntax/common_mark/ta-in/wiki_syntax_detailed_common_mark.html.erb
+++ b/app/views/help/wiki_syntax/common_mark/ta-in/wiki_syntax_detailed_common_mark.html.erb
@@ -306,6 +306,13 @@ https://www.redmine.org, someone@foo.bar
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/bg/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/bg/wiki_syntax_detailed_textile.html.erb
index 368804957..e20620aec 100644
--- a/app/views/help/wiki_syntax/textile/bg/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/bg/wiki_syntax_detailed_textile.html.erb
@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/ca/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/ca/wiki_syntax_detailed_textile.html.erb
index 368804957..e20620aec 100644
--- a/app/views/help/wiki_syntax/textile/ca/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/ca/wiki_syntax_detailed_textile.html.erb
@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/cs/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/cs/wiki_syntax_detailed_textile.html.erb
index a00d38226..c9de952fa 100644
--- a/app/views/help/wiki_syntax/textile/cs/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/cs/wiki_syntax_detailed_textile.html.erb
@@ -322,6 +322,13 @@ Pro rozbalení klikněte na odkaz.
{{issue(123, project=true)}} -- Andromeda - Issue #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
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/de/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/de/wiki_syntax_detailed_textile.html.erb
index b8fd2dc5d..32d5e1200 100644
--- a/app/views/help/wiki_syntax/textile/de/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/de/wiki_syntax_detailed_textile.html.erb
@@ -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, tracker=false)}} -- #123: Makrofunktionen verbessern
{{issue(123, subject=false, project=true)}} -- Andromeda - Fehler #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/en/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/en/wiki_syntax_detailed_textile.html.erb
index 368804957..e20620aec 100644
--- a/app/views/help/wiki_syntax/textile/en/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/en/wiki_syntax_detailed_textile.html.erb
@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/es-pa/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/es-pa/wiki_syntax_detailed_textile.html.erb
index 368804957..e20620aec 100644
--- a/app/views/help/wiki_syntax/textile/es-pa/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/es-pa/wiki_syntax_detailed_textile.html.erb
@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/es/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/es/wiki_syntax_detailed_textile.html.erb
index 368804957..e20620aec 100644
--- a/app/views/help/wiki_syntax/textile/es/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/es/wiki_syntax_detailed_textile.html.erb
@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/fr/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/fr/wiki_syntax_detailed_textile.html.erb
index 424edc4e0..c90c846a7 100644
--- a/app/views/help/wiki_syntax/textile/fr/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/fr/wiki_syntax_detailed_textile.html.erb
@@ -307,6 +307,13 @@ Il peut être déroulé en cliquant sur le lien.
Affiche une miniature cliquable d'une image jointe. Exemples :
{{thumbnail(image.png)}}
{{thumbnail(image.png, size=300, title=Miniature)}}
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/gl/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/gl/wiki_syntax_detailed_textile.html.erb
index 64f587b79..2c9a945cc 100644
--- a/app/views/help/wiki_syntax/textile/gl/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/gl/wiki_syntax_detailed_textile.html.erb
@@ -315,6 +315,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/ja/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/ja/wiki_syntax_detailed_textile.html.erb
index 3d04f634f..376c31e99 100644
--- a/app/views/help/wiki_syntax/textile/ja/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/ja/wiki_syntax_detailed_textile.html.erb
@@ -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, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/ko/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/ko/wiki_syntax_detailed_textile.html.erb
index 368804957..e20620aec 100644
--- a/app/views/help/wiki_syntax/textile/ko/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/ko/wiki_syntax_detailed_textile.html.erb
@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/lt/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/lt/wiki_syntax_detailed_textile.html.erb
index 95e4f3c7a..01414d672 100644
--- a/app/views/help/wiki_syntax/textile/lt/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/lt/wiki_syntax_detailed_textile.html.erb
@@ -315,6 +315,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/nl/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/nl/wiki_syntax_detailed_textile.html.erb
index 368804957..e20620aec 100644
--- a/app/views/help/wiki_syntax/textile/nl/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/nl/wiki_syntax_detailed_textile.html.erb
@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/pt-br/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/pt-br/wiki_syntax_detailed_textile.html.erb
index 368804957..e20620aec 100644
--- a/app/views/help/wiki_syntax/textile/pt-br/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/pt-br/wiki_syntax_detailed_textile.html.erb
@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/ru/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/ru/wiki_syntax_detailed_textile.html.erb
index bab76ec59..5f375ad76 100644
--- a/app/views/help/wiki_syntax/textile/ru/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/ru/wiki_syntax_detailed_textile.html.erb
@@ -339,6 +339,13 @@ bq. Rails - это полноценный, многоуровневый фрей
Отображет кликабельный эскиз приложенной картинки. Пример:
{{thumbnail(image.png)}}
{{thumbnail(image.png, size=300, title=Эскиз)}}
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/ta-in/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/ta-in/wiki_syntax_detailed_textile.html.erb
index f2a52a577..fa245fcbb 100644
--- a/app/views/help/wiki_syntax/textile/ta-in/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/ta-in/wiki_syntax_detailed_textile.html.erb
@@ -314,6 +314,13 @@ bq. ரெயில்ஸ் என்பது மாடல்-வியூ-க
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/uk/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/uk/wiki_syntax_detailed_textile.html.erb
index f90970faa..43a1b9de2 100644
--- a/app/views/help/wiki_syntax/textile/uk/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/uk/wiki_syntax_detailed_textile.html.erb
@@ -314,6 +314,13 @@ bq. Redmine — серверний веб-додаток з відкритим
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/zh-tw/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/zh-tw/wiki_syntax_detailed_textile.html.erb
index d1247e1a1..2b5022e91 100644
--- a/app/views/help/wiki_syntax/textile/zh-tw/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/zh-tw/wiki_syntax_detailed_textile.html.erb
@@ -314,6 +314,13 @@ It can be expanded by clicking a link.
{{issue(123, project=true)}} -- Andromeda - Issue #123:Enhance macro capabilities
{{issue(123, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/app/views/help/wiki_syntax/textile/zh/wiki_syntax_detailed_textile.html.erb b/app/views/help/wiki_syntax/textile/zh/wiki_syntax_detailed_textile.html.erb
index 7d1715fe0..8feb03c5b 100644
--- a/app/views/help/wiki_syntax/textile/zh/wiki_syntax_detailed_textile.html.erb
+++ b/app/views/help/wiki_syntax/textile/zh/wiki_syntax_detailed_textile.html.erb
@@ -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, tracker=false)}} -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
+
+ recent_pages
+ Displays a list of recently updated wiki pages. With no argument, it displays pages that have been updated within the last 7 days. Examples:
+ {{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
diff --git a/lib/redmine/wiki_formatting/macros.rb b/lib/redmine/wiki_formatting/macros.rb
index 4ecfe0e80..8ac0011f6 100644
--- a/lib/redmine/wiki_formatting/macros.rb
+++ b/lib/redmine/wiki_formatting/macros.rb
@@ -216,11 +216,11 @@ module Redmine
render_page_hierarchy(pages, options[:parent] ? page.parent_id : page.id)
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" +
- "{{recent_pages}} -- displays pages updated within the past 7 days\n" +
- "{{recent_pages(days=3)}} -- displays pages updated within the past 3 days\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 last 7 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(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|
return '' if @project.nil?