mediawiki-extensions-Cite/modules/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
..
i18n Localisation updates from https://translatewiki.net. 2024-09-10 09:28:45 +02:00
images
.eslintrc.json
ve.ce.MWReferenceNode.js VE square brackets appear in a span 2024-07-24 12:31:00 +02:00
ve.ce.MWReferencesListNode.js [refactor] InternalList isn't state 2024-09-03 11:34:47 +02:00
ve.ce.MWReferencesListNode.less Start using design tokens in .less files relevant for VE 2024-07-19 17:45:17 +02:00
ve.dm.MWDocumentReferences.js Try to always limit our document references to the current fragment 2024-09-10 12:26:32 +02:00
ve.dm.MWGroupReferences.js VE include subref count in warning message 2024-09-09 09:21:06 +02:00
ve.dm.MWReferenceModel.js Wire subref counting into the numbering renderer 2024-07-15 07:08:06 +00:00
ve.dm.MWReferenceNode.js Rename function to getIndexLabel to clarify that it's presentation 2024-07-30 12:05:25 +00:00
ve.dm.MWReferencesListNode.js Use array spread syntax instead of Array#concat 2024-06-03 12:31:33 +01:00
ve.ui.MWCitationAction.js Use the term reuse for code related to that use case 2024-07-16 13:41:55 +00:00
ve.ui.MWCitationContextItem.js
ve.ui.MWCitationDialog.js [refactor] Inline single-use variables 2024-08-27 10:54:17 +00:00
ve.ui.MWCitationDialogTool.js Add extra safe-guard to ve.ui.MWCitationDialogTool 2024-09-05 17:54:50 +02:00
ve.ui.MWCitationDialogTool.less
ve.ui.MWCitationNeededContextItem.js Remove unnecessary local variable for this 2024-06-03 12:31:33 +01:00
ve.ui.MWReference.init.js ESLint: Enforce prefer-arrow-callback 2024-06-03 12:31:33 +01:00
ve.ui.MWReferenceContextItem.js VE include subref count in warning message 2024-09-09 09:21:06 +02:00
ve.ui.MWReferenceContextItem.less Start using design tokens in .less files relevant for VE 2024-07-19 17:45:17 +02:00
ve.ui.MWReferenceDialog.js [refactor] Replace InternalList with DocumentReferences in ReferenceEditPanel 2024-08-29 23:43:03 +02:00
ve.ui.MWReferenceDialog.less Display extends warning message when editing a reference 2024-07-03 07:18:35 +02:00
ve.ui.MWReferenceDialogTool.js
ve.ui.MWReferenceEditPanel.js VE include subref count in warning message 2024-09-09 09:21:06 +02:00
ve.ui.MWReferenceGroupInputWidget.js [refactor] groupInput takes narrower parameters 2024-08-28 05:48:44 +00:00
ve.ui.MWReferenceResultWidget.js Replace "shield" hack in MWReferenceResultWidget with CSS 2024-06-18 12:06:37 +00:00
ve.ui.MWReferenceResultWidget.less Fix and update styling in reference re-use dialog 2024-08-27 07:07:06 +00:00
ve.ui.MWReferenceSearchWidget.js [refactor] Renaming some fields in SearchWidget for clarity 2024-09-09 09:03:11 +02:00
ve.ui.MWReferenceSearchWidget.less [refactor] Renaming some fields in SearchWidget for clarity 2024-09-09 09:03:11 +02:00
ve.ui.MWReferencesListCommand.js
ve.ui.MWReferencesListContextItem.js
ve.ui.MWReferencesListDialog.js [refactor] groupInput takes narrower parameters 2024-08-28 05:48:44 +00:00
ve.ui.MWUseExistingReferenceCommand.js [refactor] Finish decoupling search widget from InternalList 2024-09-03 12:12:01 +02:00