2015-07-02 10:00:21 +00:00
{
"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" : {
2016-12-13 20:38:26 +00:00
"PopupsHooks" : "Popups.hooks.php" ,
2017-01-04 16:33:40 +00:00
"Popups\\PopupsContext" : "includes/PopupsContext.php" ,
"Popups\\PopupsGadgetsIntegration" : "includes/PopupsGadgetsIntegration.php"
2015-07-02 10:00:21 +00:00
} ,
"ConfigRegistry" : {
"popups" : "GlobalVarConfig::newInstance"
} ,
"Hooks" : {
"GetBetaFeaturePreferences" : [
2016-12-16 02:47:52 +00:00
"PopupsHooks::onGetBetaPreferences"
2015-07-02 10:00:21 +00:00
] ,
"BeforePageDisplay" : [
"PopupsHooks::onBeforePageDisplay"
] ,
"ResourceLoaderTestModules" : [
"PopupsHooks::onResourceLoaderTestModules"
] ,
"ResourceLoaderGetConfigVars" : [
"PopupsHooks::onResourceLoaderGetConfigVars"
2016-01-29 17:06:33 +00:00
] ,
2016-12-13 20:38:26 +00:00
"GetPreferences" : [
"PopupsHooks::onGetPreferences"
2017-01-10 01:28:57 +00:00
] ,
"UserGetDefaultOptions" : [
"PopupsHooks::onUserGetDefaultOptions"
2015-07-02 10:00:21 +00:00
]
} ,
"MessagesDirs" : {
"Popups" : [
"i18n"
]
} ,
2015-12-23 00:46:45 +00:00
"EventLoggingSchemas" : {
Add reading depth
Use schema revision 16163887.
Add the 'checkin' action, which is accompanied by the 'checkin'
property. The action is logged at the following seconds
(Fibonacci numbers) after the page loads: 1, 2, 3, 5, 8, 13, 21,
34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765.
The `checkin` property contains the values listed above.
Bug: T147314
Change-Id: Ib9ec7bd0e60aa34a04e32222b025347f6ee31794
2016-12-13 22:52:20 +00:00
"Popups" : 16163887
2015-12-23 00:46:45 +00:00
} ,
2015-07-02 10:00:21 +00:00
"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 ,
2016-05-12 22:37:19 +00:00
"@SchemaPopupsSamplingRate" : "@var number: Sample rate for logging events to Schema:Popups." ,
2016-09-16 16:27:58 +00:00
"SchemaPopupsSamplingRate" : 0 ,
2016-12-16 02:47:52 +00:00
"@PopupsHideOptInOnPreferencesPage" : "@var bool: Whether the option to senable/disable Page Previews should be hidden on Preferences page. Please note if PopupsBetaFeature is set to true this option will be always hidden. False by default" ,
"PopupsHideOptInOnPreferencesPage" : false ,
"@PopupsOptInDefaultState" : "@var string:['1'|'0'] Default Page Previews visibility. Has to be a string as a compatibility with beta feature settings" ,
"PopupsOptInDefaultState" : "0"
2016-01-29 17:06:33 +00:00
} ,
2016-01-29 16:48:24 +00:00
"ResourceModules" : {
2016-06-24 16:25:20 +00:00
"ext.popups.images" : {
"selector" : ".mw-ui-icon-{name}:before" ,
"class" : "ResourceLoaderImageModule" ,
"prefix" : "mw-ui" ,
"images" : {
"popups-close" : "resources/ext.popups.images/close.svg"
}
} ,
2016-11-08 07:57:30 +00:00
"ext.popups" : {
2016-11-08 10:05:40 +00:00
"scripts" : [
2016-11-08 19:42:21 +00:00
"resources/ext.popups/index.js" ,
2016-11-21 12:07:23 +00:00
"resources/ext.popups/wait.js" ,
2016-11-08 19:42:21 +00:00
"resources/ext.popups/userSettings.js" ,
2016-12-14 13:48:20 +00:00
"resources/ext.popups/isEnabled.js" ,
2016-11-08 19:42:21 +00:00
"resources/ext.popups/actions.js" ,
2016-11-09 11:57:24 +00:00
"resources/ext.popups/processLinks.js" ,
2016-12-01 13:12:29 +00:00
"resources/ext.popups/counts.js" ,
2016-11-11 13:45:03 +00:00
"resources/ext.popups/gateway.js" ,
2016-11-21 12:07:23 +00:00
"resources/ext.popups/renderer.js" ,
2016-11-30 13:40:08 +00:00
"resources/ext.popups/schema.js" ,
2016-12-13 10:25:17 +00:00
"resources/ext.popups/reducers/index.js" ,
"resources/ext.popups/reducers/preview.js" ,
"resources/ext.popups/reducers/eventLogging.js" ,
"resources/ext.popups/reducers/settings.js" ,
"resources/ext.popups/changeListener.js" ,
2016-12-05 12:38:00 +00:00
"resources/ext.popups/changeListeners/footerLink.js" ,
"resources/ext.popups/changeListeners/linkTitle.js" ,
"resources/ext.popups/changeListeners/render.js" ,
"resources/ext.popups/changeListeners/eventLogging.js" ,
2016-12-14 11:12:55 +00:00
"resources/ext.popups/changeListeners/syncUserSettings.js" ,
2016-12-12 18:01:23 +00:00
"resources/ext.popups/changeListeners/settings.js" ,
2016-12-12 19:26:55 +00:00
"resources/ext.popups/settingsDialog.js" ,
Add reading depth
Use schema revision 16163887.
Add the 'checkin' action, which is accompanied by the 'checkin'
property. The action is logged at the following seconds
(Fibonacci numbers) after the page loads: 1, 2, 3, 5, 8, 13, 21,
34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765.
The `checkin` property contains the values listed above.
Bug: T147314
Change-Id: Ib9ec7bd0e60aa34a04e32222b025347f6ee31794
2016-12-13 22:52:20 +00:00
"resources/ext.popups/pageVisibility.js" ,
"resources/ext.popups/checkin.js" ,
2016-11-08 10:05:40 +00:00
"resources/ext.popups/boot.js"
] ,
2016-11-08 07:57:30 +00:00
"templates" : {
2016-11-29 12:34:52 +00:00
"preview.mustache" : "resources/ext.popups/templates/preview.mustache" ,
"preview-empty.mustache" : "resources/ext.popups/templates/preview-empty.mustache" ,
2016-12-12 18:13:27 +00:00
"settings.mustache" : "resources/ext.popups/templates/settings.mustache"
2016-11-08 07:57:30 +00:00
} ,
"styles" : [
2016-11-29 12:14:38 +00:00
"resources/ext.popups/styles/ext.popups.core.less" ,
2016-11-08 07:57:30 +00:00
"resources/ext.popups.desktop/ext.popups.animation.less" ,
2016-12-12 17:06:22 +00:00
"resources/ext.popups/styles/ext.popups.settings.less"
2016-01-29 16:48:24 +00:00
] ,
2016-11-08 07:57:30 +00:00
"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" ,
2016-11-29 12:34:52 +00:00
"popups-send-feedback" ,
"popups-preview-no-preview" ,
"popups-preview-footer-read"
2016-05-16 20:32:11 +00:00
] ,
"dependencies" : [
2016-11-08 19:42:21 +00:00
"mediawiki.storage" ,
2016-11-09 11:57:24 +00:00
"mediawiki.Title" ,
2016-11-08 07:57:30 +00:00
"mediawiki.jqueryMsg" ,
"mediawiki.ui.button" ,
"mediawiki.ui.icon" ,
2016-12-12 07:01:25 +00:00
"mediawiki.Uri" ,
2016-11-08 07:57:30 +00:00
"moment" ,
2016-11-08 10:05:40 +00:00
"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"
2016-05-16 20:32:11 +00:00
]
2016-01-29 16:48:24 +00:00
}
} ,
"ResourceFileModulePaths" : {
"localBasePath" : "" ,
"remoteExtPath" : "Popups"
} ,
2015-07-02 10:00:21 +00:00
"manifest_version" : 1
}