Extension:RecentActivity
From Linux Web Expert
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> |
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
- <translate> <tvar name=1>Download extension from GitLab</tvar> and place the file(s) in a directory called <tvar name=name>
RecentActivity
</tvar> in your <tvar name=ext>extensions/
</tvar> folder.</translate> - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'RecentActivity' );
- Configure as required.
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
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
Categories:
- Pages with script errors
- Pages with broken file links
- Stable extensions
- Extensions without an image
- Parser function extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in GitLab version control
- All extensions
- Extensions not in ExtensionJson
- Recent Changes extensions