Page MenuHomeDevCentral

Allow to automatically warn about last modified date on Operations grimoire
Closed, ResolvedPublic

Description

If we add a template on each page right now, the timer is reset until 2024.

So the idea would be to allow for a specific prefix to include a specific warning.

For example configuration could be:

$wgWarnNotRecentlyUpdatedDelay = 365 * 24 * 3_600; // One year

$wgWarnNotRecentlyUpdatedPages => {
    NS_MAIN => {
        "Operations grimoire/" => "MediaWiki:Old technical information",
    },
};

Documentation: https://www.mediawiki.org/wiki/Extension:WarnNotRecentlyUpdated (work in progress)

Event Timeline

dereckson created this task.
dereckson moved this task from Backlog (new tasks) to Working on on the Agora board.

I moved my WikiMedia development environment from Ysul to WindRiver, so we can have a faster https://mediawiki.dereckson.be/ to test this.

Plan is to create a specific extension and use ArticleViewHeader hook.

References:

dereckson triaged this task as Normal priority.May 31 2023, 00:07
dereckson updated the task description. (Show Details)