mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-14 19:24:42 +00:00
d4dd4c3576
This adds labels for user, comment and article size to the revision tooltip as well as the respective messages needed for the labels. Bug: T135740 Change-Id: Ia65fb0bbbe3eb2405665d784bad157ea059e2d6e
151 lines
3.6 KiB
JSON
Executable file
151 lines
3.6 KiB
JSON
Executable file
{
|
|
"name": "RevisionSlider",
|
|
"version": "0.0.0",
|
|
"author": [
|
|
"WMDE"
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:RevisionSlider",
|
|
"namemsg": "revisionslider",
|
|
"descriptionmsg": "revisionslider-desc",
|
|
"license-name": "GPL-2.0+",
|
|
"type": "other",
|
|
"manifest_version": 1,
|
|
"MessagesDirs": {
|
|
"RevisionSlider": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"AutoloadClasses": {
|
|
"RevisionSliderHooks": "RevisionSlider.hooks.php"
|
|
},
|
|
"ResourceModules": {
|
|
"ext.RevisionSlider.init": {
|
|
"scripts": [
|
|
"modules/ext.RevisionSlider.init.js"
|
|
],
|
|
"styles": [
|
|
"modules/ext.RevisionSlider.css"
|
|
],
|
|
"dependencies": [
|
|
"mediawiki.jqueryMsg",
|
|
"oojs-ui.styles.icons-movement",
|
|
"ext.RevisionSlider.Slider",
|
|
"ext.RevisionSlider.Revision",
|
|
"ext.RevisionSlider.RevisionList",
|
|
"ext.RevisionSlider.fetchRevisions",
|
|
"ext.RevisionSlider.pointers.lower",
|
|
"ext.RevisionSlider.pointers.upper"
|
|
],
|
|
"messages": [
|
|
"revisionslider-loading-out-of-range",
|
|
"revisionslider-loading-failed"
|
|
],
|
|
"position": "top"
|
|
},
|
|
"ext.RevisionSlider.fetchRevisions": {
|
|
"scripts": [
|
|
"modules/ext.RevisionSlider.fetchRevisions.js"
|
|
]
|
|
},
|
|
"ext.RevisionSlider.Revision": {
|
|
"scripts": [
|
|
"modules/ext.RevisionSlider.Revision.js"
|
|
]
|
|
},
|
|
"ext.RevisionSlider.Pointer": {
|
|
"scripts": [
|
|
"modules/ext.RevisionSlider.Pointer.js"
|
|
],
|
|
"dependencies": [
|
|
"ext.RevisionSlider.PointerView"
|
|
]
|
|
},
|
|
"ext.RevisionSlider.PointerView": {
|
|
"scripts": [
|
|
"modules/ext.RevisionSlider.PointerView.js"
|
|
]
|
|
},
|
|
"ext.RevisionSlider.Slider": {
|
|
"scripts": [
|
|
"modules/ext.RevisionSlider.Slider.js"
|
|
],
|
|
"dependencies": [
|
|
"ext.RevisionSlider.SliderView"
|
|
]
|
|
},
|
|
"ext.RevisionSlider.SliderView": {
|
|
"scripts": [
|
|
"modules/ext.RevisionSlider.SliderView.js"
|
|
],
|
|
"dependencies": [
|
|
"ext.RevisionSlider.DiffPage",
|
|
"ext.RevisionSlider.Pointer"
|
|
],
|
|
"messages": [
|
|
"revisionslider-arrow-tooltip-newer",
|
|
"revisionslider-arrow-tooltip-older"
|
|
]
|
|
},
|
|
"ext.RevisionSlider.DiffPage": {
|
|
"scripts": [
|
|
"modules/ext.RevisionSlider.DiffPage.js"
|
|
]
|
|
},
|
|
"ext.RevisionSlider.RevisionList": {
|
|
"scripts": [
|
|
"modules/ext.RevisionSlider.RevisionList.js"
|
|
],
|
|
"dependencies": [
|
|
"ext.RevisionSlider.Revision",
|
|
"ext.RevisionSlider.RevisionListView"
|
|
],
|
|
"messages": [
|
|
"minoredit"
|
|
]
|
|
},
|
|
"ext.RevisionSlider.RevisionListView": {
|
|
"scripts": [
|
|
"modules/ext.RevisionSlider.RevisionListView.js"
|
|
],
|
|
"messages": [
|
|
"revisionslider-revision-bytes",
|
|
"revisionslider-label-article-size",
|
|
"revisionslider-label-user",
|
|
"revisionslider-label-comment"
|
|
]
|
|
},
|
|
"ext.RevisionSlider.pointers.lower": {
|
|
"position": "top",
|
|
"class": "ResourceLoaderImageModule",
|
|
"selector": ".lower-pointer.{name}-pointer",
|
|
"images": {
|
|
"oldid": "resources/ext.RevisionSlider.pointers/pointer-lower-old.svg",
|
|
"newid": "resources/ext.RevisionSlider.pointers/pointer-lower-new.svg"
|
|
}
|
|
},
|
|
"ext.RevisionSlider.pointers.upper": {
|
|
"position": "top",
|
|
"class": "ResourceLoaderImageModule",
|
|
"selector": ".upper-pointer.{name}-pointer",
|
|
"images": {
|
|
"oldid": "resources/ext.RevisionSlider.pointers/pointer-upper-old.svg",
|
|
"newid": "resources/ext.RevisionSlider.pointers/pointer-upper-new.svg"
|
|
}
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": ""
|
|
},
|
|
"Hooks": {
|
|
"DiffViewHeader": [
|
|
"RevisionSliderHooks::onDiffViewHeader"
|
|
],
|
|
"GetBetaFeaturePreferences": [
|
|
"RevisionSliderHooks::getBetaFeaturePreferences"
|
|
],
|
|
"ResourceLoaderTestModules": [
|
|
"RevisionSliderHooks::onResourceLoaderTestModules"
|
|
]
|
|
}
|
|
}
|