Project

General

Profile

Actions

Patch #43372

closed

Allow macro recent_pages to display pages from a specific project

Added by Florian Walchshofer 4 months ago. Updated about 1 month ago.

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

0%

Estimated time:

Description

This patch adds a project identifier parameter to the {{recent_pages}} macro,
allowing it to filter results by project

Supports loading wiki pages from other projects, which is useful for includes or dashboards

{{recent_pages(project=identifier)}} -- displays pages updated within the last 7 days from a specific project

#38501


Files


Related issues

Related to Redmine - Feature #38501: recent_pages macro that displays a list of recently updated Wiki pagesClosedMarius BĂLTEANU

Actions
Actions #1

Updated by Marius BĂLTEANU 4 months ago

  • Assignee set to Marius BĂLTEANU
  • Target version set to 6.1.1
Actions #2

Updated by Marius BĂLTEANU about 1 month ago

  • Status changed from New to Resolved

Feature added, thanks!

I have two questions before closing this:
1. Is it useful to add an include_subprojects option in order to show also the pages from subprojects?
2. Now, in case of no pages updated in the number of days, we don't show anything. Is it useful to add a notification message for this case?

Actions #3

Updated by Marius BĂLTEANU about 1 month ago

  • Subject changed from update macro recent_pages, to display pages from a specific project to Allow macro recent_pages to display pages from a specific
  • Status changed from Resolved to Closed

Improvement merged to 6.1 stable branch.

Actions #4

Updated by Marius BĂLTEANU about 1 month ago

  • Subject changed from Allow macro recent_pages to display pages from a specific to Allow macro recent_pages to display pages from a specific project
Actions #5

Updated by Marius BĂLTEANU about 1 month ago

Marius BĂLTEANU wrote in #note-2:

Feature added, thanks!

I have two questions before closing this:
1. Is it useful to add an include_subprojects option in order to show also the pages from subprojects?
2. Now, in case of no pages updated in the number of days, we don't show anything. Is it useful to add a notification message for this case?

Created two issues to track these improvements:
Actions #6

Updated by Marius BĂLTEANU 14 days ago

  • Related to Feature #38501: recent_pages macro that displays a list of recently updated Wiki pages added
Actions

Also available in: Atom PDF