diff --git a/extension.json b/extension.json index 7a2e5db03e..83c1dc617b 100644 --- a/extension.json +++ b/extension.json @@ -1382,6 +1382,7 @@ "visualeditor-shortcuts-text-style", "visualeditor-slug-insert", "visualeditor-specialcharacter-button-tooltip", + "visualeditor-specialcharacter-recentlyused", "visualeditor-table-context-col", "visualeditor-table-context-row", "visualeditor-table-contextitem-properties", diff --git a/includes/Hooks.php b/includes/Hooks.php index c8561c24a1..f592a0dff5 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -1021,6 +1021,7 @@ class Hooks implements $preferences['visualeditor-findAndReplace-regex'] = $api; $preferences['visualeditor-findAndReplace-matchCase'] = $api; $preferences['visualeditor-findAndReplace-word'] = $api; + $preferences['visualeditor-symbolList-recentlyUsed-specialCharacters'] = $api; } /** diff --git a/lib/ve b/lib/ve index d210240a07..5c98d9b418 160000 --- a/lib/ve +++ b/lib/ve @@ -1 +1 @@ -Subproject commit d210240a0761fe0c4fb4f4bb819564b3364503f8 +Subproject commit 5c98d9b418bb40352e40daae108424bb591f9f01 diff --git a/modules/ve-mw/init/ve.init.mw.Platform.js b/modules/ve-mw/init/ve.init.mw.Platform.js index 70ab00a23f..56b88fb5c9 100644 --- a/modules/ve-mw/init/ve.init.mw.Platform.js +++ b/modules/ve-mw/init/ve.init.mw.Platform.js @@ -177,6 +177,11 @@ ve.init.mw.Platform.prototype.setUserConfig = function ( keyOrValueMap, value ) } }; +/** + * @inheritdoc + */ +ve.init.mw.Platform.prototype.canUseUserConfig = mw.user.isNamed; + ve.init.mw.Platform.prototype.createLocalStorage = function () { return this.createConflictableStorage( mw.storage ); };