Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Extension:Cite

From mediawiki.org
Translate this page
Languages:
This page documents the extension. For how to use it, seehelp on citing.
This extensioncomes with MediaWiki 1.21 and later, so you do not need to download it. The remaining configuration instructions must still be followed.
MediaWiki extensions manual
Cite
Release status: stable
ImplementationTag
DescriptionAllows footnotes for citing sources and helps for correctly citing content in offline media
Author(s)Ævar Arnfjörð Bjarmasontalk
Latest versionContinuous updates
Compatibility policySnapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki1.34+
PHP7.0+
LicenseGNU General Public License 2.0 or later
Download
HelpHelp:Extension:Cite
ExampleWikipedia:Footnotes
  • $wgCiteDefaultBacklinkAlphabet
  • $wgCiteReferencePreviewsConflictingNavPopupsGadgetName
  • $wgCiteResponsiveReferencesThreshold
  • $wgCiteResponsiveReferences
  • $wgCiteSubReferencing
  • $wgCiteBacklinkCommunityConfiguration
  • $wgCiteReferencePreviews
  • $wgCiteUseLegacyBacklinkLabels
  • $wgCiteVisualEditorOtherGroup
  • $wgCiteReferencePreviewsConflictingRefTooltipsGadgetName
Translate the Cite extension if it is available at translatewiki.net
IssuesOpen tasks ·Report a bug

TheCite extension allows a user to create references as footnotes on a page.It adds twoparser hooks to MediaWiki,‎<ref> and‎<references/>; these operate together to add citations to pages.

Usage

See the help page forusing the Cite extension for further information.

Installation

  • Download and move the extractedCite folder to yourextensions/ directory.
    Developers and code contributors should install the extensionfrom Git instead, using:
    cdextensions/gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
  • Add the following code at the bottom of yourLocalSettings.php file:
    wfLoadExtension('Cite');
  • Configure as required.
  • YesDone – Navigate toSpecial:Version on your wiki to verify that the extension is successfully installed.


Vagrant installation:

  • If usingVagrant, install withvagrant roles enable cite --provision

Configuration

$wgCiteBookReferencing

Enables an experimental feature for sub-references when set totrue, see thehelp page. Default value:false

$wgCiteResponsiveReferences

Default setting for responsive display of references.When set totrue, the references section will be displayed in multiple columns.See theusage documentation.Default value:true

$wgCiteVisualEditorOtherGroup

When set totrue, the Cite toolbar button can be moved under the Insert menu. This is used on Wikivoyage sites. See theoriginal feature request.Default value:false.

See also

This extension is being used on one or moreWikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia'sCommonSettings.php andInitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki'sSpecial:Version page.
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.
Retrieved from "https://www.mediawiki.org/w/index.php?title=Extension:Cite&oldid=7551098"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp