diff --git a/.jsduck/eg-iframe.html b/.jsduck/eg-iframe.html
index e980e3eed0..3825f36c15 100644
--- a/.jsduck/eg-iframe.html
+++ b/.jsduck/eg-iframe.html
@@ -85,6 +85,7 @@
+
diff --git a/VisualEditor.hooks.php b/VisualEditor.hooks.php
index abf4d17bff..8f5ecb9580 100644
--- a/VisualEditor.hooks.php
+++ b/VisualEditor.hooks.php
@@ -428,6 +428,7 @@ class VisualEditorHooks {
'lib/ve/lib/jquery.i18n/src/jquery.i18n.messagestore.js',
'lib/ve/lib/jquery.i18n/src/jquery.i18n.parser.js',
'lib/ve/lib/jquery.i18n/src/jquery.i18n.emitter.js',
+ 'lib/ve/lib/jquery.i18n/src/jquery.i18n.emitter.bidi.js',
'lib/ve/lib/jquery.i18n/src/jquery.i18n.language.js',
),
'dependencies' => 'mediawiki.libs.pluralruleparser',
diff --git a/lib/ve b/lib/ve
index 973e23d396..e628ef02e4 160000
--- a/lib/ve
+++ b/lib/ve
@@ -1 +1 @@
-Subproject commit 973e23d396e21763fbd93906ac75f4038bb348ee
+Subproject commit e628ef02e4c25d06c51561f81dfaa7bf7d11f561