mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-23 15:06:48 +00:00
SpecialGadgets: Replace deprecated SkinFactory::getSkinNames() call
Bug: T377521
Change-Id: I60f28e3d9399227b02592bd71e9fdfff7a0118ed
(cherry picked from commit 1d38fe185d
)
This commit is contained in:
parent
4a1abc8745
commit
5d93751994
|
@ -281,7 +281,7 @@ class SpecialGadgets extends SpecialPage {
|
|||
// Portion: Show required skins (optional)
|
||||
$requiredSkins = $gadget->getRequiredSkins();
|
||||
$skins = [];
|
||||
$validskins = $this->skinFactory->getSkinNames();
|
||||
$validskins = $this->skinFactory->getInstalledSkins();
|
||||
foreach ( $requiredSkins as $skinid ) {
|
||||
if ( isset( $validskins[$skinid] ) ) {
|
||||
$skins[] = $this->msg( "skinname-$skinid" )->plain();
|
||||
|
|
Loading…
Reference in a new issue