diff --git a/VisualEditor.hooks.php b/VisualEditor.hooks.php index 3fcc30fd93..9a86a01fa5 100644 --- a/VisualEditor.hooks.php +++ b/VisualEditor.hooks.php @@ -686,7 +686,7 @@ class VisualEditorHooks { public static function onGetBetaPreferences( User $user, array &$preferences ) { $coreConfig = RequestContext::getMain()->getConfig(); - $iconpath = $coreConfig->get( 'ExtensionAssetsPath' ) . "/VisualEditor"; + $iconpath = $coreConfig->get( 'ExtensionAssetsPath' ) . "/VisualEditor/modules/ve-wmf"; $veConfig = ConfigFactory::getDefaultInstance()->makeConfig( 'visualeditor' ); $preferences['visualeditor-enable'] = [ diff --git a/betafeatures-icon-VisualEditor-ltr.svg b/modules/ve-wmf/betafeatures-icon-VisualEditor-ltr.svg similarity index 100% rename from betafeatures-icon-VisualEditor-ltr.svg rename to modules/ve-wmf/betafeatures-icon-VisualEditor-ltr.svg diff --git a/betafeatures-icon-VisualEditor-rtl.svg b/modules/ve-wmf/betafeatures-icon-VisualEditor-rtl.svg similarity index 100% rename from betafeatures-icon-VisualEditor-rtl.svg rename to modules/ve-wmf/betafeatures-icon-VisualEditor-rtl.svg diff --git a/betafeatures-icon-WikitextEditor-ltr.svg b/modules/ve-wmf/betafeatures-icon-WikitextEditor-ltr.svg similarity index 100% rename from betafeatures-icon-WikitextEditor-ltr.svg rename to modules/ve-wmf/betafeatures-icon-WikitextEditor-ltr.svg diff --git a/betafeatures-icon-WikitextEditor-rtl.svg b/modules/ve-wmf/betafeatures-icon-WikitextEditor-rtl.svg similarity index 100% rename from betafeatures-icon-WikitextEditor-rtl.svg rename to modules/ve-wmf/betafeatures-icon-WikitextEditor-rtl.svg