mediawiki-extensions-Cite/tests/qunit/ve-cite
Adam Wight b3e8737829 Fix regression to auto-save
Cite's MWDocumentReferences included a Document, which caused
auto-save serialization to fail silently on the cyclical reference.

This patch moves the caching to per-instance scope, which was the
better choice to begin with.  The document refs are recalculated after
each change anyway, and caching is only necessary to work around an
awkward control flow in which each ReferenceNode is responsible for
its footnote number.

Bug: T377484
Change-Id: Iebe4befd603fe07d9da2a5bb6126228ec4d5dfea
2024-10-20 11:00:03 +02:00
..
.eslintrc.json Move more editing methods to the EditPanel 2024-07-26 17:45:23 +00:00
ve.dm.citeExample.js Moving ref group knowledge into a dedicated data structure 2024-08-26 09:26:15 +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.MWDocumentReferences.test.js Moving ref group knowledge into a dedicated data structure 2024-08-26 09:26:15 +00:00
ve.dm.MWGroupReferences.test.js VE include subref count in warning message 2024-09-09 09:21:06 +02: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.MWReferenceEditPanel.test.js VE include subref count in warning message 2024-09-09 09:21:06 +02:00
ve.ui.MWReferenceGroupInputWidget.test.js [refactor] groupInput takes narrower parameters 2024-08-28 05:48:44 +00:00
ve.ui.MWReferenceResultWidget.test.js [refactor] Move result items rendering to ReferenceResultWidget 2024-09-29 20:06:02 +02:00
ve.ui.MWReferenceSearchWidget.test.js [refactor] Renaming some fields in SearchWidget for clarity 2024-09-09 09:03:11 +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 Fix regression to auto-save 2024-10-20 11:00:03 +02:00
ve.ui.MWWikitextStringTransferHandler.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00