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" : {
"PopupsHooks" : "Popups.hooks.php"
} ,
"ConfigRegistry" : {
"popups" : "GlobalVarConfig::newInstance"
} ,
"Hooks" : {
"GetBetaFeaturePreferences" : [
"PopupsHooks::getPreferences"
] ,
"BeforePageDisplay" : [
"PopupsHooks::onBeforePageDisplay"
] ,
"ResourceLoaderTestModules" : [
"PopupsHooks::onResourceLoaderTestModules"
] ,
"ResourceLoaderRegisterModules" : [
"PopupsHooks::onResourceLoaderRegisterModules"
] ,
"ResourceLoaderGetConfigVars" : [
"PopupsHooks::onResourceLoaderGetConfigVars"
2016-01-29 17:06:33 +00:00
] ,
"BeforePageDisplayMobile" : [
"PopupsHooks::onBeforePageDisplayMobile"
2016-05-16 09:03:52 +00:00
] ,
"MakeGlobalVariablesScript" : [
"PopupsHooks::onMakeGlobalVariablesScript"
2015-07-02 10:00:21 +00:00
]
} ,
"MessagesDirs" : {
"Popups" : [
"i18n"
]
} ,
2015-12-23 00:46:45 +00:00
"EventLoggingSchemas" : {
2016-09-13 15:17:19 +00:00
"Popups" : 15906495
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-11 13:47:23 +00:00
"@PopupsSurveyLink" : "@var bool|string: When defined a link will be rendered at the bottom of the popup for the user to provide feedback. The URL must start with https or http. If not, then an error is thrown client-side. The link is annotated with `rel=\"noreferrer\"` so no referrer information or `window.opener` is leaked to the survey hosting site (see https://html.spec.whatwg.org/multipage/semantics.html#link-type-noreferrer for more information)." ,
2016-01-29 17:06:33 +00:00
"PopupsSurveyLink" : false ,
2016-05-12 22:37:19 +00:00
"EnablePopupsMobile" : false ,
"@SchemaPopupsSamplingRate" : "@var number: Sample rate for logging events to Schema:Popups." ,
2016-09-16 16:27:58 +00:00
"SchemaPopupsSamplingRate" : 0 ,
2016-05-16 09:03:52 +00:00
"PopupsExperiment" : false
2016-01-29 17:06:33 +00:00
} ,
"DefaultUserOptions" : {
"popupsmobile" : "1"
2015-07-02 10:00:21 +00:00
} ,
2016-01-29 16:48:24 +00:00
"ResourceModules" : {
"ext.popups.core" : {
"scripts" : [
"resources/ext.popups.core.js"
] ,
"dependencies" : [
"mediawiki.api" ,
"mediawiki.Title" ,
"mediawiki.Uri" ,
2016-09-08 16:36:06 +00:00
"mediawiki.RegExp" ,
2016-09-21 13:04:12 +00:00
"mediawiki.storage" ,
"mediawiki.user" ,
"mediawiki.experiments"
2016-01-29 16:48:24 +00:00
] ,
"targets" : [
"desktop" ,
"mobile"
2016-01-29 17:06:33 +00:00
] ,
"styles" : [
"resources/ext.popups.core.less"
2016-01-29 16:48:24 +00:00
]
} ,
"ext.popups.targets.desktopTarget" : {
"scripts" : [
"resources/ext.popups.targets/desktopTarget.js"
] ,
"dependencies" : [
2016-05-13 20:15:36 +00:00
"mediawiki.storage" ,
2016-01-29 16:48:24 +00:00
"jquery.client" ,
"ext.popups.core" ,
2016-09-21 13:04:12 +00:00
"ext.popups.renderer.desktopRenderer"
2016-01-29 16:48:24 +00:00
] ,
"targets" : [ "desktop" ]
} ,
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-01-29 16:48:24 +00:00
"ext.popups.renderer.desktopRenderer" : {
"scripts" : [
"resources/ext.popups.renderer/desktopRenderer.js"
] ,
"dependencies" : [
"ext.popups.core"
]
2016-05-13 12:25:39 +00:00
} ,
2016-05-16 20:32:11 +00:00
"ext.popups.schemaPopups.utils" : {
"scripts" : [
"resources/ext.popups.schemaPopups.utils.js"
] ,
"dependencies" : [
"mediawiki.experiments" ,
"mediawiki.Title" ,
"mediawiki.user" ,
"ext.popups.core" ,
"ext.popups.renderer.desktopRenderer"
] ,
"targets" : [
"desktop"
]
2016-01-29 16:48:24 +00:00
}
} ,
"ResourceFileModulePaths" : {
"localBasePath" : "" ,
"remoteExtPath" : "Popups"
} ,
2015-07-02 10:00:21 +00:00
"manifest_version" : 1
}