mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 14:06:52 +00:00
SkinFactory::getSkinNames is deprecated, use getInstalledSkins
Bug: T377521 Change-Id: I4f66ce9929e0240e1c89f59ef781d0a378263322
This commit is contained in:
parent
f834094206
commit
f29daa890d
|
@ -37,7 +37,7 @@ class VisualEditorDesktopArticleTargetInitModule extends FileModule {
|
|||
foreach ( [ 'edit', 'create', 'edit-local', 'create-local' ] as $msgKey ) {
|
||||
// MediaWiki defaults
|
||||
$messages[] = "skin-view-$msgKey";
|
||||
foreach ( $services->getSkinFactory()->getSkinNames() as $skname => $unused ) {
|
||||
foreach ( $services->getSkinFactory()->getInstalledSkins() as $skname => $unused ) {
|
||||
// Per-skin overrides
|
||||
// Messages: vector-view-edit, vector-view-create
|
||||
// Disable database lookups for site-level message overrides as they
|
||||
|
|
Loading…
Reference in a new issue