Extension:ContributionCredits

From Linux Web Expert

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 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').
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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/ContributionCredits</tvar>|Download]] and move the extracted <tvar name=name>ContributionCredits</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ContributionCredits
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'ContributionCredits' );
    
  • 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

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