mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
9ce4b959bc
The code before was not wrong, just deeply nested. The worst case was that the final $upArrowLink.attr( … ) might have been called on zero elements. jQuery is fine with this. Change-Id: I62e7286c7fe906544fe148e1122c60cc8db070f3 |
||
---|---|---|
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.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.