Extension:RecentActivity
![]() Release status: stableCategory:Stable extensions |
|
---|---|
Implementation | Parser functionCategory:Parser function extensions |
Description | Adds parser functions for listing recently created and edited articles. |
Author(s) | |
Latest version | 1.7.0 (2023-12-11) |
MediaWiki | 1.35+Category:Extensions with manual MediaWiki version |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | GitLab: Note: |
The RecentActivity extension allows the generation of lists of recently created articles or edits by anyone or a specific user. By default, it will give five results in a bullet list format, ordered by the most recent first.
Installation
- Download extension from GitLab and place the file(s) in a directory called
RecentActivity
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'RecentActivity' );
- Configure as required.
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration
- $wgRAExclusionsCat
- By default, the list will not show pages from the Excluded from RecentActivity category. The category that excludes pages can be customized by assigning the string as a value to
$wgRAExclusionsCat
configuration variable.
Usage
- Show the last five articles that have been edited
{{#RecentActivity:type=edits}}
- Show the last five articles that have been created
{{#RecentActivity:type=new}}
- Show the last five articles that user Foo has created
{{#RecentActivity:type=new|user=Foo}}
- Show the last ten articles that have been edited
{{#RecentActivity:type=edits|count=10}}
- Show the last five articles that have been edited, each preceded by two asterisks (useful for putting in treeviews)
{{#RecentActivity:type=edits|format=**}}
See also
Category:Recent Changes extensions
Category:All extensions
Category:Extensions in GitLab version control
Category:Extensions not in ExtensionJson
Category:Extensions with manual MediaWiki version
Category:Extensions without a compatibility policy
Category:Extensions without an image
Category:GPL licensed extensions
Category:Parser function extensions
Category:Recent Changes extensions
Category:Stable extensions