mediawiki-extensions-Cite/modules/ve-cite
Adam Wight 8534007aee [bugfix] Guard against out-of-order destruction
For unknown reasons, some of the event handlers in the reflist class
can be called when the model is already partially destroyed.  I
removed some guard logic in I0809df9d3c24fdd5fe which turns out to be
necessary, so I'm adding it here explicitly.

To reproduce the bug, try deleting the reflist in VE.

Bug: T375049
Change-Id: I33e6526cdf535eddaaf8ae506243a5898bd15676
2024-09-18 09:32:24 +02:00
..
i18n Localisation updates from https://translatewiki.net. 2024-09-16 09:25:29 +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 [bugfix] Guard against out-of-order destruction 2024-09-18 09:32:24 +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 Clean up and fix some jsdoc annotations 2024-02-29 13:05:42 +01:00
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 Clean up and fix some jsdoc annotations 2024-02-29 13:05:42 +01:00
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 Clean up and fix some jsdoc annotations 2024-02-29 13:05:42 +01:00
ve.ui.MWReferencesListContextItem.js Clean up and fix some jsdoc annotations 2024-02-29 13:05:42 +01:00
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