mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-11-14 19:31:34 +00:00
a4c4f6700f
The ParserOutput object is already reset when state is reset, so there's no point in setting or unsetting properties on it. And since the only unit test was deleted, remove the hook for that too. Change-Id: Idf12365e8c4b14e527d923edc1086bdaf349df32
110 lines
2.7 KiB
JSON
110 lines
2.7 KiB
JSON
{
|
|
"name": "RelatedArticles",
|
|
"version": "2.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": "betafeatures",
|
|
"AutoloadClasses": {
|
|
"RelatedArticles\\Hooks": "includes/Hooks.php",
|
|
"RelatedArticles\\SidebarHooks": "includes/SidebarHooks.php",
|
|
"RelatedArticles\\FooterHooks": "includes/FooterHooks.php"
|
|
},
|
|
"ExtensionMessagesFiles": {
|
|
"RelatedArticlesMagic": "RelatedArticles.i18n.magic.php"
|
|
},
|
|
"Hooks": {
|
|
"ResourceLoaderTestModules": [
|
|
"RelatedArticles\\Hooks::onResourceLoaderTestModules"
|
|
],
|
|
|
|
"ParserFirstCallInit": [
|
|
"RelatedArticles\\Hooks::onParserFirstCallInit"
|
|
],
|
|
"OutputPageParserOutput": [
|
|
"RelatedArticles\\Hooks::onOutputPageParserOutput"
|
|
],
|
|
|
|
"@SkinBuildSidebar": [
|
|
"RelatedArticles\\SidebarHooks::onSkinBuildSidebar"
|
|
],
|
|
"SkinTemplateToolboxEnd": [
|
|
"RelatedArticles\\SidebarHooks::onSkinTemplateToolboxEnd"
|
|
],
|
|
|
|
"GetBetaFeaturePreferences": [
|
|
"RelatedArticles\\FooterHooks::onGetBetaFeaturePreferences"
|
|
],
|
|
"MakeGlobalVariablesScript": [
|
|
"RelatedArticles\\FooterHooks::onMakeGlobalVariablesScript"
|
|
],
|
|
"BeforePageDisplay": [
|
|
"RelatedArticles\\FooterHooks::onBeforePageDisplay"
|
|
],
|
|
"EventLoggingRegisterSchemas": [
|
|
"RelatedArticles\\FooterHooks::onEventLoggingRegisterSchemas"
|
|
],
|
|
"ResourceLoaderGetConfigVars": [
|
|
"RelatedArticles\\FooterHooks::onResourceLoaderGetConfigVars"
|
|
],
|
|
"ResourceLoaderRegisterModules": [
|
|
"RelatedArticles\\FooterHooks::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",
|
|
"mediawiki.Uri",
|
|
"ext.relatedArticles.readMore.gateway",
|
|
"jquery.throttle-debounce"
|
|
],
|
|
"targets": [
|
|
"mobile",
|
|
"desktop"
|
|
]
|
|
}
|
|
},
|
|
"config": {
|
|
"RelatedArticlesShowInSidebar": true,
|
|
"RelatedArticlesShowInFooter": false,
|
|
"RelatedArticlesUseCirrusSearch": false,
|
|
"RelatedArticlesOnlyUseCirrusSearch": false,
|
|
"RelatedArticlesLoggingSamplingRate": 0.01
|
|
},
|
|
"ConfigRegistry": {
|
|
"RelatedArticles": "GlobalVarConfig::newInstance"
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "",
|
|
"remoteExtPath": "RelatedArticles"
|
|
}
|
|
}
|