Project

General

Profile

Actions

Patch #43372

closed

Allow macro recent_pages to display pages from a specific project

Added by Florian Walchshofer 3 months ago. Updated 16 days 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

Actions #1

Updated by Marius BĂLTEANU 3 months ago

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

Updated by Marius BĂLTEANU 18 days 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 16 days 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 16 days 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 16 days 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

Also available in: Atom PDF