mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-18 01:00:45 +00:00
Update VE core submodule to master (5c98d9b41)
New changes: 5c98d9b41 Keep track of recently used symbols Added i18n keys: - visualeditor-specialcharacter-recentlyused Local changes: Register preference for SpecialCharacterDialog recently-used list Implement `canUseUserConfig` platform method Bug: T110722 Change-Id: Ie869ccd4292f87354222af6648d7ea0e5ae50387
This commit is contained in:
parent
237f9afcbc
commit
dc9cf6624a
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
2
lib/ve
2
lib/ve
|
@ -1 +1 @@
|
|||
Subproject commit d210240a0761fe0c4fb4f4bb819564b3364503f8
|
||||
Subproject commit 5c98d9b418bb40352e40daae108424bb591f9f01
|
|
@ -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 );
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue