mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-11-28 02:00:17 +00:00
3995b7a8ef
* Schema is located at https://meta.wikimedia.org/wiki/Schema:RelatedArticles. * Track 'ready', 'seen', and 'clicked' events. * The sampling rate can be set using the RelatedArticlesLoggingSamplingRate variable. If the variable is not set, sampling will be disabled. The default sampling rate is 0.01. * Events are tracked using a unique user session token. Dependency: Iea00d534371353c3ae5c06c74a08aa10cb60047b Bug: T114303 Change-Id: I649d0817cbd10ad734989da548d20ad33e7f7360
105 lines
2.5 KiB
JSON
105 lines
2.5 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": {
|
|
"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"
|
|
]
|
|
}
|
|
},
|
|
"config": {
|
|
"RelatedArticlesShowReadMore": false,
|
|
"RelatedArticlesUseCirrusSearch": false,
|
|
"RelatedArticlesLoggingSamplingRate": 0.01
|
|
},
|
|
"ConfigRegistry": {
|
|
"RelatedArticles": "GlobalVarConfig::newInstance"
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "",
|
|
"remoteExtPath": "RelatedArticles"
|
|
}
|
|
}
|