mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
44afa99d49
I believe this was a mistake in the previous patch Idd57997. Using only the .text() of the parent reference is not sufficient. Think of a reference that contains a <math> formula or – even worse – is nothing but a <math> formula. The preview will be empty in this case. Click handlers in the preview need to be disabled. It's only a preview. Bug: T367030 Change-Id: I7e82e03ecfeb4e9cf132985684cff5e191506307 |
||
---|---|---|
.phan | ||
i18n | ||
modules | ||
src | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.npmrc | ||
.phpcs.xml | ||
.stylelintrc.json | ||
AUTHORS.txt | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING.txt | ||
extension.json | ||
Gruntfile.js | ||
jsdoc.json | ||
MIT-LICENSE.txt | ||
package-lock.json | ||
package.json | ||
README.md |
The Cite extension to MediaWiki provides a way for wiki editors to add references and footnotes to articles.
See mw:Extension:Cite for technical documentation on installing and configuring the extension. See mw:Help:Cite for user documentation.
Cite is responsible for implementing the <ref>
and <references>
tags in wikitext. Integrations are provided for the legacy wikitext parser, Parsoid, WikiEditor, VisualEditor, and the reading interface.