wikimedia/mediawiki-extensions-TwnMainPage

View on GitHub
extension.json

Summary

Maintainability
Test Coverage
{
    "name": "Translatewiki.net main page",
    "version": "2016-02-21",
    "author": [
        "Niklas Laxström",
        "Santhosh Thottingal"
    ],
    "descriptionmsg": "twnmp-desc",
    "license-name": "GPL-2.0-or-later",
    "type": "specialpage",
    "requires": {
        "MediaWiki": ">= 1.39.0",
        "extensions": {
            "Translate": "*"
        }
    },
    "AutoloadClasses": {
        "CachedStat": "includes/CachedStat.php",
        "CachedStatJob": "includes/CachedStatJob.php",
        "ProjectHandler": "includes/ProjectHandler.php",
        "ResourceLoaderProjectIconsModule": "includes/ResourceLoaderProjectIconsModule.php",
        "SpecialTwnMainPage": "includes/specials/SpecialTwnMainPage.php",
        "TwnMainPageHooks": "includes/TwnMainPageHooks.php",
        "TwnUserStats": "includes/TwnUserStats.php"
    },
    "AutoloadNamespaces": {
        "Translatewiki\\": "src/"
    },
    "ExtensionFunctions": [
        "TwnMainPageHooks::setup"
    ],
    "ExtensionMessagesFiles": {
        "TranslatewikiMagic": "i18n/magic.php"
    },
    "JobClasses": {
        "CachedStatJob": "CachedStatJob"
    },
    "config": {
        "MainPageImages": []
    },
    "MessagesDirs": {
        "MainPage": [
            "i18n"
        ]
    },
    "TranslationAliasesDirs": {
        "TwnMainPageAliases": "i18n/special-page-aliases"
    },
    "HookHandlers": {
        "location": {
            "class": "Translatewiki\\Location\\HookHandler",
            "services": [
                "DBLoadBalancerFactory",
                "TitleParser"
            ]
        }
    },
    "Hooks": {
        "ParserFirstCallInit": "location"
    },
    "ResourceModules": {
        "ext.translate.mainpage": {
            "scripts": "resources/js/ext.translate.mainpage.js",
            "dependencies": [
                "ext.translate.base",
                "ext.translate.statsbar",
                "ext.uls.interface",
                "ext.uls.pt",
                "mediawiki.Uri",
                "mediawiki.language",
                "mediawiki.util"
            ],
            "messages": [
                "percent",
                "twnmp-show-more-projects"
            ]
        },
        "ext.translate.mainpage.signup": {
            "scripts": "resources/js/ext.translate.mainpage.signup.js",
            "dependencies": [
                "ext.uls.mediawiki",
                "mediawiki.api"
            ],
            "messages": [
                "twnmp-signup-error-invalidemail",
                "twnmp-signup-error-invalidusername",
                "twnmp-signup-error-nonfreeusername",
                "twnmp-signup-error-other",
                "twnmp-signup-error-unknown"
            ]
        },
        "ext.translate.mainpage.styles": {
            "targets": [ "desktop", "mobile" ],
            "styles": "resources/css/ext.translate.mainpage.less"
        },
        "ext.translate.mainpage.icons": {
            "class": "ResourceLoaderProjectIconsModule"
        }
    },
    "ResourceFileModulePaths": {
        "localBasePath": "",
        "remoteExtPath": "TwnMainPage"
    },
    "SpecialPages": {
        "TwnMainPage": "SpecialTwnMainPage"
    },
    "manifest_version": 1
}