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" ,
2017-07-24 14:12:03 +00:00
"requires" : {
"MediaWiki" : ">= 1.30.0"
} ,
2015-07-02 10:00:21 +00:00
"AutoloadClasses" : {
2017-02-14 19:22:55 +00:00
"Popups\\PopupsHooks" : "includes/PopupsHooks.php" ,
2017-01-04 16:33:40 +00:00
"Popups\\PopupsContext" : "includes/PopupsContext.php" ,
2017-07-06 18:16:05 +00:00
"Popups\\PopupsGadgetsIntegration" : "includes/PopupsGadgetsIntegration.php" ,
"Popups\\UserPreferencesChangeHandler" : "includes/UserPreferencesChangeHandler.php" ,
"Popups\\EventLogging\\EventLogger" : "includes/EventLogging/EventLogger.php" ,
"Popups\\EventLogging\\NullLogger" : "includes/EventLogging/NullLogger.php" ,
"Popups\\EventLogging\\MWEventLogger" : "includes/EventLogging/MWEventLogger.php" ,
"Popups\\EventLogging\\EventLoggerFactory" : "includes/EventLogging/EventLoggerFactory.php"
2015-07-02 10:00:21 +00:00
} ,
"ConfigRegistry" : {
"popups" : "GlobalVarConfig::newInstance"
} ,
"Hooks" : {
"GetBetaFeaturePreferences" : [
2017-02-14 19:22:55 +00:00
"Popups\\PopupsHooks::onGetBetaPreferences"
2015-07-02 10:00:21 +00:00
] ,
"BeforePageDisplay" : [
2017-02-14 19:22:55 +00:00
"Popups\\PopupsHooks::onBeforePageDisplay"
2015-07-02 10:00:21 +00:00
] ,
"ResourceLoaderGetConfigVars" : [
2017-02-14 19:22:55 +00:00
"Popups\\PopupsHooks::onResourceLoaderGetConfigVars"
2016-01-29 17:06:33 +00:00
] ,
2016-12-13 20:38:26 +00:00
"GetPreferences" : [
2017-02-14 19:22:55 +00:00
"Popups\\PopupsHooks::onGetPreferences"
2017-01-10 01:28:57 +00:00
] ,
2017-07-06 18:16:05 +00:00
"PreferencesFormPreSave" : [
"Popups\\UserPreferencesChangeHandler::onPreferencesFormPreSave"
] ,
2017-01-10 01:28:57 +00:00
"UserGetDefaultOptions" : [
2017-02-14 19:22:55 +00:00
"Popups\\PopupsHooks::onUserGetDefaultOptions"
2016-12-21 12:35:35 +00:00
] ,
"MakeGlobalVariablesScript" : [
2017-02-14 19:22:55 +00:00
"Popups\\PopupsHooks::onMakeGlobalVariablesScript"
2015-07-02 10:00:21 +00:00
]
} ,
"MessagesDirs" : {
"Popups" : [
"i18n"
]
} ,
2015-12-23 00:46:45 +00:00
"EventLoggingSchemas" : {
2017-02-22 11:36:54 +00:00
"Popups" : 16364296
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 ,
2017-03-30 19:37:52 +00:00
"@PopupsHideOptInOnPreferencesPage" : "@var bool: Whether the option to enable/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" ,
2016-12-16 02:47:52 +00:00
"PopupsHideOptInOnPreferencesPage" : false ,
2017-03-30 19:37:52 +00:00
"@PopupsOptInDefaultState" : "@var string:['1'|'0'] Default Page Previews visibility. Has to be a string as a compatibility with beta feature settings" ,
"PopupsOptInDefaultState" : "0" ,
2017-01-11 21:52:07 +00:00
"@PopupsConflictingNavPopupsGadgetName" : "@var string: Navigation popups gadget name" ,
2017-01-31 22:34:27 +00:00
"PopupsConflictingNavPopupsGadgetName" : "Navigation_popups" ,
2017-06-08 13:29:57 +00:00
"@PopupsGateway" : "Which gateway to use for fetching Popups data. Available options: [mwApiPlain|restbasePlain|restbaseHTML]. Full and always up to date list is available in src/gateway/index.js" ,
"PopupsGateway" : "mwApiPlain" ,
2017-08-10 17:55:26 +00:00
"@PopupsAnonsExperimentalGroupSize" : "Defines the fraction of users that should be subject to an A/B test. When enabled half of users in this group will see page previews. The rest will be divided into one of two buckets where previews will not show and the control group size will match the enabled bucket. If undefined, or 0, no users will be subject to experimentation and previews will be enabled for everyone unless wgPopupsBetaFeature is enabled." ,
"PopupsAnonsExperimentalGroupSize" : 0 ,
"@PopupsEventLogging" : "Whether we should log events. This should be used carefully alongside PopupsAnonsExperimentalGroupSize. Note if this is enabled without using that variable events will be logged for all users. Be careful!" ,
"PopupsEventLogging" : false ,
2017-03-07 00:27:38 +00:00
"@PopupsStatsvSamplingRate" : "Sampling rate for logging performance data to statsv." ,
2017-07-28 18:58:13 +00:00
"PopupsStatsvSamplingRate" : 0 ,
2017-08-24 20:51:39 +00:00
"@PopupsPageBlacklist" : "Blacklisted pages are subject to the HTML cache policy of the wiki. A purge on a blacklisted page maybe needed to see the effect of this configuration variable. Every blacklisted page should be defined by a canonical name, eg: Special:Userlogin" ,
"PopupsPageBlacklist" : [ "Special:Userlogin" , "Special:CreateAccount" ]
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" : {
2017-04-20 21:59:57 +00:00
"popups-settings" : "resources/ext.popups.images/cog.svg" ,
2016-06-24 16:25:20 +00:00
"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" : [
2017-02-13 13:47:59 +00:00
"resources/dist/index.js"
2016-11-08 10:05:40 +00:00
] ,
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" ,
2017-02-02 22:31:03 +00:00
"resources/ext.popups/styles/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-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" : [
2017-02-01 19:49:31 +00:00
"ext.popups.images" ,
2017-02-27 19:31:34 +00:00
"mediawiki.experiments" ,
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" ,
2017-06-28 11:25:51 +00:00
"mediawiki.user" ,
2017-03-16 21:03:21 +00:00
"jquery.hidpi"
2016-05-16 20:32:11 +00:00
]
2016-01-29 16:48:24 +00:00
}
} ,
"ResourceFileModulePaths" : {
"localBasePath" : "" ,
"remoteExtPath" : "Popups"
} ,
2017-07-21 17:06:08 +00:00
"ServiceWiringFiles" : [
"includes/ServiceWirings.php"
] ,
2015-07-02 10:00:21 +00:00
"manifest_version" : 1
}