mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 16:30:12 +00:00
987f20e558
In reference links, brackets are wrapped in nowiki tags to avoid breaking the link. This uses instead [ and ] (ASCII for [ and ]). This simplifies parsing and mitigates the issue of strip markers in references data. Bug: T127787 Change-Id: Ibacae55eb99233d89d5c68261e3259cb2b723451 |
||
---|---|---|
i18n | ||
modules | ||
.gitignore | ||
.gitreview | ||
.jscsrc | ||
.jshintignore | ||
.jshintrc | ||
ApiQueryReferences.php | ||
AUTHORS.txt | ||
Cite.php | ||
Cite_body.php | ||
CiteCSSFileModule.php | ||
CiteDataModule.php | ||
CiteHooks.php | ||
citeParserTests.txt | ||
composer.json | ||
COPYING.txt | ||
extension.json | ||
Gruntfile.js | ||
MIT-LICENSE.txt | ||
package.json | ||
phpcs.xml | ||
README.md | ||
SpecialCite.php |
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.