扩展:贡献积分

This page is a translated version of the page Extension:ContributionCredits and the translation is 65% complete.
MediaWiki的扩展的手冊
ContributionCredits
發佈狀態: 穩定版本
实现 皮肤
描述 在页脚上显示贡献积分
作者
维护者 Sophivorus
最新版本 3.1 (2019-04-04)
MediaWiki 1.29+
数据库更改
许可协议 GNU通用公眾授權條款3.0或更新版本
下載
示例 http://proteopedia.org

  • $wgContributionCreditsHeader
  • $wgContributionCreditsUseRealNames
季度下載量 17 (Ranked 157th)
翻譯ContributionCredits的扩展,若在translatewiki.net可用

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

用法

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.

安裝

  • 下载文件,并将其放置在您extensions/文件夹中的ContributionCredits目录内。
  • 将下列代码放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'ContributionCredits' );
    
  • 根据需要配置
  •   完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。

配置

参数名称 默认值 描述
$wgContributionCreditsHeader false Show the credits as a full section with a list, rather than a compact list
$wgContributionCreditsUseRealNames false 使用真实姓名,而不是用户名
$wgContributionCreditsExcludedCategories [] Array of categories whose pages will not show credits, for example:
$wgContributionCreditsExcludedCategories = [
	'Category:No credits',
	'Category:High visibility pages',
];

参见