mediawiki-extensions-Cite/tests/qunit/ve-cite
Adam Wight 6ea3a8c696 Try to always limit our document references to the current fragment
Reverses the previous logic which traversed up from a fragment to get
the full document's refs.  Much other code in VE isn't ready for this
behavior, for example we can see list-defined refs but not inline refs
defined outside of the fragment.

This patch will ensure that we're only looking at refs accessible from
the current fragment, and prevents caching on fragments because the
cache uses `persistentStorage`, which is shared between fragments and
their parent document.

Bug: T374068
Change-Id: Ia38098f8b3e5a9d24c2206e11edab37d60209225
2024-09-10 12:26:32 +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 Replace "shield" hack in MWReferenceResultWidget with CSS 2024-06-18 12:06:37 +00: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 Try to always limit our document references to the current fragment 2024-09-10 12:26:32 +02:00
ve.ui.MWWikitextStringTransferHandler.test.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00