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" : {
2019-12-28 12:44:09 +00:00
"MediaWiki" : ">= 1.31.0"
2017-07-24 14:12:03 +00:00
} ,
2019-11-27 09:12:03 +00:00
"AutoloadNamespaces" : {
"Popups\\" : "includes/"
2015-07-02 10:00:21 +00:00
} ,
"ConfigRegistry" : {
"popups" : "GlobalVarConfig::newInstance"
} ,
"Hooks" : {
2019-11-27 06:05:26 +00:00
"BeforePageDisplay" : "Popups\\PopupsHooks::onBeforePageDisplay" ,
"ResourceLoaderGetConfigVars" : "Popups\\PopupsHooks::onResourceLoaderGetConfigVars" ,
"GetPreferences" : "Popups\\PopupsHooks::onGetPreferences" ,
"PreferencesFormPreSave" : "Popups\\UserPreferencesChangeHandler::onPreferencesFormPreSave" ,
"UserGetDefaultOptions" : "Popups\\PopupsHooks::onUserGetDefaultOptions" ,
"MakeGlobalVariablesScript" : "Popups\\PopupsHooks::onMakeGlobalVariablesScript" ,
"LocalUserCreated" : "Popups\\PopupsHooks::onLocalUserCreated" ,
"GetBetaFeaturePreferences" : "Popups\\PopupsHooks::onGetBetaFeaturePreferences"
2015-07-02 10:00:21 +00:00
} ,
"MessagesDirs" : {
"Popups" : [
"i18n"
]
} ,
2019-11-27 06:05:26 +00:00
"attributes" : {
"EventLogging" : {
"Schemas" : {
"Popups" : 18904225 ,
"ReferencePreviewsPopups" : 19489344 ,
"VirtualPageView" : 17780078
}
}
2015-12-23 00:46:45 +00:00
} ,
2015-07-02 10:00:21 +00:00
"config" : {
2019-11-27 06:05:26 +00:00
"PopupsVirtualPageViews" : {
"description" : "@var bool: Whether the extension should log virtual pageviews." ,
"value" : false
} ,
"PopupsHideOptInOnPreferencesPage" : {
"description" : "@var bool: Whether the option to enable/disable Page Previews should be hidden on Preferences page. False by default" ,
"value" : false
} ,
"PopupsOptInDefaultState" : {
"description" : "@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" ,
2019-12-11 19:04:21 +00:00
"value" : "1"
2019-11-27 06:05:26 +00:00
} ,
"PopupsOptInStateForNewAccounts" : {
"description" : "@var string:['1'|'0'] Default Page Previews visibility for newly created accounts (from Q2 2018). For more info see @T191888" ,
2019-12-11 19:04:21 +00:00
"value" : "1"
2019-11-27 06:05:26 +00:00
} ,
"PopupsConflictingNavPopupsGadgetName" : {
"description" : "@var string: Navigation popups gadget name" ,
"value" : "Navigation_popups"
} ,
"PopupsGateway" : {
"description" : "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" ,
"value" : "mwApiPlain"
} ,
"PopupsRestGatewayEndpoint" : {
"description" : "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" ,
"value" : "/api/rest_v1/page/summary/"
} ,
"PopupsReferencePreviews" : {
"description" : "Temporary feature flag to disable reference previews during developement." ,
"value" : true
} ,
"PopupsReferencePreviewsBetaFeature" : {
"description" : "Make Reference Previews a Beta feature." ,
"value" : true
} ,
"PopupsEventLogging" : {
"description" : "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!" ,
"value" : false
} ,
"PopupsStatsvSamplingRate" : {
"description" : "Sampling rate for logging performance data to statsv." ,
"value" : 0
} ,
"PopupsPageBlacklist" : {
"description" : "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" ,
"value" : [
"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" ,
2019-04-12 12:22:37 +00:00
"preview-generic" : {
"file" : {
"ltr" : "resources/ext.popups.images/sad-face-ltr.svg" ,
"rtl" : "resources/ext.popups.images/sad-face-rtl.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" : {
2019-04-12 12:22:37 +00:00
"ltr" : "resources/ext.popups.images/articles-ltr.svg" ,
"rtl" : "resources/ext.popups.images/articles-rtl.svg"
2018-03-23 18:45:40 +00:00
}
2019-01-24 17:48:13 +00:00
} ,
2019-02-16 09:13:23 +00:00
"reference-generic" : "resources/ext.popups.images/reference.svg" ,
"reference-book" : {
"file" : {
"ltr" : "resources/ext.popups.images/book-ltr.svg" ,
"rtl" : "resources/ext.popups.images/book-rtl.svg"
}
} ,
"reference-journal" : {
"file" : {
"ltr" : "resources/ext.popups.images/journal-ltr.svg" ,
"rtl" : "resources/ext.popups.images/journal-rtl.svg"
}
} ,
"reference-news" : {
"file" : {
"ltr" : "resources/ext.popups.images/newspaper-ltr.svg" ,
"rtl" : "resources/ext.popups.images/newspaper-rtl.svg"
}
} ,
2019-04-12 12:22:37 +00:00
"reference-web" : {
"file" : {
"ltr" : "resources/ext.popups.images/browser-ltr.svg" ,
"rtl" : "resources/ext.popups.images/browser-rtl.svg"
}
}
2016-06-24 16:25:20 +00:00
}
} ,
2016-11-08 07:57:30 +00:00
"ext.popups" : {
2020-02-11 07:55:25 +00:00
"targets" : [ "desktop" , "mobile" ] ,
2017-10-16 20:09:56 +00:00
"scripts" : [
"resources/ext.popups/index.js"
]
} ,
"ext.popups.main" : {
2020-02-11 07:55:25 +00:00
"targets" : [ "desktop" , "mobile" ] ,
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" ,
2019-03-12 16:23:46 +00:00
"popups-refpreview-reference" ,
2019-02-16 09:13:23 +00:00
"popups-refpreview-book" ,
"popups-refpreview-journal" ,
"popups-refpreview-news" ,
"popups-refpreview-web" ,
2019-03-12 16:23:46 +00:00
"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" ,
2019-10-17 07:37:24 +00:00
"mediawiki.jqueryMsg" ,
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.ui.button" ,
"mediawiki.ui.icon" ,
2016-12-12 07:01:25 +00:00
"mediawiki.Uri" ,
2019-10-17 07:37:24 +00:00
"mediawiki.user" ,
"mediawiki.util"
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" : [
2020-01-14 15:41:15 +00:00
"includes/ServiceWiring.php"
2017-07-21 17:06:08 +00:00
] ,
2019-11-27 06:05:26 +00:00
"manifest_version" : 2
2015-07-02 10:00:21 +00:00
}