mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 14:36:51 +00:00
b3e8737829
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 |
||
---|---|---|
.. | ||
.eslintrc.json | ||
ve.dm.citeExample.js | ||
ve.dm.Converter.test.js | ||
ve.dm.InternalList.test.js | ||
ve.dm.MWDocumentReferences.test.js | ||
ve.dm.MWGroupReferences.test.js | ||
ve.dm.MWReferenceModel.test.js | ||
ve.dm.MWReferenceNode.test.js | ||
ve.dm.MWReferencesListNode.test.js | ||
ve.dm.Transaction.test.js | ||
ve.ui.DiffElement.test.js | ||
ve.ui.MWCitationDialogTool.test.js | ||
ve.ui.MWReferenceContextItem.test.js | ||
ve.ui.MWReferenceEditPanel.test.js | ||
ve.ui.MWReferenceGroupInputWidget.test.js | ||
ve.ui.MWReferenceResultWidget.test.js | ||
ve.ui.MWReferenceSearchWidget.test.js | ||
ve.ui.MWReferencesListDialog.test.js | ||
ve.ui.MWUseExistingReferenceCommand.test.js | ||
ve.ui.MWWikitextStringTransferHandler.test.js |