Merge "Update VE core submodule to master (5c98d9b41)"

This commit is contained in:
jenkins-bot 2024-12-11 13:45:38 +00:00 committed by Gerrit Code Review
commit f336f44813
4 changed files with 8 additions and 1 deletions

View file

@ -1382,6 +1382,7 @@
"visualeditor-shortcuts-text-style", "visualeditor-shortcuts-text-style",
"visualeditor-slug-insert", "visualeditor-slug-insert",
"visualeditor-specialcharacter-button-tooltip", "visualeditor-specialcharacter-button-tooltip",
"visualeditor-specialcharacter-recentlyused",
"visualeditor-table-context-col", "visualeditor-table-context-col",
"visualeditor-table-context-row", "visualeditor-table-context-row",
"visualeditor-table-contextitem-properties", "visualeditor-table-contextitem-properties",

View file

@ -1021,6 +1021,7 @@ class Hooks implements
$preferences['visualeditor-findAndReplace-regex'] = $api; $preferences['visualeditor-findAndReplace-regex'] = $api;
$preferences['visualeditor-findAndReplace-matchCase'] = $api; $preferences['visualeditor-findAndReplace-matchCase'] = $api;
$preferences['visualeditor-findAndReplace-word'] = $api; $preferences['visualeditor-findAndReplace-word'] = $api;
$preferences['visualeditor-symbolList-recentlyUsed-specialCharacters'] = $api;
} }
/** /**

2
lib/ve

@ -1 +1 @@
Subproject commit d210240a0761fe0c4fb4f4bb819564b3364503f8 Subproject commit 5c98d9b418bb40352e40daae108424bb591f9f01

View file

@ -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 () { ve.init.mw.Platform.prototype.createLocalStorage = function () {
return this.createConflictableStorage( mw.storage ); return this.createConflictableStorage( mw.storage );
}; };