From f5f26d848d2acab8de05a9e3a952e5f696779a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Wed, 3 Nov 2021 22:12:33 +0100 Subject: [PATCH] ArticleTargetSaver: ve.init may be undefined Bug: T294981 Change-Id: Ibd1cf9db9ebb58e7b7721e35991dd4027506c0dd --- modules/ve-mw/preinit/ve.init.mw.ArticleTargetSaver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve-mw/preinit/ve.init.mw.ArticleTargetSaver.js b/modules/ve-mw/preinit/ve.init.mw.ArticleTargetSaver.js index aac65b04c3..3f0c9e7bb8 100644 --- a/modules/ve-mw/preinit/ve.init.mw.ArticleTargetSaver.js +++ b/modules/ve-mw/preinit/ve.init.mw.ArticleTargetSaver.js @@ -222,7 +222,7 @@ errorformat: 'html', errorlang: mw.config.get( 'wgUserLanguage' ), errorsuselocal: true, - editingStatsId: window.ve && window.ve.init.editingSessionId + editingStatsId: window.ve && window.ve.init && window.ve.init.editingSessionId }, data );