mediawiki-extensions-Cite/tests/qunit/ve-cite
Adam Wight 5b2cbc48bd Wire subref counting into the numbering renderer
Significant change is that footnote marker numbers are changed from
being a CSS-rendered marker to using the rendered "fallback" text.
This could be avoided using the same trick as is implemented for the
reflist: send an inline style variable with the marker content; but
let's only do this if really necessary for user experience.

Template-produced refs are still wrong, but this patch continues to
render them as they come from Parsoid, in the content script.

TODO in later patches:
* reuse of a subref is rendered as '3.2.1' in reader view but '3.0'
and '3.1' in the editor.
* subref numbering is backwards in RTL languages

Bug: T247921
Change-Id: Ieff73769f8ebbc3724f6a9b498487c4e7d09aa2e
2024-07-15 07:08:06 +00:00
..
.eslintrc.json Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.dm.citeExample.js Wire subref counting into the numbering renderer 2024-07-15 07:08:06 +00:00
ve.dm.Converter.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00
ve.dm.InternalList.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00
ve.dm.MWReferenceModel.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00
ve.dm.MWReferenceNode.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00
ve.dm.MWReferencesListNode.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00
ve.dm.Transaction.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00
ve.ui.DiffElement.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00
ve.ui.MWCitationDialogTool.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00
ve.ui.MWReferenceContextItem.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00
ve.ui.MWReferenceDialog.test.js Display extends warning message when editing a reference 2024-07-03 07:18:35 +02:00
ve.ui.MWReferenceGroupInputWidget.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00
ve.ui.MWReferenceResultWidget.test.js Replace "shield" hack in MWReferenceResultWidget with CSS 2024-06-18 12:06:37 +00:00
ve.ui.MWReferenceSearchWidget.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00
ve.ui.MWReferencesListDialog.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00
ve.ui.MWUseExistingReferenceCommand.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00
ve.ui.MWWikitextStringTransferHandler.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00