mediawiki-extensions-Cite/tests/qunit/ve-cite
Adam Wight 257b3f3816 Switch reuse dialog to use shared numbering mechanism
This patch gives us the same number as will appear in the document,
even when subrefs are present.

Tests could be improved using sinon to check some call assertions
but should be fine for now.

Removed the test for placeholders, because these should be filtered
in MWDocumentReferences.getGroupRefsByParents()

Bug: T370874
Change-Id: I7543a6593308c529bcfbeb0835a7c0882cbf8621
2024-07-26 09:44:36 +02: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 VE square brackets appear in a span 2024-07-24 12:31:00 +02: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 Introduce MWReferenceEditPanel to extract editing UI 2024-07-18 14:46:23 +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 Switch reuse dialog to use shared numbering mechanism 2024-07-26 09:44:36 +02: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