확장기능:Cite
출시 상태: 안정 |
|
|---|---|
![]() |
|
| 구현 | 태그 |
| 설명 | Allows footnotes for citing sources and helps for correctly citing content in offline media |
| 만든 이 | Ævar Arnfjörð Bjarmason토론 |
| 최신 버전 | 지속적인 업데이트 |
| 호환성 정책 | 스냅샷은 미디어위키와 함께 릴리스됩니다. Master is not backward compatible. |
| MediaWiki | 1.34+ |
| PHP | 7.0+ |
| 라이선스 | GNU 일반 공중 사용 허가서 2.0 또는 이후 |
| 다운로드 | |
| 예제 | Wikipedia:Footnotes |
|
|
|
|
| Cite 확장 기능 번역 (translatewiki.net에서 가능한 경우) | |
| 이슈 | 미해결 작업 · 버그 보고 |
The Cite extension allows a user to create references as footnotes on a page.
It adds two parser hooks to MediaWiki, <ref> and <references />; these operate together to add citations to pages.
Usage
See the help page for using the Cite extension for further information.
설치
- 파일을 다운로드하고
Cite폴더를extensions/디렉토리에 넣어 주세요.
개발자와 코딩 기여자는 Git을 이용해 확장기능을 다운받는 것이 좋습니다.cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
- 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
wfLoadExtension( 'Cite' );
- Configure as required.
완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.
Vagrant 설치:
- Vagrant를 사용하고 있는 경우에는,
vagrant roles enable cite --provision로 설치해주세요
Configuration
$wgCiteBookReferencing
Enables an experimental feature for sub-references when set to true, see the help page. Default value: false
$wgCiteResponsiveReferences
Default setting for responsive display of references.
When set to true, the references section will be displayed in multiple columns.
See the usage documentation.
Default value: true
$wgCiteVisualEditorOtherGroup
When set to true, the Cite toolbar button can be moved under the Insert menu. This is used on Wikivoyage sites. See the original feature request.
Default value: false.
By adding a definition in JSON to MediaWiki:Cite-tool-definition.json, the cite menu can be populated with tools that create references containing specific templates.
The content of the definition should be an array containing a series of objects, one for each tool.
Each object must contain name, icon, template properties.
An optional title property can also be used to define the tool title in plain text.
The name property is a unique identifier for the tool, and also provides a fallback title for the tool by being transformed into a message key.
The name is prefixed with visualeditor-cite-tool-name-, and messages can be defined on Wiki.
Some common messages are pre-defined for tool names such as web, book, news, journal.
Example:
[ { "name": "web", "icon": "browser", "template": "Cite web" }, ... ]
Limitations
- The pipe trick and other pre-save transforms do not work within footnotes created with this extension.
같이 보기
| 이 확장 기능은 하나 이상의 위키미디어 프로젝트에서 사용 중입니다. 이것은 아마도 이 확장 기능이 안정적이고 트래픽이 많은 웹 사이트에서 사용할 수 있을 만큼 충분히 잘 작동한다는 것을 의미합니다. 설치된 위치를 확인하려면 위키미디어의 CommonSettings.php 및 InitialiseSettings.php 구성 파일에서 이 확장 기능의 이름을 찾습니다. 특정 위키에 설치된 확장 기능의 전체 목록은 위키의 Special:Version 문서에서 볼 수 있습니다. |
| This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
- Stable extensions/ko
- Tag extensions/ko
- GPL licensed extensions/ko
- Extensions in Wikimedia version control/ko
- APIQuerySiteInfoGeneralInfo extensions/ko
- CommunityConfigurationProvider initList extensions/ko
- ContentHandlerDefaultModelFor extensions/ko
- EditPage::showEditForm:initial extensions/ko
- GetPreferences extensions/ko
- MakeGlobalVariablesScript extensions/ko
- ParserAfterParse extensions/ko
- ParserClearState extensions/ko
- ParserCloned extensions/ko
- ParserFirstCallInit extensions/ko
- ResourceLoaderGetConfigVars extensions/ko
- ResourceLoaderRegisterModules extensions/ko
- UserGetDefaultOptions extensions/ko
- All extensions/ko
- Extensions bundled with MediaWiki 1.21/ko
- Extensions used on Wikimedia/ko
- Extensions included in BlueSpice/ko
- Extensions included in Canasta/ko
- Extensions available as Debian packages/ko
- Extensions included in Fandom/ko
- Extensions included in Miraheze/ko
- Extensions included in MyWikis/ko
- Extensions included in ProWiki/ko
- Extensions included in semantic::core/ko
- Extensions included in ShoutWiki/ko
- Extensions included in Telepedia/ko
- Extensions included in wiki.gg/ko
- Extensions included in WikiForge/ko
- Referencing extensions/ko
- Extensions with VisualEditor support/ko

