From 79adf3f934c66d34367d448ee977884ed2f213b9 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Thu, 12 Dec 2024 13:06:23 +0000 Subject: [PATCH] EditCheck: Only show add-reference in before save workflow (for now) Change-Id: I6131af12fe4e9a85d9beaf4ca25cea1802461d26 --- editcheck/modules/editchecks/AddReferenceEditCheck.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editcheck/modules/editchecks/AddReferenceEditCheck.js b/editcheck/modules/editchecks/AddReferenceEditCheck.js index b4090d915f..58b5caa7a3 100644 --- a/editcheck/modules/editchecks/AddReferenceEditCheck.js +++ b/editcheck/modules/editchecks/AddReferenceEditCheck.js @@ -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