Extension:Contribution Scores/ko

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:Contribution Scores and the translation is 16% complete.

Other languages:
English • ‎português • ‎中文 • ‎日本語 • ‎한국어
미디어위키 확장 기능 매뉴얼
OOjs UI icon advanced.svg
Contribution Scores
출시 상태: 안정
ContributionScores.png
구현 User activity , Special page , Parser function
설명 Polls wiki database for highest user contribution volume.
만든이 Tim Laquatalk
최신 버전 1.25.0 (2016-02-17)
MediaWiki 1.25+
데이터베이스 변경 아니오
라이선스 라이선스가 지정되지 않음
다운로드
log
예제 mixesdb.com,
translatewiki.net
$wgContribScoreIgnoreBots, $wgContribScoreIgnoreBlockedUsers, $wgContribScoresUseRealName, $wgContribScoreDisableCache, $wgContribScoreReports
Contribution Scores 확장 기능 번역 (translatewiki.net에서 가능한 경우)
사용법과 버전 매트릭스를 확인합니다.
이슈 미해결 작업 · 버그 보고

The Contribution Scores extension polls the wiki database to locate contributors with the highest contribution volume – it is also in stable use on a high-volume wiki such as translatewiki.net. The extension is intended to add a fun metric for contributors to see how much they are helping out.

The score is defined as (number of unique pages edited) + 2 * square root ((number of edits) - (number of unique pages edited)).

설치

  • 파일을 다운로드해서, extensions/ 폴더 내의 ContributionScores 이라는 이름의 디렉터리 내에 설치합니다.
  • 아래의 코드를 LocalSettings.php의 말미에 추가합니다:
    require_once "$IP/extensions/ContributionScores/ContributionScores.php";
    $wgContribScoreIgnoreBots = true;          // Exclude Bots from the reporting - Can be omitted.
    $wgContribScoreIgnoreBlockedUsers = true;  // Exclude Blocked Users from the reporting - Can be omitted.
    $wgContribScoresUseRealName = true;        // Use real user names when available - Can be omitted. Only for MediaWiki 1.19 and later.
    $wgContribScoreDisableCache = false;       // Set to true to disable cache for parser function and inclusion of table.
    
    //Each array defines a report - 7,50 is "past 7 days" and "LIMIT 50" - Can be omitted.
    $wgContribScoreReports = array(
        array(7,50),
        array(30,50),
        array(0,50));
    
  • Yes 완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.

Usage

특수 문서

You will have a new Special Page titled "Contribution Scores"

Inclusion/Transclusion

You can include this special page in to other pages using the following wikitext:

{{Special:ContributionScores/<limit>/<days>/<options>}}

# 10 top contributors from the last 5 days
{{Special:ContributionScores/10/5}}

# 10 top contributors since the beginning of wiki
{{Special:ContributionScores/10/all}}

# 15 top contributors from the last 7 days, no tool links
{{Special:ContributionScores/15/7/notools}}

# 15 top contributors from the last 3 days, not sortable and no tool links
{{Special:ContributionScores/15/3/nosort,notools}}

Appearance Customization

The following CSS classes are used, but NOT defined - you can define them in your MediaWiki:Common.css article:

.contributionscores-wrapper       {  }
.contributionscores-title         { background-color: #aaaaaa; margin-bottom: 0px; padding-left: .4em; }
.contributionscores .header { background-color: #cccccc; border-bottom: 1px solid #999999; font-weight: bold; }
.contributionscores .odd        { background-color: #eeeeee; }
.contributionscores .header td   { padding-left: .2em; padding-right: .2em; }
.contributionscores .content   { padding-left: .2em; padding-right: .2em; }

#cscore Parser Function Examples

Contribution Score for Tim Laqua

{{#cscore:Tim Laqua|score}}

Changes Made for Tim Laqua

{{#cscore:Tim Laqua|changes}}

Unique Pages Edited for Tim Laqua

{{#cscore:Tim Laqua|pages}}

Adding a link to in the sidebar

Edit MediaWiki:Sidebar and add the line

** Special:Contributionscores|contributionscores

같이 보기