Extension:WarnNotRecentlyUpdated
Appearance
WarnNotRecentlyUpdated Release status: unknown |
|
---|---|
Implementation | User interface |
Description | Warn on legacy, old or out of validity content |
Author(s) | Sébastien Santoro aka Dereckson (Derecksontalk) |
MediaWiki | >= 1.35.0 |
License | GNU General Public License 2.0 or later |
Download | README |
$wgWarnNotRecentlyUpdatedDelay $wgWarnNotRecentlyUpdatedPages |
|
Quarterly downloads | 0 |
Translate the WarnNotRecentlyUpdated extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The WarnNotRecentlyUpdated extension checks the last modified date of content pages and print a warning if the page is older than a specific delay.
The intent is to be used for manuals/checklists/documentation for teams where information is known to rot quickly, and where there is a very good chance information older than a certain age can be legacy or are dangerous to trust:
- network/devops/SRE/operations/systems/infrastructure
- legal content
- fiscal content
Installation
[edit]- Download and move the extracted
WarnNotRecentlyUpdated
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WarnNotRecentlyUpdated - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'WarnNotRecentlyUpdated' );
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration parameters
[edit]- $wgWarnNotRecentlyUpdatedDelay
- the delay in seconds for a page to be considered fresh; by default, 31 536 000 seconds (one year)
- $wgWarnNotRecentlyUpdatedPages
- an array of pages prefix by namespace where the warning should apply
Interface parameters
[edit]The $wgWarnNotRecentlyUpdatedPages
configuration parameter makes references to the interface messages. Those messages are displayed if the page belongs to one of the prefixes and has been updated a greater delay than configured.
See also
[edit]- Extension:LastModified puts visibly the update date on the top of the page