Go to file
thiemowmde a3a6091534 Fix and update styling in reference re-use dialog
This makes the dialog's behavior much more robust, especially when
confronted with overly long and complex references.
* Limit the height of list items to avoid the situation where a
  single item overflows the dialog. This makes it especially hard
  to navigate with the cursor keys. We can't see any more what's
  going on. The proposed height is intentionally a very high upper
  bound, equivalent to about 2/3 of the dialog's height.
* Limit the name on the right side to take up less than half of an
  item. The left side is for the content. Usually the names are very
  short anyway. But if a name is long it currently creates a mess
  where the name is intertwined with the content.
* Break overly long words in references.
* Changing the opacity to use upstream values makes the dimmed names
  a bit darker. I think this is good, even necessary for legibility.

Technical changes:
* Use LESS variables from upstream, where possible.
* Remove redundant `relative` already set upstream.

Bug: T372385
Change-Id: Ie59b7b7e4aa7eadc8f82b39884313f5aa8cfd950
2024-08-27 07:07:06 +00: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-19 09:39:41 +02:00
modules Fix and update styling in reference re-use dialog 2024-08-27 07:07:06 +00:00
src Merge "Rename ReferencePreviews i18n keys from Popups" 2024-07-18 12:16:10 +00:00
tests Merge "Use MainConfigNames constants in tests where possible" 2024-07-18 12:16:12 +00: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 Wire subref counting into the numbering renderer 2024-07-15 07:08:06 +00: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.