wikimedia/mediawiki-extensions-Wikibase

View on GitHub
extension-client.json

Summary

Maintainability
Test Coverage
{
    "name": "WikibaseClient",
    "type": "wikibase",
    "author": [
        "The Wikidata team"
    ],
    "url": "https://www.mediawiki.org/wiki/Extension:Wikibase_Client",
    "descriptionmsg": "wikibase-client-desc",
    "license-name": "GPL-2.0-or-later",
    "requires": {
        "MediaWiki": ">= 1.43"
    },
    "APIListModules": {
        "wblistentityusage": {
            "class": "\\Wikibase\\Client\\Api\\ApiListEntityUsage",
            "services": [
                "WikibaseClient.RepoLinker"
            ]
        }
    },
    "APIMetaModules": {
        "wikibase": {
            "class": "\\Wikibase\\Client\\Api\\ApiClientInfo",
            "services": [
                "WikibaseClient.Settings"
            ]
        }
    },
    "APIPropModules": {
        "pageterms": {
            "class": "\\Wikibase\\Client\\Api\\PageTerms",
            "services": [
                "WikibaseClient.AliasTermBuffer",
                "WikibaseClient.EntityIdLookup",
                "WikibaseClient.TermBuffer",
                "WikibaseClient.TermsLanguages"
            ]
        },
        "description": {
            "class": "\\Wikibase\\Client\\Api\\Description",
            "services": [
                "WikibaseClient.DescriptionLookup",
                "WikibaseClient.Settings"
            ]
        },
        "wbentityusage": {
            "class": "\\Wikibase\\Client\\Api\\ApiPropsEntityUsage",
            "services": [
                "WikibaseClient.RepoLinker"
            ]
        }
    },
    "ExtensionFunctions": [
        "\\Wikibase\\Client\\Hooks\\ExtensionLoadHandler::onExtensionLoad"
    ],
    "ServiceWiringFiles": [
        "client/WikibaseClient.ServiceWiring.php"
    ],
    "QUnitTestModule": {
        "remoteExtPath": "Wikibase/lib/tests/qunit",
        "localBasePath": "lib/tests/qunit",
        "scripts": [
            "wikibase.Site.tests.js"
        ],
        "dependencies": [
            "wikibase.Site"
        ]
    },
    "HookHandlers": {
        "BeforePageDisplay": {
            "class": "\\Wikibase\\Client\\Hooks\\BeforePageDisplayHandler",
            "factory": "\\Wikibase\\Client\\Hooks\\BeforePageDisplayHandler::factory",
            "services": [
                "WikibaseClient.MobileSite",
                "WikibaseClient.NamespaceChecker",
                "WikibaseClient.Settings"
            ]
        },
        "ChangesListLines": {
            "class": "\\Wikibase\\Client\\Hooks\\ChangesListLinesHandler",
            "factory": "\\Wikibase\\Client\\Hooks\\ChangesListLinesHandler::factory",
            "services": [
                "ContentLanguage",
                "UserNameUtils",
                "WikibaseClient.EntityIdParser",
                "WikibaseClient.RepoLinker",
                "WikibaseClient.Settings"
            ]
        },
        "ChangesListSpecialPage": {
            "class": "\\Wikibase\\Client\\Hooks\\ChangesListSpecialPageHookHandler",
            "factory": "\\Wikibase\\Client\\Hooks\\ChangesListSpecialPageHookHandler::factory",
            "services": [
                "UserOptionsLookup",
                "WikibaseClient.ClientDomainDbFactory",
                "WikibaseClient.MobileSite",
                "WikibaseClient.Settings"
            ]
        },
        "ParserOutputUpdate": {
            "class": "\\Wikibase\\Client\\Hooks\\ParserOutputUpdateHookHandler",
            "services": [
                "WikibaseClient.LangLinkHandlerFactory",
                "WikibaseClient.NamespaceChecker",
                "WikibaseClient.ParserOutputDataUpdater",
                "WikibaseClient.UsageAccumulatorFactory"
            ]
        },
        "DataUpdate": {
            "class": "\\Wikibase\\Client\\Hooks\\DataUpdateHookHandler",
            "factory": "\\Wikibase\\Client\\Hooks\\DataUpdateHookHandler::factory",
            "services": [
                "JobQueueGroup",
                "WikibaseClient.Logger",
                "WikibaseClient.Store",
                "WikibaseClient.UsageAccumulatorFactory"
            ]
        },
        "DeletePageNoticeCreator": {
            "class": "\\Wikibase\\Client\\Hooks\\DeletePageNoticeCreator",
            "factory": "\\Wikibase\\Client\\Hooks\\DeletePageNoticeCreator::factory",
            "services": [
                "WikibaseClient.RepoLinker",
                "WikibaseClient.Settings",
                "WikibaseClient.Store"
            ]
        },
        "LibHooks": {
            "class": "\\Wikibase\\Lib\\LibHooks"
        },
        "DataBridgeResourceLoaderModules": {
            "class": "\\Wikibase\\Client\\DataBridge\\DataBridgeResourceLoaderModules"
        },
        "DescriptionProvider": {
            "class": "\\Wikibase\\Client\\Hooks\\DescriptionProviderHookHandler",
            "factory": "\\Wikibase\\Client\\Hooks\\DescriptionProviderHookHandler::factory",
            "services": [
                "WikibaseClient.DescriptionLookup",
                "WikibaseClient.Settings"
            ]
        },
        "EchoSetup": {
            "class": "\\Wikibase\\Client\\Hooks\\EchoSetupHookHandler",
            "factory": "\\Wikibase\\Client\\Hooks\\EchoSetupHookHandler::factory",
            "services": [
                "WikibaseClient.Settings"
            ]
        },
        "EditAction": {
            "class": "\\Wikibase\\Client\\Hooks\\EditActionHookHandler",
            "factory": "\\Wikibase\\Client\\Hooks\\EditActionHookHandler::factory",
            "services": [
                "WikibaseClient.FallbackLabelDescriptionLookupFactory",
                "WikibaseClient.MobileSite",
                "WikibaseClient.RepoLinker",
                "WikibaseClient.Store"
            ]
        },
        "InfoAction": {
            "class": "\\Wikibase\\Client\\Hooks\\InfoActionHookHandler",
            "factory": "\\Wikibase\\Client\\Hooks\\InfoActionHookHandler::factory",
            "services": [
                "WikibaseClient.DescriptionLookup",
                "WikibaseClient.FallbackLabelDescriptionLookupFactory",
                "WikibaseClient.NamespaceChecker",
                "WikibaseClient.RepoLinker",
                "WikibaseClient.Settings",
                "WikibaseClient.Store"
            ]
        },
        "LoadExtensionSchemaUpdates": {
            "class": "\\Wikibase\\Client\\Hooks\\LoadExtensionSchemaUpdatesHookHandler"
        },
        "Magic": {
            "class": "\\Wikibase\\Client\\Hooks\\MagicWordHookHandler",
            "services": [
                "WikibaseClient.Settings"
            ]
        },
        "MovePageNotice": {
            "class": "\\Wikibase\\Client\\Hooks\\MovePageNotice",
            "factory": "\\Wikibase\\Client\\Hooks\\MovePageNotice::factory",
            "services": [
                "WikibaseClient.MobileSite",
                "WikibaseClient.RepoLinker",
                "WikibaseClient.Settings",
                "WikibaseClient.Store"
            ]
        },
        "ParserFunctionRegistrant": {
            "class": "\\Wikibase\\Client\\Hooks\\ParserFunctionRegistrant",
            "factory": "\\Wikibase\\Client\\Hooks\\ParserFunctionRegistrant::factory",
            "services": [
                "WikibaseClient.Settings"
            ]
        },
        "Parser": {
            "class": "\\Wikibase\\Client\\Hooks\\ParserHookHandler",
            "factory": "\\Wikibase\\Client\\Hooks\\ParserHookHandler::factory",
            "services": [
                "WikibaseClient.RestrictedEntityLookup",
                "WikibaseClient.Settings"
            ]
        },
        "Sidebar": {
            "class": "\\Wikibase\\Client\\Hooks\\SidebarHookHandler",
            "services": [
                "WikibaseClient.LanguageLinkBadgeDisplay",
                "WikibaseClient.NamespaceChecker",
                "WikibaseClient.Settings"
            ]
        },
        "SkinAfterPortlet": {
            "class": "\\Wikibase\\Client\\Hooks\\SkinAfterPortletHandler",
            "factory": "\\Wikibase\\Client\\Hooks\\SkinAfterPortletHandler::factory",
            "services": [
                "WikibaseClient.EntityIdParser",
                "WikibaseClient.LangLinkSiteGroup",
                "WikibaseClient.NamespaceChecker",
                "WikibaseClient.RepoLinker",
                "WikibaseClient.Settings"
            ]
        },
        "SqlUsageTrackerSchemaUpdater": {
            "class": "\\Wikibase\\Client\\Usage\\Sql\\SqlUsageTrackerSchemaUpdater"
        },
        "Trivial": {
            "class": "\\Wikibase\\Client\\Hooks\\TrivialHookHandler"
        },
        "UpdateRepo": {
            "class": "\\Wikibase\\Client\\Hooks\\UpdateRepoHookHandler",
            "factory": "\\Wikibase\\Client\\Hooks\\UpdateRepoHookHandler::factory",
            "services": [
                "JobQueueGroupFactory",
                "WikibaseClient.ClientDomainDbFactory",
                "WikibaseClient.ItemAndPropertySource",
                "WikibaseClient.NamespaceChecker",
                "WikibaseClient.Settings",
                "WikibaseClient.Store"
            ]
        },
        "LoginFormValidErrorMessages": {
            "class": "Wikibase\\Client\\Hooks\\LoginFormValidErrorMessagesHandler"
        }
    },
    "Hooks": {
        "AbortEmailNotification": "Trivial",
        "ArticleDeleteAfterSuccess": "DeletePageNoticeCreator",
        "ArticleDeleteComplete": [
            "UpdateRepo",
            "DataUpdate"
        ],
        "BeforeCreateEchoEvent": [
            "EchoSetup"
        ],
        "BeforePageDisplay": [
            "BeforePageDisplay",
            "Trivial"
        ],
        "ContentAlterParserOutput": "ParserOutputUpdate",
        "ChangesListSpecialPageQuery": "ChangesListSpecialPage",
        "CirrusSearchAddQueryFeatures": "\\Wikibase\\Client\\ClientHooks::onCirrusSearchAddQueryFeatures",
        "EchoGetBundleRules": "\\Wikibase\\Client\\Hooks\\EchoNotificationsHandlers::onEchoGetBundleRules",
        "EditPage::showStandardInputs:options": "EditAction",
        "EnhancedChangesListModifyBlockLineData": "ChangesListLines",
        "EnhancedChangesListModifyLineData": "ChangesListLines",
        "ExtensionTypes": "LibHooks",
        "FormatAutocomments": "\\Wikibase\\Client\\ClientHooks::onFormat",
        "GetDoubleUnderscoreIDs": "ParserFunctionRegistrant",
        "GetPreferences": "\\Wikibase\\Client\\ClientHooks::onGetPreferences",
        "InfoAction": "InfoAction",
        "LinksUpdateComplete": "DataUpdate",
        "LoadExtensionSchemaUpdates": [
            "LoadExtensionSchemaUpdates",
            "SqlUsageTrackerSchemaUpdater"
        ],
        "LocalUserCreated": "Wikibase\\Client\\Hooks\\EchoNotificationsHandlers::onLocalUserCreated",
        "LoginFormValidErrorMessages": "LoginFormValidErrorMessages",
        "MagicWordwgVariableIDs": "Magic",
        "MaintenanceShellStart": "Trivial",
        "OldChangesListRecentChangesLine": "ChangesListLines",
        "OutputPageParserOutput": "Sidebar",
        "ParserCacheSaveComplete": "DataUpdate",
        "ParserClearState": "Parser",
        "ParserFirstCallInit": "ParserFunctionRegistrant",
        "ParserGetVariableValueSwitch": "Magic",
        "ParserLimitReportPrepare": "Parser",
        "ResourceLoaderJqueryMsgModuleMagicWords": "Magic",
        "ResourceLoaderRegisterModules": [
            "LibHooks",
            "DataBridgeResourceLoaderModules"
        ],
        "ScribuntoExternalLibraries": "\\Wikibase\\Client\\ClientHooks::onScribuntoExternalLibraries",
        "SearchDataForIndex": {
            "handler": "Trivial",
            "deprecated": true
        },
        "SearchDataForIndex2": "Trivial",
        "SearchIndexFields": "Trivial",
        "SearchResultProvideDescription": "DescriptionProvider",
        "SidebarBeforeOutput": "Sidebar",
        "SkinAfterBottomScripts": "\\Wikibase\\Client\\ClientHooks::onSkinAfterBottomScripts",
        "SkinAfterPortlet": "SkinAfterPortlet",
        "SkinTemplateGetLanguageLink": "Sidebar",
        "SpecialMovepageAfterMove": "MovePageNotice",
        "PageMoveComplete": "UpdateRepo",
        "UnitTestsList": [
            "Trivial",
            "LibHooks"
        ],
        "wgQueryPages": "Trivial",
        "WikibaseContentLanguages": "\\Wikibase\\Client\\ClientHooks::onWikibaseContentLanguages",
        "WikibaseHandleChange": "Wikibase\\Client\\Hooks\\EchoNotificationsHandlers::onWikibaseHandleChange"
    },
    "TrackingCategories": [
        "unresolved-property-category",
        "connected-redirect-category",
        "exceeded-entity-limit-category"
    ],
    "AutoloadNamespaces": {
        "Wikibase\\Client\\": "client/includes/",
        "Wikibase\\Lib\\": "lib/includes/",
        "Wikibase\\Lib\\FederatedProperties\\": "lib/packages/wikibase/federated-properties/src/",
        "Wikibase\\Lib\\Changes\\": "lib/packages/wikibase/changes/src/",
        "Wikibase\\DataModel\\": "lib/packages/wikibase/data-model/src/",
        "Wikibase\\DataModel\\Deserializers\\": "lib/packages/wikibase/data-model-serialization/src/Deserializers/",
        "Wikibase\\DataModel\\Serializers\\": "lib/packages/wikibase/data-model-serialization/src/Serializers/",
        "Wikibase\\DataModel\\Services\\": "lib/packages/wikibase/data-model-services/src/",
        "Wikibase\\InternalSerialization\\": "lib/packages/wikibase/internal-serialization/src/",
        "Wikibase\\DataAccess\\": "data-access/src/"
    },
    "TestAutoloadNamespaces": {
        "Wikibase\\Client\\Tests\\Integration\\": "client/tests/phpunit/integration/includes/",
        "Wikibase\\Client\\Tests\\Unit\\": "client/tests/phpunit/unit/includes/",
        "Wikibase\\Client\\Tests\\Mocks\\": "client/tests/phpunit/mocks/",
        "Wikibase\\Lib\\Tests\\": "lib/tests/phpunit/",
        "Wikibase\\DataModel\\Fixtures\\": "lib/packages/wikibase/data-model/tests/fixtures/",
        "Tests\\Wikibase\\DataModel\\": "lib/packages/wikibase/data-model-serialization/tests/unit/",
        "Wikibase\\DataModel\\Services\\Fixtures\\": "lib/packages/wikibase/data-model-services/tests/fixtures/",
        "Wikibase\\DataModel\\Services\\Tests\\": "lib/packages/wikibase/data-model-services/tests/unit/",
        "Wikibase\\DataModel\\Tests\\": "lib/packages/wikibase/data-model/tests/unit/",
        "Wikibase\\Lib\\Tests\\FederatedProperties\\": "lib/packages/wikibase/federated-properties/tests/",
        "Wikibase\\Lib\\Tests\\Changes\\": "lib/packages/wikibase/changes/tests/",
        "Tests\\Integration\\Wikibase\\InternalSerialization\\": "lib/packages/wikibase/internal-serialization/tests/integration/",
        "Wikibase\\DataAccess\\Tests\\": "data-access/tests/phpunit/"
    },
    "JobClasses": {
        "wikibase-addUsagesForPage": "\\Wikibase\\Client\\Store\\AddUsagesForPageJob",
        "EntityChangeNotification": "\\Wikibase\\Client\\EntityChangeNotificationJob::newFromGlobalState",
        "ChangeVisibilityNotification": "\\Wikibase\\Client\\ChangeModification\\ChangeVisibilityNotificationJob::newFromGlobalState",
        "ChangeDeletionNotification": "\\Wikibase\\Client\\ChangeModification\\ChangeDeletionNotificationJob::newFromGlobalState",
        "wikibase-InjectRCRecords": "\\Wikibase\\Client\\Changes\\InjectRCRecordsJob::newFromGlobalState"
    },
    "RecentChangesFlags": {
        "wikibase-edit": {
            "letter": "wikibase-rc-wikibase-edit-letter",
            "title": "wikibase-rc-wikibase-edit-title",
            "legend": "wikibase-rc-wikibase-edit-legend",
            "grouping": "all"
        }
    },
    "ResourceFileModulePaths": {
        "localBasePath": "client/resources",
        "remoteExtPath": "Wikibase/client/resources"
    },
    "ResourceModules": {
        "wikibase.client.init": {
            "skinStyles": {
                "modern": "wikibase.client.css",
                "monobook": "wikibase.client.css",
                "timeless": "wikibase.client.css",
                "vector": [
                    "wikibase.client.css",
                    "wikibase.client.vector.css"
                ]
            }
        },
        "wikibase.client.miscStyles": {
            "styles": [
                "wikibase.client.page-move.css",
                "wikibase.client.changeslist.css"
            ]
        },
        "wikibase.client.vector-2022": {
            "skinScripts": {
                "vector-2022": "wikibase.client.vector-2022.js"
            },
            "messages": [
                "wikibase-editlinkstitle"
            ]
        },
        "wikibase.client.linkitem.init": {
            "packageFiles": [
                "wikibase.client.linkitem.init.js",
                {
                    "name": "config.json",
                    "callback": "Wikibase\\Client\\ClientHooks::getLinkitemConfiguration"
                }
            ],
            "messages": [
                "unknown-error"
            ],
            "dependencies": [
                "jquery.spinner"
            ]
        },
        "jquery.wikibase.linkitem": {
            "packageFiles": [
                "client/resources/jquery.wikibase/jquery.wikibase.linkitem.js",
                "client/resources/wikibase.client.PageConnector.js",
                "client/resources/wikibase.client.getMwApiForRepo.js",
                "client/resources/wikibase.sites.js",
                "client/resources/jquery.wikibase/jquery.wikibase.siteselector.js",
                "client/resources/jquery.wikibase/jquery.wikibase.wbtooltip.js",
                "client/resources/jquery.wikibase/jquery.tipsy/jquery.tipsy.js",
                "client/resources/wikibase.buildErrorOutput.js",
                "client/resources/util.highlightSubstring.js",
                "client/resources/jquery.ui/jquery.ui.suggester.js",
                "client/resources/jquery.ui/jquery.ui.ooMenu.js",
                "client/resources/jquery.util.getscrollbarwidth.js",
                "client/resources/util.inherit.js",
                "client/resources/jquery.event.special.eachchange.js",
                "lib/resources/wikibase-api/src/namespace.js",
                "lib/resources/wikibase-api/src/RepoApi.js",
                "lib/resources/wikibase-api/src/getLocationAgnosticMwApi.js",
                "lib/resources/wikibase-api/src/RepoApiError.js"
            ],
            "styles": [
                "client/resources/jquery.wikibase/jquery.wikibase.linkitem.css",
                "client/resources/jquery.wikibase/jquery.wikibase.wbtooltip.css",
                "client/resources/jquery.wikibase/jquery.tipsy/jquery.tipsy.css",
                "client/resources/jquery.ui/jquery.ui.suggester.css",
                "client/resources/jquery.ui/jquery.ui.ooMenu.css"
            ],
            "dependencies": [
                "jquery.spinner",
                "jquery.ui",
                "mediawiki.api",
                "mediawiki.user",
                "mediawiki.util",
                "mediawiki.jqueryMsg",
                "mw.config.values.wbRepo",
                "mw.config.values.wbSiteDetails",
                "wikibase.Site",
                "mediawiki.ForeignApi"
            ],
            "messages": [
                "wikibase-error-unexpected",
                "wikibase-linkitem-alreadylinked",
                "wikibase-linkitem-title",
                "wikibase-linkitem-linkpage",
                "wikibase-linkitem-selectlink",
                "wikibase-linkitem-input-site",
                "wikibase-linkitem-input-page",
                "wikibase-linkitem-confirmitem-text",
                "wikibase-linkitem-confirmitem-button",
                "wikibase-linkitem-success-link",
                "wikibase-linkitem-close",
                "wikibase-linkitem-not-loggedin-title",
                "wikibase-linkitem-not-loggedin",
                "wikibase-linkitem-failure",
                "wikibase-linkitem-failed-modify",
                "wikibase-replicationnote",
                "wikibase-sitelinks-sitename-columnheading",
                "wikibase-sitelinks-link-columnheading",
                "wikibase-error-unexpected",
                "wikibase-error-unknown",
                "wikibase-error-save-generic",
                "wikibase-error-remove-generic",
                "wikibase-error-save-timeout",
                "wikibase-error-remove-timeout",
                "wikibase-error-ui-no-external-page",
                "wikibase-error-ui-edit-conflict"
            ],
            "localBasePath": "",
            "remoteExtPath": "Wikibase/"
        },
        "wikibase.client.action.edit.collapsibleFooter": {
            "scripts": "wikibase.client.action.edit.collapsibleFooter.js",
            "dependencies": [
                "jquery.makeCollapsible",
                "mediawiki.storage"
            ]
        },
        "wikibase.sidebar.tracking": {
            "scripts": "wikibase.sidebar.tracking.js"
        }
    },
    "SpecialPages": {
        "UnconnectedPages": {
            "class": "Wikibase\\Client\\Specials\\SpecialUnconnectedPages",
            "services": [
                "ConnectionProvider",
                "NamespaceInfo",
                "TitleFactory",
                "WikibaseClient.ClientDomainDbFactory",
                "WikibaseClient.NamespaceChecker"
            ]
        },
        "PagesWithBadges": {
            "class": "Wikibase\\Client\\Specials\\SpecialPagesWithBadges",
            "factory": "Wikibase\\Client\\Specials\\SpecialPagesWithBadges::factory",
            "services": [
                "WikibaseClient.FallbackLabelDescriptionLookupFactory",
                "WikibaseClient.Settings"
            ]
        },
        "EntityUsage": {
            "class": "Wikibase\\Client\\Specials\\SpecialEntityUsage",
            "services": [
                "LanguageConverterFactory",
                "WikibaseClient.ClientDomainDbFactory",
                "WikibaseClient.EntityIdParser"
            ]
        }
    },
    "MessagesDirs": {
        "wikibaseclient": "client/i18n",
        "wikibaseclientapi": "client/i18n/api",
        "WikibaseLib": "lib/i18n"
    },
    "ExtensionMessagesFiles": {
        "Wikibaseclientalias": "client/WikibaseClient.i18n.alias.php",
        "wikibaseclientmagic": "client/WikibaseClient.i18n.magic.php"
    },
    "DefaultUserOptions": {
        "rcshowwikidata": 0,
        "wlshowwikibase": 0
    },
    "callback": "\\Wikibase\\Lib\\LibHooks::onRegistration",
    "load_composer_autoloader": true,
    "manifest_version": 2
}