mediawiki-extensions-Relate.../extension.json
Baha 8cf9b60ab5 Make RelatedArticles soft-depend on Cards
RelatedArticles tries to load the 'ext.cards' module and if
it succeeds it continues with showing the related articles
on the page.

Dependency: I6661527175eb889cec4193b18fa18207f332b4fc
Bug: T117108
Change-Id: I33936a3e9cd5d1f0296e48fd1c2bba77fff4e466
2015-11-18 22:22:10 +05:00

106 lines
2.6 KiB
JSON

{
"name": "RelatedArticles",
"version": "1.1.0",
"author": [
"Roland Unger",
"Hans Musil",
"Matthias Mullie",
"Sam Smith"
],
"url": "https://www.mediawiki.org/wiki/Extension:RelatedArticles",
"descriptionmsg": "relatedarticles-desc",
"license-name": "GPL-2.0",
"type": "other",
"AutoloadClasses": {
"RelatedArticles\\Hooks": "includes/Hooks.php",
"RelatedArticles\\ReadMoreHooks": "includes/ReadMoreHooks.php"
},
"ExtensionMessagesFiles": {
"RelatedArticlesMagic": "RelatedArticles.i18n.magic.php"
},
"Hooks": {
"ResourceLoaderTestModules": [
"RelatedArticles\\ReadMoreHooks::onResourceLoaderTestModules"
],
"ParserFirstCallInit": [
"RelatedArticles\\Hooks::onParserFirstCallInit"
],
"ParserClearState": [
"RelatedArticles\\Hooks::onParserClearState"
],
"OutputPageParserOutput": [
"RelatedArticles\\Hooks::onOutputPageParserOutput"
],
"@SkinBuildSidebar": [
"RelatedArticles\\Hooks::onSkinBuildSidebar"
],
"SkinTemplateToolboxEnd": [
"RelatedArticles\\Hooks::onSkinTemplateToolboxEnd"
],
"UnitTestsList": [
"RelatedArticles\\Hooks::onUnitTestsList"
],
"MakeGlobalVariablesScript": [
"RelatedArticles\\ReadMoreHooks::onMakeGlobalVariablesScript"
],
"BeforePageDisplay": [
"RelatedArticles\\ReadMoreHooks::onBeforePageDisplay"
],
"EventLoggingRegisterSchemas": [
"RelatedArticles\\ReadMoreHooks::onEventLoggingRegisterSchemas"
],
"ResourceLoaderGetConfigVars": [
"RelatedArticles\\ReadMoreHooks::onResourceLoaderGetConfigVars"
],
"ResourceLoaderRegisterModules": [
"RelatedArticles\\ReadMoreHooks::onResourceLoaderRegisterModules"
]
},
"MessagesDirs": {
"RelatedArticles": [
"i18n"
]
},
"manifest_version": 1,
"ResourceModules": {
"ext.relatedArticles.readMore.gateway": {
"scripts": [
"resources/ext.relatedArticles.readMore.gateway/RelatedPagesGateway.js"
],
"dependencies": [
"oojs"
],
"targets": [
"mobile",
"desktop"
]
},
"ext.relatedArticles.readMore.bootstrap": {
"scripts": [
"resources/ext.relatedArticles.readMore.bootstrap/index.js"
],
"dependencies": [
"mediawiki.api",
"ext.relatedArticles.readMore.gateway"
],
"targets": [
"mobile",
"desktop"
]
}
},
"config": {
"RelatedArticlesShowReadMore": false,
"RelatedArticlesUseCirrusSearch": false,
"RelatedArticlesOnlyUseCirrusSearch": false,
"RelatedArticlesLoggingSamplingRate": 0.01
},
"ConfigRegistry": {
"RelatedArticles": "GlobalVarConfig::newInstance"
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "RelatedArticles"
}
}