Go to file
David Lynch 4841b7496c MWReferenceNode: Don't try to remove from the internal list if it's not added
Recent changes to setRoot in ve core (719f8c667) cause unroot to occur at a
point we weren't expecting, when adding a new reference.

Bug: T163267
Change-Id: If02ea08bb8b6db3be41d51ab44ce2a74cfe07914
2017-04-20 18:18:19 +01:00
i18n Localisation updates from https://translatewiki.net. 2017-04-19 22:52:29 +02:00
includes Bring in wikitext paste tests from ve-mw 2017-04-20 16:27:50 +00:00
modules MWReferenceNode: Don't try to remove from the internal list if it's not added 2017-04-20 18:18:19 +01:00
tests/parser i18n: Don't try to spell out all the options that are allowed 2017-04-08 04:10:29 +00:00
.eslintrc.json eslint: Re-enable wrap-iife and partially enable dot-notation 2016-11-15 12:59:21 +00:00
.gitignore Expand .gitignore for more editors 2016-11-13 12:52:40 +01:00
.gitreview Whoops, track not trace 2016-10-24 17:02:15 -07:00
.stylelintrc build: Bump devDependencies to latest 2017-04-10 08:57:27 -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
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 Implement responsive columns for reference lists 2017-03-07 22:42:47 +00:00
Gruntfile.js build: Mark Node file as ES6 2017-03-20 10:47:54 +00:00
MIT-LICENSE.txt VisualEditor: Move code for Cite into this repo 2016-02-04 08:41:54 -08:00
package.json build: Bump devDependencies to latest 2017-04-10 08:57:27 -07: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

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.