Go to file
Jon Robson dcb513eb0e Move reference previews to Cite extension
The ext.cite.referencePreviews module will transparently replace the
ext.popups.referencePreviews module after this patch.  Configuration
stays in Popups for now, we can migrate it in later work.

CSS classes may be renamed in the future but this will be handled
separately since it could be a breaking change for on-wiki
customizations.

A lot of fancy footwork happens in this patch to emulate a soft
dependency on Popups.  This mechanism doesn't exist explicitly in
either ResourceLoader or QUnit, so lots of workarounds are used, to
conditionally load the module and to dynamically skip dependent tests.

renderer.test.js is fully skipped for now, but can be wired up in
later work.

Bug: T355194
Change-Id: I0dc47abb59a40d4e41e7dda0eb7b415a2e1ae508
2024-03-12 17:43:51 +01:00
.phan Less tabs in phan config 2024-02-26 16:57:14 -05:00
cypress Move reference previews to Cite extension 2024-03-12 17:43:51 +01:00
i18n Localisation updates from https://translatewiki.net. 2024-03-11 08:26:28 +01:00
modules Move reference previews to Cite extension 2024-03-12 17:43:51 +01:00
src Move reference previews to Cite extension 2024-03-12 17:43:51 +01:00
tests Move reference previews to Cite extension 2024-03-12 17:43:51 +01:00
.eslintrc.json Move reference previews to Cite extension 2024-03-12 17:43:51 +01:00
.gitignore Initial support for generating jsdoc 2024-02-28 09:22:59 +01:00
.gitreview Whoops, track not trace 2016-10-24 17:02:15 -07:00
.phpcs.xml More simple and consistent @covers and @license tags 2023-12-15 12:12:16 +01:00
.stylelintrc.json build: Update stylelint config 2023-05-30 20:18:01 +00:00
AUTHORS.txt Move Cite-specific settings from WikiEditor 2023-06-28 20:22:14 +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 dependencies 2024-02-14 07:41:08 -05:00
COPYING.txt Add license details and give credit to more authors (based on git shortlog) 2014-07-26 16:16:47 -07:00
cypress.config.js Port Cite web test suite to Cypress 2024-01-17 11:45:04 +01:00
extension.json Move reference previews to Cite extension 2024-03-12 17:43:51 +01:00
Gruntfile.js linters should ignore generated docs 2024-02-29 12:09:09 +00:00
jsdoc.json Move reference previews to Cite extension 2024-03-12 17:43:51 +01:00
MIT-LICENSE.txt doc: Bump copyright year 2018-01-02 17:05:50 -08:00
package-lock.json Initial support for generating jsdoc 2024-02-28 09:22:59 +01:00
package.json Initial support for generating jsdoc 2024-02-28 09:22:59 +01: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.