mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 16:30:12 +00:00
8aa889dbe6
Some wikis such as eswiki and frwiki prefer to hide the square brackets by default. Adding a selector-friendly DOM element around the brackets supports this customization. This makes it possible to hide the brackets with CSS: .cite-bracket { display: none; } And it also becomes possible to hide the brackets but make them appear in copy-pasted article content: .cite-bracket { font-size: 0; } Bug: T370512 Depends-On: I56b52c399d2c76689fdcb0bc7fd50a8c0ced28fd Change-Id: Id8684ccee2e6725af2c861da20fc31af1067e614 |
||
---|---|---|
.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.