Project

General

Profile

Actions

Feature #38501

closed

recent_pages macro that displays a list of recently updated Wiki pages

Added by Go MAEDA over 2 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
Text formatting
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

The attached patch adds a new Wiki macro {{recent_pages}} that displays a list of recently updated Wiki pages.

The macro displays a list of pages that have been updated within 7 days by default. The range of pages to be displayed can be changed with the days and limit options. And you can add information when the page is updated with the `time` option.

{{recent_pages}} -- displays pages updated within the past 7 days
{{recent_pages(days=3)}} -- displays pages updated within the past 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 past 5 days with updated time

{{recent_pages}} macro in a Wiki page:

Rendered {{recent_pages}} macro:

One of the useful uses - recently updated pages in Wiki sidebar:


Files

clipboard-202304291432-g51x6.png (40.2 KB) clipboard-202304291432-g51x6.png Go MAEDA, 2023-04-29 07:32
clipboard-202304291432-5woil.png (59.1 KB) clipboard-202304291432-5woil.png Go MAEDA, 2023-04-29 07:32
clipboard-202304291435-cfox1.png (64.7 KB) clipboard-202304291435-cfox1.png Go MAEDA, 2023-04-29 07:35
recent_pages.patch (4.95 KB) recent_pages.patch Go MAEDA, 2023-04-29 07:40
recent_pages.patch (5.04 KB) recent_pages.patch Go MAEDA, 2023-04-29 07:42

Related issues

Related to Redmine - Patch #43215: Add Japanese CommonMark Markdown helpClosedGo MAEDA

Actions
Related to Redmine - Feature #43631: Add "include_subprojects" parameter to recent_pages macro to include pages from subprojectsClosedMarius BĂLTEANU

Actions
Related to Redmine - Patch #43372: Allow macro recent_pages to display pages from a specific projectClosedMarius BĂLTEANU

Actions
Related to Redmine - Feature #43632: Show a message when recent_pages macro does not return any pageNew

Actions
Actions #1

Updated by Go MAEDA over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Go MAEDA about 2 years ago

  • Target version set to 6.0.0

Setting the target version to 6.0.0.

Actions #3

Updated by Go MAEDA about 1 year ago

  • Target version changed from 6.0.0 to 6.1.0

The help page also needs to be updated.

Actions #4

Updated by Marius BĂLTEANU 5 months ago

  • Status changed from New to Resolved
  • Assignee set to Marius BĂLTEANU
  • Resolution set to Fixed

Feature added, thanks!

Go MAEDA wrote in #note-3:

The help page also needs to be updated.

I'll handle this.

Actions #5

Updated by Marius BĂLTEANU 4 months ago

  • Status changed from Resolved to Closed

Documentation added in r23974.

Actions #6

Updated by Go MAEDA 4 months ago

  • Related to Patch #43215: Add Japanese CommonMark Markdown help added
Actions #7

Updated by Marius BĂLTEANU 5 days ago

  • Related to Feature #43631: Add "include_subprojects" parameter to recent_pages macro to include pages from subprojects added
Actions #8

Updated by Marius BĂLTEANU 5 days ago

  • Related to Patch #43372: Allow macro recent_pages to display pages from a specific project added
Actions #9

Updated by Marius BĂLTEANU 5 days ago

  • Related to Feature #43632: Show a message when recent_pages macro does not return any page added
Actions

Also available in: Atom PDF