Jump to content

Extension:CiteThisPage/ko

From mediawiki.org
This page is a translated version of the page Extension:CiteThisPage and the translation is 7% complete.
미디어위키 확장 기능 설명서
CiteThisPage
출시 상태: 안정
구현 특수 문서
설명 Adds a special page that provides different citation formats for a particular article
만든 이
  • Ævar Arnfjörð Bjarmason
  • James D. Forrester
최신 버전 continuous updates
호환성 정책 스냅샷은 미디어위키와 함께 릴리스됩니다. Master is not backward compatible.
MediaWiki 1.36+
  • $wgCiteThisPageAdditionalNamespaces
Licence GNU General Public License 2.0 or later
다운로드
CiteThisPage 확장 기능 번역 (translatewiki.net에서 가능한 경우)
이슈 미해결 작업 · 버그 보고

The CiteThisPage extension, previously known as SpecialCite.php, is an extension that creates a special page (Special:CiteThisPage) and toolbox link to it for pages in the main namespace. Given an article name, this extension generates citations to it in a variety of styles.

설치

이 확장 기능은 미디어위키 1.25 이상의 버전이 포함되어 있으므로, 다운로드할 필요가 없습니다. 나머지 구성 지침은 여전히 따라야 합니다.
  • 파일을 다운로드하고 CiteThisPage 폴더를 extensions/ 디렉토리에 넣어 주세요.
    개발자와 코딩 기여자는 Git을 이용해 확장기능을 다운받는 것이 좋습니다.
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
    
  • 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
    wfLoadExtension( 'CiteThisPage' );
    
  • Yes 완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.

Example

English Wikipedia

w:Special:CiteThisPage/Train provides citation info about the article w:Train, in the format specified by the local English MediaWiki file w:MediaWiki:Citethispage-content

Each normal page (current version only) has a sidebar link to that special page, in addition to the link "permanent link".

The citing style it uses is customizable from the MediaWiki namespace (MediaWiki:Citethispage-content), for instance:

 * ''{{FULLPAGENAME}}'' (last modified {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} UTC).
 {{SITENAME}}, {{int:sitesubtitle}}. Retrieved <citation>{{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}}
 {{CURRENTYEAR}}</citation> from {{fullurl:{{FULLPAGENAME}}|oldid={{REVISIONID}}}}

Might produce:

Main Page (last modified 02:47, 26 November 2005 UTC). Wikipedia, The Free Encyclopedia. Retrieved 21:14, 26 November 2005 from https://en.wikipedia.org/w/index.php?title=Main_Page&oldid=10403

Variables

The parser variables e.g. {{CURRENTTIME}}, {{CURRENTMONTH}} etc. will display the time of the last edit to the requested page, to get the current time use ‎<citation>, e.g. ‎<citation>{{CURRENTTIME}}‎</citation>.

See also