From f29daa890dfb4b00dcd546c6ee06d5985bc7cba0 Mon Sep 17 00:00:00 2001 From: Jon Robson Date: Wed, 23 Oct 2024 08:38:16 -0700 Subject: [PATCH] SkinFactory::getSkinNames is deprecated, use getInstalledSkins Bug: T377521 Change-Id: I4f66ce9929e0240e1c89f59ef781d0a378263322 --- includes/VisualEditorDesktopArticleTargetInitModule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/VisualEditorDesktopArticleTargetInitModule.php b/includes/VisualEditorDesktopArticleTargetInitModule.php index fc22fdd056..83796d84e3 100644 --- a/includes/VisualEditorDesktopArticleTargetInitModule.php +++ b/includes/VisualEditorDesktopArticleTargetInitModule.php @@ -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