mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 03:34:03 +00:00
4b74f72926
Action changes: * Group user-related data in the user property, rather than repeating "isUser" and "user" prefixes. * Include user's edit count in the user property of the action. Reducer changes: * Make the preview reducer handle the action's new shape. * Make the eventLogging reducer add the bucketed user's edit count to the state tree. Bug: T152225 Change-Id: I8fae9e2d0f6889ffdd30bb5192513d194f791967
132 lines
3.7 KiB
JSON
132 lines
3.7 KiB
JSON
{
|
|
"name": "Popups",
|
|
"author": [
|
|
"Prateek Saxena",
|
|
"Yair Rand"
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:Popups",
|
|
"descriptionmsg": "popups-desc",
|
|
"license-name": "GPL-2.0+",
|
|
"type": "betafeatures",
|
|
"AutoloadClasses": {
|
|
"PopupsHooks": "Popups.hooks.php"
|
|
},
|
|
"ConfigRegistry": {
|
|
"popups": "GlobalVarConfig::newInstance"
|
|
},
|
|
"Hooks": {
|
|
"GetBetaFeaturePreferences": [
|
|
"PopupsHooks::getPreferences"
|
|
],
|
|
"BeforePageDisplay": [
|
|
"PopupsHooks::onBeforePageDisplay"
|
|
],
|
|
"ResourceLoaderTestModules": [
|
|
"PopupsHooks::onResourceLoaderTestModules"
|
|
],
|
|
"ResourceLoaderGetConfigVars": [
|
|
"PopupsHooks::onResourceLoaderGetConfigVars"
|
|
],
|
|
"MakeGlobalVariablesScript": [
|
|
"PopupsHooks::onMakeGlobalVariablesScript"
|
|
]
|
|
},
|
|
"MessagesDirs": {
|
|
"Popups": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"EventLoggingSchemas": {
|
|
"Popups": 15906495
|
|
},
|
|
"config": {
|
|
"@PopupsBetaFeature": "@var bool: Whether the extension should be enabled as an opt-in beta feature. If true, the BetaFeatures extension must be installed. False by default.",
|
|
"PopupsBetaFeature": false,
|
|
"@SchemaPopupsSamplingRate": "@var number: Sample rate for logging events to Schema:Popups.",
|
|
"SchemaPopupsSamplingRate": 0,
|
|
"PopupsExperiment": false
|
|
},
|
|
"ResourceModules": {
|
|
"ext.popups.images": {
|
|
"selector": ".mw-ui-icon-{name}:before",
|
|
"class": "ResourceLoaderImageModule",
|
|
"prefix": "mw-ui",
|
|
"images": {
|
|
"popups-close": "resources/ext.popups.images/close.svg"
|
|
}
|
|
},
|
|
"ext.popups": {
|
|
"scripts": [
|
|
"resources/ext.popups/index.js",
|
|
"resources/ext.popups/wait.js",
|
|
"resources/ext.popups/userSettings.js",
|
|
"resources/ext.popups/experiment.js",
|
|
"resources/ext.popups/actions.js",
|
|
"resources/ext.popups/processLinks.js",
|
|
"resources/ext.popups/counts.js",
|
|
"resources/ext.popups/gateway.js",
|
|
"resources/ext.popups/reducers.js",
|
|
"resources/ext.popups/changeListener.js",
|
|
"resources/ext.popups/footerLinkChangeListener.js",
|
|
"resources/ext.popups/linkTitleChangeListener.js",
|
|
"resources/ext.popups/renderer.js",
|
|
"resources/ext.popups/renderChangeListener.js",
|
|
"resources/ext.popups/schema.js",
|
|
"resources/ext.popups/eventLoggingChangeListener.js",
|
|
"resources/ext.popups/boot.js"
|
|
],
|
|
"templates": {
|
|
"preview.mustache": "resources/ext.popups/templates/preview.mustache",
|
|
"preview-empty.mustache": "resources/ext.popups/templates/preview-empty.mustache",
|
|
"settings.mustache": "resources/ext.popups.desktop/settings.mustache"
|
|
},
|
|
"styles": [
|
|
"resources/ext.popups/styles/ext.popups.core.less",
|
|
"resources/ext.popups.desktop/ext.popups.animation.less",
|
|
"resources/ext.popups.desktop/ext.popups.settings.less"
|
|
],
|
|
"messages": [
|
|
"popups-last-edited",
|
|
"popups-settings-title",
|
|
"popups-settings-description",
|
|
"popups-settings-option-simple",
|
|
"popups-settings-option-simple-description",
|
|
"popups-settings-option-advanced",
|
|
"popups-settings-option-advanced-description",
|
|
"popups-settings-option-off",
|
|
"popups-settings-save",
|
|
"popups-settings-cancel",
|
|
"popups-settings-enable",
|
|
"popups-settings-help",
|
|
"popups-settings-help-ok",
|
|
"popups-send-feedback",
|
|
"popups-preview-no-preview",
|
|
"popups-preview-footer-read"
|
|
],
|
|
"dependencies": [
|
|
"mediawiki.experiments",
|
|
"mediawiki.storage",
|
|
"mediawiki.Title",
|
|
"mediawiki.jqueryMsg",
|
|
"mediawiki.ui.button",
|
|
"mediawiki.ui.icon",
|
|
"mediawiki.Uri",
|
|
"moment",
|
|
"jquery.hidpi",
|
|
"ext.popups.lib"
|
|
]
|
|
},
|
|
"ext.popups.lib": {
|
|
"scripts": [
|
|
"resources/ext.popups.lib/redux/redux.js",
|
|
"resources/ext.popups.lib/redux-thunk/redux-thunk.js"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "",
|
|
"remoteExtPath": "Popups"
|
|
},
|
|
"manifest_version": 1
|
|
}
|