Extension:ContributionsList

MediaWiki extensions manual
ContributionsList
Release status: unmaintained
Implementation Parser function
Description Generates a list of user contributions using a parser function
Author(s) Ike Hecht (Tosfostalk)
Latest version 0.3.1 (February 2020)
MediaWiki 1.31+
PHP 5.3
Database changes No
License GNU General Public License 2.0 or later
Download
Quarterly downloads 0
Translate the ContributionsList extension if it is available at translatewiki.net

The ContributionsList extension generates a list of user contributions using a parser function.

Installation

edit
  • Download and move the extracted ContributionsList folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ContributionsList
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'ContributionsList' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage

edit
 {{#contributionslist:
 | user=username
 | category=categoryname
 | type=createonly/notcreate/all
 | datefrom=fromdate
 | dateto=todate
 | format=plain/ol/ul
 }}
user
The username of the user whose contributions will be displayed. Mandatory.
category
Restrict results to a certain category.
type
Set to either:
createonly
Show only contributions where this user has created a page.
notcreate
Show only contributions where this user has not created the page.
all
Show all contributions for this user. (default)
datefrom
Show only contributions on or after this date. The date can be in any format accepted by PHP's strtotime() function.
dateto
Show only contributions on or before this date.
format
The format to be used for display of the contributions. Can be set to plain, ol or ul. Defaults to ul.

See also

edit