diff --git a/src/Command/ExtensionOutdatedCommand.php b/src/Command/ExtensionOutdatedCommand.php index b22fe17..12bf492 100644 --- a/src/Command/ExtensionOutdatedCommand.php +++ b/src/Command/ExtensionOutdatedCommand.php @@ -100,6 +100,13 @@ private function getAvailableExtensions(): ?array { $this->io->error( "Unable to decode JSON in $extJsonFilename" ); return null; } - return $extData; + + // Reindex by name, because only the name is available from the wiki and not the short name. + $extsAll = []; + foreach ( $extData as $ext ) { + $extsAll[$ext['name']] = $ext; + } + + return $extsAll; } }