Go to file
Adam Wight 8aa889dbe6 VE square brackets appear in a span
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
2024-07-24 12:31:00 +02:00
.phan Add ReferencePreviews config checks to Cite extension 2024-04-25 12:50:27 +02:00
i18n Localisation updates from https://translatewiki.net. 2024-07-22 09:24:03 +02:00
modules VE square brackets appear in a span 2024-07-24 12:31:00 +02:00
src Merge "Rename ReferencePreviews i18n keys from Popups" 2024-07-18 12:16:10 +00:00
tests VE square brackets appear in a span 2024-07-24 12:31:00 +02:00
.eslintrc.json Move reference previews to Cite extension 2024-03-12 17:43:51 +01:00
.gitignore Move Cypress tests under tests/ directory 2024-04-04 13:06:26 +00:00
.gitreview
.mailmap .mailmap: Add bot contributors so they're easily ignored 2024-03-22 16:03:23 +00:00
.npmrc Move Cypress tests under tests/ directory 2024-04-04 13:06:26 +00:00
.phpcs.xml More simple and consistent @covers and @license tags 2023-12-15 12:12:16 +01:00
.stylelintrc.json
AUTHORS.txt Add main authors of the current non-Parsoid implementation 2024-04-03 12:41:25 +02:00
CODE_OF_CONDUCT.md
composer.json build: Updating dependencies 2024-04-26 11:10:51 -07:00
COPYING.txt
extension.json Introduce MWReferenceEditPanel to extract editing UI 2024-07-18 14:46:23 +02:00
Gruntfile.js Move Cypress tests under tests/ directory 2024-04-04 13:06:26 +00:00
jsdoc.json build: Update jsdoc-wmf-theme to 1.1.0 2024-07-18 13:53:28 +02:00
MIT-LICENSE.txt
package-lock.json build: Update jsdoc-wmf-theme to 1.1.0 2024-07-18 13:53:28 +02:00
package.json build: Update jsdoc-wmf-theme to 1.1.0 2024-07-18 13:53:28 +02:00
README.md Clean up top-level docs 2024-03-12 12:23:18 +01:00

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.