mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-11-24 08:14:21 +00:00
95ea0b0ef7
Hide the related articles from the sidebar if ReadMore is enabled. Otherwise leave as is because it's used in WikiVoyage. Bug: T117444 Change-Id: I3879ae1e53de301b0d3f5f2c066f8e8de7c1c223
109 lines
2.7 KiB
JSON
109 lines
2.7 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"
|
|
],
|
|
"GetBetaFeaturePreferences": [
|
|
"RelatedArticles\\Hooks::onGetBetaFeaturePreferences"
|
|
],
|
|
"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"
|
|
}
|
|
}
|