mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 08:50:07 +00:00
64c94662f0
Note this is intentionally testing a private method. As of now, the code is so heavily entangled, it's not yet possible to test individual aspects without calling private methods. The plan is to slowly increase the overall test coverage, and the start restructuring the code as necessary. Change-Id: Ib3b01bddaffd0469fb66979c67c8114a5807df6d |
||
---|---|---|
.phan | ||
i18n | ||
includes | ||
modules | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
AUTHORS.txt | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING.txt | ||
extension.json | ||
Gruntfile.js | ||
MIT-LICENSE.txt | ||
package-lock.json | ||
package.json | ||
README.md |
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.