Go to file
Ed Sanders 96922a2aa0 Use commandRegistry from current surface, not target
This shouldn't make a difference for any current implementations
but in the future different surfaces my have different commands.

Change-Id: I383a4a76cda142107da2f8aa1c6a90c4307e3b97
2016-05-30 22:36:45 +01:00
i18n Localisation updates from https://translatewiki.net. 2016-05-30 22:22:19 +02:00
modules Use commandRegistry from current surface, not target 2016-05-30 22:36:45 +01:00
.gitignore composer test entry point 2015-11-23 22:15:36 +01:00
.gitreview Adding .gitreview 2012-03-23 10:16:54 -07:00
.jscsrc build: Test JS code with jshint and jscs via npm 2015-11-18 16:54:55 -08:00
.jshintignore Update packages 2015-12-19 09:52:30 +00:00
.jshintrc VisualEditor: Bring in unit tests from VE 2016-02-05 13:41:43 -08:00
.stylelintrc Add stylelint and make required style fixes 2016-05-17 18:21:30 +01:00
ApiQueryReferences.php build: Updating mediawiki/mediawiki-codesniffer to 0.7.1 2016-05-09 16:36:49 -07:00
AUTHORS.txt VisualEditor: Move code for Cite into this repo 2016-02-04 08:41:54 -08:00
Cite.php Add extension.json, empty PHP entry point 2015-05-03 06:36:25 +00:00
Cite_body.php build: Updating mediawiki/mediawiki-codesniffer to 0.7.1 2016-05-09 16:36:49 -07:00
CiteCSSFileModule.php build: Updating mediawiki/mediawiki-codesniffer to 0.7.1 2016-05-09 16:36:49 -07:00
CiteDataModule.php build: Updating mediawiki/mediawiki-codesniffer to 0.7.1 2016-05-09 16:36:49 -07:00
CiteHooks.php build: Updating mediawiki/mediawiki-codesniffer to 0.7.1 2016-05-09 16:36:49 -07:00
citeParserTests.txt Add lang and dir attributes to cite errors 2016-04-30 16:16:58 +03:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 0.7.2 2016-05-27 18:18:03 -07:00
COPYING.txt Add license details and give credit to more authors (based on git shortlog) 2014-07-26 16:16:47 -07:00
extension.json Drop backwards-compatibility ext.visualEditor.mwreference module 2016-03-13 10:49:26 +00:00
Gruntfile.js Add stylelint and make required style fixes 2016-05-17 18:21:30 +01:00
MIT-LICENSE.txt VisualEditor: Move code for Cite into this repo 2016-02-04 08:41:54 -08:00
package.json Bump package versions 2016-05-24 14:19:17 +01:00
phpcs.xml Add php code sniffer 2015-12-16 13:11:00 +00:00
README.md Store references in page_props and cache 2016-02-10 14:47:02 +01:00
SpecialCite.php Add SpecialCite stub file for backwards-compatability 2015-05-25 15:01:42 +02:00

Cite

The Cite extension provides a way for users to create references as footnotes to articles.

See https://www.mediawiki.org/wiki/Extension:Cite for detailed documentation.

Configuration

  • $wgCiteStoreReferencesData: If set to true, references are saved in the database so that other extensions can retrieve them independently of the main article content.
  • $wgCiteCacheReferencesDataOnParse: ($wgCiteStoreReferencesData required) By default, references are cached only on database access. If set to true, references are also cached whenever pages are parsed.