Project

General

Profile

Actions

Feature #38501

open

recent_pages macro that displays a list of recently updated Wiki pages

Added by Go MAEDA over 1 year ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

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
Actions #1

Updated by Go MAEDA over 1 year ago

  • Description updated (diff)
Actions #2

Updated by Go MAEDA 12 months ago

  • Target version set to 6.0.0

Setting the target version to 6.0.0.

Actions #3

Updated by Go MAEDA about 2 months ago

  • Target version changed from 6.0.0 to 6.1.0

The help page also needs to be updated.

Actions

Also available in: Atom PDF