mediawiki-extensions-Revisi.../extension.json
Cole White 35af63c202 migrate metrics to StatsFactory
Bug: T359244
Change-Id: I0c0a23535dd8b3114d18157f29ad0bbb2afb2a02
2024-11-05 21:01:18 +00:00

194 lines
5.3 KiB
JSON

{
"name": "RevisionSlider",
"author": [
"[https://meta.wikimedia.org/wiki/WMDE_Technical_Wishes Wikimedia Deutschland Technical Wishes Team]",
"Addshore",
"Leszek Manicki",
"Jakob Warkotsch",
"Tobias Gritschacher",
"Christoph Jauera"
],
"url": "https://www.mediawiki.org/wiki/Extension:RevisionSlider",
"namemsg": "revisionslider",
"descriptionmsg": "revisionslider-desc",
"license-name": "GPL-2.0-or-later",
"type": "other",
"manifest_version": 2,
"requires": {
"MediaWiki": ">= 1.43"
},
"ConfigRegistry": {
"revisionslider": "GlobalVarConfig::newInstance"
},
"MessagesDirs": {
"RevisionSlider": [
"i18n"
]
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\RevisionSlider\\": "src/"
},
"QUnitTestModule": {
"scripts": [
"QUnit.revisionSlider.testOrSkip.js",
"RevisionSlider.Revision.test.js",
"RevisionSlider.Pointer.test.js",
"RevisionSlider.PointerView.test.js",
"RevisionSlider.Slider.test.js",
"RevisionSlider.SliderView.test.js",
"RevisionSlider.RevisionList.test.js",
"RevisionSlider.RevisionListView.test.js",
"RevisionSlider.DiffPage.test.js",
"RevisionSlider.HelpDialog.test.js"
],
"dependencies": [
"ext.RevisionSlider.Slider",
"jquery.ui",
"oojs-ui"
],
"localBasePath": "tests/qunit",
"remoteExtPath": "RevisionSlider/tests/qunit"
},
"ResourceModules": {
"ext.RevisionSlider.lazyCss": {
"styles": [
"modules/ext.RevisionSlider.lazy.less"
]
},
"ext.RevisionSlider.lazyJs": {
"packageFiles": [
"modules/ext.RevisionSlider.lazy.js"
],
"dependencies": [
"oojs-ui.styles.icons-movement",
"ext.RevisionSlider.Settings"
]
},
"ext.RevisionSlider.init": {
"packageFiles": [
"modules/ext.RevisionSlider.init.js"
],
"styles": [
"modules/ext.RevisionSlider.less"
],
"dependencies": [
"moment",
"oojs-ui",
"oojs-ui.styles.icons-moderation",
"oojs-ui.styles.icons-movement",
"oojs-ui.styles.indicators",
"ext.RevisionSlider.Settings",
"ext.RevisionSlider.Slider",
"mediawiki.util"
],
"messages": [
"revisionslider-label-username",
"revisionslider-show-help-tooltip",
"revisionslider-loading-failed",
"revisionslider-toggle-title-expand",
"revisionslider-toggle-title-collapse",
"revisionslider-turn-on-auto-expand-title",
"revisionslider-turn-off-auto-expand-title"
]
},
"ext.RevisionSlider.Settings": {
"packageFiles": [
"modules/ext.RevisionSlider.Settings.js"
],
"dependencies": [
"mediawiki.api",
"mediawiki.user",
"mediawiki.storage",
"mediawiki.cookie"
]
},
"ext.RevisionSlider.Slider": {
"packageFiles": [
"modules/ext.RevisionSlider.Slider.js",
"modules/ext.RevisionSlider.Api.js",
"modules/ext.RevisionSlider.DiffPage.js",
"modules/ext.RevisionSlider.HelpButtonView.js",
"modules/ext.RevisionSlider.HelpDialog.js",
"modules/ext.RevisionSlider.Pointer.js",
"modules/ext.RevisionSlider.PointerLine.js",
"modules/ext.RevisionSlider.PointerView.js",
"modules/ext.RevisionSlider.SliderArrowView.js",
"modules/ext.RevisionSlider.SliderView.js",
"modules/ext.RevisionSlider.util.js",
"modules/ext.RevisionSlider.RevisionList.js",
"modules/ext.RevisionSlider.Revision.js",
"modules/ext.RevisionSlider.RevisionListView.js"
],
"dependencies": [
"ext.RevisionSlider.dialogImages",
"jquery.ui",
"mediawiki.language",
"mediawiki.jqueryMsg",
"mediawiki.Uri",
"mediawiki.util",
"moment",
"oojs-ui",
"oojs-ui.styles.icons-interactions",
"oojs-ui.styles.icons-movement"
],
"messages": [
"colon-separator",
"revisionslider-arrow-tooltip-newer",
"revisionslider-arrow-tooltip-older",
"revisionslider-change-size",
"revisionslider-close-dialog",
"revisionslider-help-dialog-slide1",
"revisionslider-help-dialog-slide2",
"revisionslider-help-dialog-slide3a",
"revisionslider-help-dialog-slide4",
"revisionslider-label-change-size",
"revisionslider-label-comment",
"revisionslider-label-date",
"revisionslider-label-page-size",
"revisionslider-label-username",
"revisionslider-minoredit",
"revisionslider-next-dialog",
"revisionslider-page-size",
"revisionslider-previous-dialog",
"revisionslider-tutorial"
]
},
"ext.RevisionSlider.dialogImages": {
"class": "MediaWiki\\ResourceLoader\\ImageModule",
"selector": ".mw-revslider-help-dialog-slide-{name}",
"images": {
"1": {
"file": {
"ltr": "resources/ext.RevisionSlider.helpDialog/slide1-ltr.svg",
"rtl": "resources/ext.RevisionSlider.helpDialog/slide1-rtl.svg"
}
},
"2": "resources/ext.RevisionSlider.helpDialog/slide2.svg",
"3a": "resources/ext.RevisionSlider.helpDialog/slide3a.svg",
"4a": "resources/ext.RevisionSlider.helpDialog/slide4a.svg"
}
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "RevisionSlider"
},
"Hooks": {
"DifferenceEngineViewHeader": "RevisionSliderHooks",
"GetPreferences": "RevisionSliderHooks"
},
"HookHandlers": {
"RevisionSliderHooks": {
"class": "MediaWiki\\Extension\\RevisionSlider\\RevisionSliderHooks",
"services": [
"ConfigFactory",
"UserOptionsLookup",
"StatsFactory"
]
}
},
"DefaultUserOptions": {
"revisionslider-disable": 0
}
}