SkinFactory::getSkinNames is deprecated, use getInstalledSkins

Bug: T377521
Change-Id: I4f66ce9929e0240e1c89f59ef781d0a378263322
This commit is contained in:
Jon Robson 2024-10-23 08:38:16 -07:00
parent f834094206
commit f29daa890d

View file

@ -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