wikimedia/mediawiki-extensions-Wikibase

View on GitHub
lib/includes/Modules/SitesModuleBase.php

Summary

Maintainability
A
1 hr
Test Coverage

Method computeSiteDetails has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function computeSiteDetails( MediaWikiSite $site, array $specialGroups, MessageLocalizer $localizer ): array {
        $languageNameLookup = $this->languageNameLookupFactory->getForAutonyms();

        // FIXME: quickfix to allow a custom site-name / handling for the site groups which are
        // special according to the specialSiteLinkGroups setting
Severity: Minor
Found in lib/includes/Modules/SitesModuleBase.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status