2015-07-02 10:00:21 +00:00
{
"name" : "Popups" ,
2018-04-26 20:43:05 +00:00
"namemsg" : "popups-message" ,
2015-07-02 10:00:21 +00:00
"author" : [
"Prateek Saxena" ,
2018-05-04 23:32:51 +00:00
"[https://www.mediawiki.org/wiki/Reading/Web/Team Readers Web Team]" ,
2015-07-02 10:00:21 +00:00
"Yair Rand"
] ,
"url" : "https://www.mediawiki.org/wiki/Extension:Popups" ,
"descriptionmsg" : "popups-desc" ,
2018-03-02 23:33:58 +00:00
"license-name" : "GPL-2.0-or-later" ,
2017-07-24 14:12:03 +00:00
"requires" : {
2018-01-10 13:38:30 +00:00
"MediaWiki" : ">= 1.30.0"
2017-07-24 14:12:03 +00:00
} ,
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" : {
"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
] ,
2018-01-10 13:38:30 +00:00
"PreferencesFormPreSave" : [
2017-07-06 18:16:05 +00:00
"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"
2018-05-09 21:21:30 +00:00
] ,
"LocalUserCreated" : [
"Popups\\PopupsHooks::onLocalUserCreated"
2015-07-02 10:00:21 +00:00
]
} ,
"MessagesDirs" : {
"Popups" : [
"i18n"
]
} ,
2015-12-23 00:46:45 +00:00
"EventLoggingSchemas" : {
2018-03-07 11:10:53 +00:00
"Popups" : 17807993 ,
2018-03-29 21:55:04 +00:00
"VirtualPageView" : 17780078
2015-12-23 00:46:45 +00:00
} ,
2015-07-02 10:00:21 +00:00
"config" : {
2018-02-21 18:28:56 +00:00
"@PopupsVirtualPageViews" : "@var bool: Whether the extension should log virtual pageviews." ,
2018-02-08 22:11:44 +00:00
"PopupsVirtualPageViews" : false ,
2018-04-26 20:43:05 +00:00
"@PopupsHideOptInOnPreferencesPage" : "@var bool: Whether the option to enable/disable Page Previews should be hidden on Preferences page. False by default" ,
2016-12-16 02:47:52 +00:00
"PopupsHideOptInOnPreferencesPage" : false ,
2018-05-09 21:21:30 +00:00
"@PopupsOptInDefaultState" : "@var string:['1'|'0'] Default Page Previews visibility for old accounts. Has to be a string as a compatibility with beta feature settings. For more info see @T191888" ,
2017-03-30 19:37:52 +00:00
"PopupsOptInDefaultState" : "0" ,
2018-05-09 21:21:30 +00:00
"@PopupsOptInStateForNewAccounts" : "@var string:['1'|'0'] Default Page Previews visibility for newly created accounts (from Q2 2018). For more info see @T191888" ,
"PopupsOptInStateForNewAccounts" : "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" ,
2018-03-07 20:15:30 +00:00
"@PopupsRestGatewayEndpoint" : "Specify a REST endpoint where summaries should be sourced from. Endpoint must meet the spec at https://www.mediawiki.org/wiki/Specs/Summary/1.2.0" ,
"PopupsRestGatewayEndpoint" : "/api/rest_v1/page/summary/" ,
2019-01-21 10:24:33 +00:00
"@PopupsReferencePreviews" : "Temporary feature flag to disable reference previews during developement." ,
2019-01-24 09:27:41 +00:00
"PopupsReferencePreviews" : true ,
2018-05-03 21:22:11 +00:00
"@PopupsEventLogging" : "Whether we should log events. Note if this is enabled without using that variable events will be logged for all users without any sampling! Be careful!" ,
2017-08-10 17:55:26 +00:00
"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" ,
"images" : {
2017-04-20 21:59:57 +00:00
"popups-settings" : "resources/ext.popups.images/cog.svg" ,
2018-03-07 11:10:53 +00:00
"popups-close" : "resources/ext.popups.images/close.svg" ,
"preview-generic" : "resources/ext.popups.images/sad-face.svg" ,
2018-04-03 23:32:40 +00:00
"footer" : {
"file" : {
"ltr" : "resources/ext.popups.images/footer-ltr.svg" ,
"rtl" : "resources/ext.popups.images/footer-rtl.svg"
}
} ,
2018-03-23 18:45:40 +00:00
"preview-disambiguation" : {
"file" : {
"ltr" : "resources/ext.popups.images/multiple-articles-ltr.svg" ,
"rtl" : "resources/ext.popups.images/multiple-articles-rtl.svg"
}
2019-01-24 17:48:13 +00:00
} ,
"preview-reference" : "resources/ext.popups.images/reference.svg"
2016-06-24 16:25:20 +00:00
}
} ,
2016-11-08 07:57:30 +00:00
"ext.popups" : {
2017-10-16 20:09:56 +00:00
"scripts" : [
"resources/ext.popups/index.js"
]
} ,
"ext.popups.main" : {
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
"styles" : [
2018-03-27 19:10:48 +00:00
"src/ui/index.less"
2016-01-29 16:48:24 +00:00
] ,
2016-11-08 07:57:30 +00:00
"messages" : [
"popups-settings-title" ,
"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-preview-no-preview" ,
2018-03-07 11:10:53 +00:00
"popups-preview-footer-read" ,
"popups-preview-disambiguation" ,
2018-12-12 18:37:19 +00:00
"popups-preview-disambiguation-link" ,
"popups-refpreview-footnote" ,
"popups-refpreview-jump-to-reference"
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" ,
2018-08-05 00:41:47 +00:00
"mediawiki.user"
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
}