Extension:Cite

This page documents the extension. For how to use it, see help on citing.
This extension comes with MediaWiki 1.21 and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided.
Category:Extensions bundled with MediaWiki 1.21 Category:GPL licensed extensions
MediaWiki extensions manual
Cite
Release status: stableCategory:Stable extensions
Implementation Tag Category:Tag extensions
Description Allows footnotes for citing sources and helps for correctly citing content in offline media
Author(s) Ævar Arnfjörð Bjarmasontalk
Latest version Continuous updates
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.Category:Extensions with release branches compatibility policy
MediaWiki 1.34+Category:Extensions with manual MediaWiki version
PHP 7.0+
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
Help Help:Extension:Cite
Example Wikipedia:Footnotes
  • $wgCiteDefaultBacklinkAlphabet
  • $wgCiteReferencePreviewsConflictingNavPopupsGadgetName
  • $wgCiteResponsiveReferencesThreshold
  • $wgCiteResponsiveReferences
  • $wgCiteSubReferencing
  • $wgCiteBacklinkCommunityConfiguration
  • $wgCiteReferencePreviews
  • $wgCiteUseLegacyBacklinkLabels
  • $wgCiteVisualEditorOtherGroup
  • $wgCiteReferencePreviewsConflictingRefTooltipsGadgetName
Quarterly downloads 213 (Ranked 15th)
Public wikis using 14,146 (Ranked 6th)
Translate the Cite extension if it is available at translatewiki.net
Issues Open tasks · Report a bug
Category:All extensions

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.

Installation

  • Download and move the extracted Cite folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Cite' );
    
  • Configure as required.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


Vagrant installation:

  • If using Vagrant , install with 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.

See also

Category:Extensions used on Wikimedia#Cite Category:Referencing extensions Category:Extensions with VisualEditor support
Category:APIQuerySiteInfoGeneralInfo extensions Category:All extensions Category:CommunityConfigurationProvider initList extensions Category:ContentHandlerDefaultModelFor extensions Category:EditPage::showEditForm:initial extensions Category:Extensions available as Debian packages Category:Extensions bundled with MediaWiki 1.21 Category:Extensions in Wikimedia version control Category:Extensions included in BlueSpice Category:Extensions included in Canasta Category:Extensions included in Fandom Category:Extensions included in Miraheze Category:Extensions included in MyWikis Category:Extensions included in ProWiki Category:Extensions included in ShoutWiki Category:Extensions included in Telepedia Category:Extensions included in WikiForge Category:Extensions included in semantic::core Category:Extensions included in wiki.gg Category:Extensions used on Wikimedia Category:Extensions with VisualEditor support Category:Extensions with manual MediaWiki version Category:Extensions with release branches compatibility policy Category:GPL licensed extensions Category:GetPreferences extensions Category:MakeGlobalVariablesScript extensions Category:ParserAfterParse extensions Category:ParserClearState extensions Category:ParserCloned extensions Category:ParserFirstCallInit extensions Category:Referencing extensions Category:ResourceLoaderGetConfigVars extensions Category:ResourceLoaderRegisterModules extensions Category:Stable extensions Category:Tag extensions Category:UserGetDefaultOptions extensions