Go to file
Ed Sanders 1a3566b203 Ensure the DOM returned by toDomElements doesn't change
By leaving the viewNode around, it would update itself later
(due to updateDebounced in the constructor), which would
modify $reflist, even though the caller was expecting
this to be some finalised DOM sub-tree.

Change-Id: Ia89a98556af26986f8362f5b352378cc321b6345
2018-03-03 18:58:33 +00:00
i18n Localisation updates from https://translatewiki.net. 2018-03-02 22:30:53 +01:00
includes Merge "Remove failed experiment $wgCiteCacheReferences" 2018-02-28 19:47:40 +00:00
modules Ensure the DOM returned by toDomElements doesn't change 2018-03-03 18:58:33 +00:00
tests Migrate to mediawiki-phan-config 2018-02-15 12:38:56 -08:00
.eslintrc.json eslint: Re-enable wrap-iife and partially enable dot-notation 2016-11-15 12:59:21 +00:00
.gitignore Add phan configuration for static analysis 2017-12-29 11:50:01 -08:00
.gitreview Whoops, track not trace 2016-10-24 17:02:15 -07:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 14.1.0 2017-10-21 04:18:33 +00:00
.stylelintrc.json Use json extension for .stylelintrc 2017-08-19 09:39:19 +02:00
AUTHORS.txt Fix expected remove data to match actual remove data exactly 2017-08-13 11:41:30 -04:00
Cite.php Add extension.json, empty PHP entry point 2015-05-03 06:36:25 +00:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md 2017-06-07 12:58:44 +04:30
composer.json build: Updating mediawiki/mediawiki-codesniffer to 16.0.1 2018-02-25 07:00:04 +00: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 Remove failed experiment $wgCiteCacheReferences 2018-02-28 21:04:42 +11:00
Gruntfile.js build: Bring SVGO optimization to build step 2018-02-12 10:05:27 -08:00
MIT-LICENSE.txt doc: Bump copyright year 2018-01-02 17:05:50 -08:00
package.json build: Bring SVGO optimization to build step 2018-02-12 10:05:27 -08: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.