Jump to content

Extension:ContributionCredits

From mediawiki.org
MediaWiki extensions manual
ContributionCredits
Release status: stable
Implementation Skin
Description Shows contribution credits on the footer
Author(s)
Maintainer(s) Sophivorus
Latest version 3.1 (2019-04-04)
MediaWiki 1.29+
Database changes No
License GNU General Public License 3.0 or later
Download
Example http://proteopedia.org

  • $wgContributionCreditsHeader
  • $wgContributionCreditsUseRealNames
Quarterly downloads 7 (Ranked 126th)
Translate the ContributionCredits extension if it is available at translatewiki.net

The ContributionCredits extension adds an automatically generated list of the page contributors to the end of every page in the wiki.

Usage

The extension works out of the box, no configuration is needed. Just enable the extension and see the credits displayed at the bottom of every page in the main namespace.

Installation

  • Download and move the extracted ContributionCredits 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/ContributionCredits
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'ContributionCredits' );
    
  • Configure as required
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

Parameter name Default value Description
$wgContributionCreditsHeader false Show the credits as a full section with a list, rather than a compact list
$wgContributionCreditsUseRealNames false Use the real names, rather than the user names
$wgContributionCreditsExcludedCategories [] Array of categories whose pages will not show credits, for example:
$wgContributionCreditsExcludedCategories = [
	'Category:No credits',
	'Category:High visibility pages',
];

See also