Go to file
WMDE-Fisch 179d402344 Add ReferencePreviews config checks to Cite extension
PHP classes and test are somewhat copies from the Popups codebase.
Some refactoring was applied. More could be done. Not to sure if
this should happen more in follow ups though.

Could also reduce the complexity of checks on the JS side. Most of
these things can only change on page load. The only dynamic part
left is the anon user setting managed by the Popups extension.

Note, that I needed to add a new PHP config for here although the
other still exists and is needed in the Popups extension. This
will change, when the user settings code also moves.

I guess it's okay for now though. Both settings default to true
and are not overridden in the config repos.

Also needed to add the Gadget extension as phan dependency.

Bug: T362771
Depends-On: Ia028c41f8aaa1c522dfc7c372e1ce51e40933a5e
Change-Id: Ie6e8bc706235724494036c7f0d873f5c996c46e6
2024-04-25 12:50:27 +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-04-24 07:43:01 +00:00
modules Add ReferencePreviews config checks to Cite extension 2024-04-25 12:50:27 +02:00
src Add ReferencePreviews config checks to Cite extension 2024-04-25 12:50:27 +02:00
tests Add ReferencePreviews config checks to Cite extension 2024-04-25 12:50:27 +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 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 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 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 43.0.0 2024-03-17 15:52:37 +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 ReferencePreviews config checks to Cite extension 2024-04-25 12:50:27 +02:00
Gruntfile.js Move Cypress tests under tests/ directory 2024-04-04 13:06:26 +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 Remove unused WDIO/Selenium dependencies 2024-04-03 09:36:20 -04:00
package.json Merge "Move Cypress tests under tests/ directory" 2024-04-04 13:55:44 +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.