Extension:RecentActivity

From Linux Web Expert

MediaWiki extensions manual
RecentActivity
Release status: stable
Implementation Parser function
Description Adds parser functions for listing recently created and edited articles.
Author(s)
Latest version 1.7.0 (2023-12-11)
MediaWiki 1.35.5
Database changes No
License GNU General Public License 2.0 or later
Download

GitLab:

<translate> Note:</translate>
<translate> No [[<tvar name=1>Special:MyLanguage/Localisation#Translation resources</tvar>|localisation]] updates are
provided by <tvar name=twn>translatewiki.net </tvar>.</translate>

Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

The RecentActivity extension allows the generation of lists of recently created articles or recent edits either by anyone, or by a specific user. By default it will give five results ordered by most recent first in a bullet list format.

Installation

Configuration

$wgRAExclusionsCat
By default, articles that are members of the Excluded from RecentActivity category will not be shown in the list. The category used to exclude articles 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 have been created by user Foo
{{#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