Go to file
Isabelle Hurbain-Palatin d3f85b16c5 Only display the first occurrence of an error
It can happen that an error is reported multiple times for a given
reference. In this case, we only display one.
We still display different errors if a reference contains multiple
different errors. This behaviour is differs from the legacy parser's
(so, in this case, we add the category
cite-tracking-category-cite-diffing-error), but not from the legacy
parser's desired behaviour, as hinted by the various comments and TODO
in this area.

Bug: T380153
Change-Id: I9b3d5cbd086fc72c66a2afbae8f92297681989ce
2024-11-18 13:54:56 +01: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-11-18 08:23:16 +01:00
modules Localisation updates from https://translatewiki.net. 2024-11-08 08:28:15 +01:00
src Only display the first occurrence of an error 2024-11-18 13:54:56 +01:00
tests Only display the first occurrence of an error 2024-11-18 13:54:56 +01: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 Whoops, track not trace 2016-10-24 17:02:15 -07:00
.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 Ignore cypress generated PHP files 2024-09-06 14:28:29 +02:00
.stylelintrc.json build: Update stylelint config 2023-05-30 20:18:01 +00:00
AUTHORS.txt Add main authors of the current non-Parsoid implementation 2024-04-03 12:41:25 +02:00
CODE_OF_CONDUCT.md build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-02 23:29:58 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 2024-11-02 04:11:18 +00:00
COPYING.txt Add license details and give credit to more authors (based on git shortlog) 2014-07-26 16:16:47 -07:00
extension.json Add a tracking category for cite errors that trigger a visual diff 2024-10-28 18:41:07 +01:00
Gruntfile.js Move Cypress tests under tests/ directory 2024-04-04 13:06:26 +00:00
jsdoc.json Clean up reflist usage of MWGroupReferences 2024-08-28 07:45:39 +02:00
MIT-LICENSE.txt doc: Bump copyright year 2018-01-02 17:05:50 -08:00
package-lock.json [build] Update Cypress library to 13.15.1 2024-10-31 07:49:19 +00:00
package.json [build] Update Cypress library to 13.15.1 2024-10-31 07:49:19 +00: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.