/**
* Format package name.
*
* For package type mediawiki-extension, cut off a trailing '-extension' if present and transform
* to CamelCase keeping existing uppercase chars.
*
* For package type mediawiki-skin, cut off a trailing '-skin' if present.
*/
public function inflectPackageVars(array
$vars): array
{ if ($vars['type'
] === 'mediawiki-extension'
) { return $this->
inflectExtensionVars($vars);
} if ($vars['type'
] === 'mediawiki-skin'
) { return $this->
inflectSkinVars($vars);
} return $vars;
} /**
* @param array<string, string> $vars
* @return array<string, string>
*/