EditCheck: Only show add-reference in before save workflow (for now)

Change-Id: I6131af12fe4e9a85d9beaf4ca25cea1802461d26
This commit is contained in:
Ed Sanders 2024-12-12 13:06:23 +00:00
parent a26c145574
commit 79adf3f934

View file

@ -25,7 +25,8 @@ mw.editcheck.AddReferenceEditCheck.prototype.onBeforeSave = function ( surfaceMo
} )
);
};
mw.editcheck.AddReferenceEditCheck.prototype.onDocumentChange = mw.editcheck.AddReferenceEditCheck.prototype.onBeforeSave;
// Only show these before save (for now)
// mw.editcheck.AddReferenceEditCheck.prototype.onDocumentChange = mw.editcheck.AddReferenceEditCheck.prototype.onBeforeSave;
/**
* Find content ranges which have been inserted