Extension:Cite
Appearance
(Redirected fromExtension:Cite/Cite.php)
This page documents the extension. For how to use it, seehelp on citing.
This extensioncomes with MediaWiki 1.21and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided.
Cite Release status: stable |
|
---|---|
Implementation | Tag |
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. |
MediaWiki | 1.34+ |
PHP | 7.0+ |
License | GNU General Public License 2.0 or later |
Download | |
Help | Help:Extension:Cite |
Example | Wikipedia:Footnotes |
|
|
Quarterly downloads | 278 (Ranked 17th) |
Public wikis using | 14,146 (Ranked 6th) |
Translate the Cite extensionif it is available at translatewiki.net | |
Issues | Open tasks·Report a bug |
TheCiteextension allows a user to create references as footnotes on a page.
It adds twoparser hooksto MediaWiki,<ref>
and<references/>
;these operate together to add citations to pages.
Usage
[edit]See the help page forusing the Cite extensionfor further information.
Installation
[edit]- Downloadand move the extracted
Cite
folder to yourextensions/
directory.
Developers and code contributors should install the extensionfrom Gitinstead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite - Add the following code at the bottom of yourLocalSettings.php file:
wfLoadExtension('Cite');
- Configure as required.
- Done– Navigate toSpecial:Versionon your wiki to verify that the extension is successfully installed.
Vagrant installation:
- If usingVagrant ,install with
vagrant roles enable cite --provision
Configuration
[edit]$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
[edit]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.phpandInitialiseSettings.phpconfiguration 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:Versionpage. |
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. |
Categories:
- Extensions bundled with MediaWiki 1.21
- Stable extensions
- Tag extensions
- GPL licensed extensions
- Extensions in Wikimedia version control
- APIQuerySiteInfoGeneralInfo extensions
- ContentHandlerDefaultModelFor extensions
- EditPage::showEditForm:initial extensions
- MakeGlobalVariablesScript extensions
- ParserAfterParse extensions
- ParserClearState extensions
- ParserCloned extensions
- ParserFirstCallInit extensions
- ResourceLoaderGetConfigVars extensions
- ResourceLoaderRegisterModules extensions
- All extensions
- Extensions used on Wikimedia
- Extensions included in BlueSpice
- Extensions included in Canasta
- Extensions available as Debian packages
- Extensions included in Fandom
- Extensions included in Miraheze
- Extensions included in MyWikis
- Extensions included in ProWiki
- Extensions included in semantic::core
- Extensions included in ShoutWiki
- Extensions included in Telepedia
- Extensions included in wiki.gg
- Extensions included in WikiForge
- Referencing extensions
- Extensions with VisualEditor support