mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-11-13 18:26:56 +00:00
5b5a0b288f
Changes: * Add the RelatedArticlesShowReadMore feature flag, which is disabled by default * Only consider adding the Read More bootstrap module to the output when the feature is enabled Change-Id: I60fc38115257c9a5dbf04b51dbec7f091574d8f6
109 lines
2.4 KiB
JSON
109 lines
2.4 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"
|
|
]
|
|
},
|
|
"MessagesDirs": {
|
|
"RelatedArticles": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"manifest_version": 1,
|
|
"ResourceModules": {
|
|
"ext.relatedArticles.readMore": {
|
|
"scripts": [
|
|
"resources/ext.relatedArticles.readMore/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"
|
|
],
|
|
"targets": [
|
|
"mobile",
|
|
"desktop"
|
|
]
|
|
},
|
|
"ext.relatedArticles.readMore.minerva": {
|
|
"scripts": [
|
|
"resources/ext.relatedArticles.readMore.minerva/index.js"
|
|
],
|
|
"styles": [
|
|
"resources/ext.relatedArticles.readMore.minerva/readMore.less"
|
|
],
|
|
"messages": [
|
|
"relatedarticles-read-more-heading"
|
|
],
|
|
"targets": [
|
|
"mobile"
|
|
]
|
|
}
|
|
},
|
|
"config": {
|
|
"RelatedArticlesShowReadMore": false,
|
|
"RelatedArticlesUseCirrusSearch": false
|
|
},
|
|
"ConfigRegistry": {
|
|
"relatedarticles": "GlobalVarConfig::newInstance"
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "",
|
|
"remoteExtPath": "RelatedArticles"
|
|
}
|
|
}
|