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" : {
2023-11-29 12:45:16 +00:00
"MediaWiki" : ">= 1.42.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" : {
2021-11-29 13:50:08 +00:00
"BeforePageDisplay" : "PopupsHooks" ,
"ResourceLoaderGetConfigVars" : "PopupsHooks" ,
"GetPreferences" : "PopupsHooks" ,
2024-06-07 19:10:59 +00:00
"UserGetDefaultOptions" : "PopupsHooks" ,
2024-05-22 12:17:55 +00:00
"MakeGlobalVariablesScript" : "PopupsHooks"
2021-11-29 13:50:08 +00:00
} ,
"HookHandlers" : {
"PopupsHooks" : {
2022-11-05 17:37:57 +00:00
"class" : "Popups\\PopupsHooks" ,
"services" : [
2024-03-19 19:16:55 +00:00
"Popups.Config" ,
"Popups.Context" ,
2024-03-19 20:26:53 +00:00
"Popups.Logger" ,
2022-11-05 17:37:57 +00:00
"UserOptionsManager"
]
2021-11-29 13:50:08 +00:00
}
2015-07-02 10:00:21 +00:00
} ,
"MessagesDirs" : {
"Popups" : [
"i18n"
]
} ,
2019-11-27 06:05:26 +00:00
"attributes" : {
"EventLogging" : {
"Schemas" : {
2021-12-15 13:43:06 +00:00
"ReferencePreviewsPopups" : "/analytics/legacy/referencepreviewspopups/1.1.0" ,
2021-08-11 19:43:02 +00:00
"VirtualPageView" : "/analytics/legacy/virtualpageview/1.0.0"
2019-11-27 06:05:26 +00:00
}
}
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
} ,
"PopupsConflictingNavPopupsGadgetName" : {
"description" : "@var string: Navigation popups gadget name" ,
"value" : "Navigation_popups"
} ,
2020-11-03 12:28:33 +00:00
"PopupsConflictingRefTooltipsGadgetName" : {
2021-03-04 08:53:41 +00:00
"description" : "@var string: Name of a gadget that would cause duplicate reference preview popups. Known conflicting gadgets include \"ReferenceTooltips\", \"CiteTooltip\" alias \"RefTooltip\", \"ReferencePopups\", and \"tooltipRef\" (see T274353)." ,
2020-11-03 12:28:33 +00:00
"value" : "ReferenceTooltips"
} ,
2019-11-27 06:05:26 +00:00
"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" : {
2023-11-24 11:51:41 +00:00
"description" : "Feature flag to enable or disable the separate popup type for references created via the Cite extension's <ref> tag." ,
2019-11-27 06:05:26 +00:00
"value" : true
} ,
"PopupsStatsvSamplingRate" : {
"description" : "Sampling rate for logging performance data to statsv." ,
"value" : 0
} ,
2020-07-02 22:09:22 +00:00
"PopupsPageDisabled" : {
2020-06-09 06:52:42 +00:00
"description" : "List of pages that should not show Popups. Includes subpages. These pages are subject to the HTML cache policy of the wiki. A purge on these pages maybe needed to see the effect of this configuration variable. Every excluded page should be defined by a canonical name, eg: Special:Userlogin" ,
2019-11-27 06:05:26 +00:00
"value" : [
2020-07-02 22:09:22 +00:00
"Special:CreateAccount" ,
"Special:GlobalRenameRequest" ,
2019-11-27 06:05:26 +00:00
"Special:Userlogin" ,
2020-07-02 22:09:22 +00:00
"Special:MergeAccount" ,
"Special:ChangeCredentials" ,
"Special:OAuthListConsumers" ,
"Special:GlobalUserRights" ,
"Special:Notifications" ,
"Special:UserRights" ,
"Special:Upload" ,
"Special:VipsTest" ,
"Special:ApiFeatureUsage" ,
"Special:ExpandTemplates" ,
"Special:GadgetUsage" ,
"Special:GraphSandbox" ,
"Special:TemplateSandbox" ,
"Special:MostLinkedFiles" ,
"Special:Book"
2019-11-27 06:05:26 +00:00
]
2020-11-26 13:09:57 +00:00
} ,
"PopupsTextExtractsIntroOnly" : {
"description" : "Whether we should extract intro text only or full page text. This is only applicable when using PopupsGateway=mwApiPlain." ,
"value" : true
2019-11-27 06:05:26 +00:00
}
2016-01-29 17:06:33 +00:00
} ,
2016-01-29 16:48:24 +00:00
"ResourceModules" : {
2020-10-28 16:57:43 +00:00
"ext.popups.icons" : {
2023-12-01 13:21:02 +00:00
"class" : "MediaWiki\\ResourceLoader\\OOUIIconPackModule" ,
2023-09-01 16:24:11 +00:00
"selectorWithoutVariant" : ".popups-icon--{name}" ,
2020-10-28 16:57:43 +00:00
"icons" : [
2020-10-27 16:34:01 +00:00
"infoFilled" ,
"settings"
2020-10-28 16:57:43 +00:00
]
} ,
2016-11-08 07:57:30 +00:00
"ext.popups" : {
2022-07-12 22:48:46 +00:00
"packageFiles" : [
{
"name" : "resources/ext.popups/types.json" ,
"callback" : "Popups\\PopupsHooks::getCustomPopupTypes"
} ,
2017-10-16 20:09:56 +00:00
"resources/ext.popups/index.js"
]
} ,
"ext.popups.main" : {
2024-04-15 20:04:19 +00:00
"class" : "MediaWiki\\ResourceLoader\\CodexModule" ,
"codexStyleOnly" : true ,
"codexComponents" : [
"CdxButton" ,
"CdxIcon" ,
"CdxCheckbox"
] ,
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" ,
2021-04-23 14:13:45 +00:00
"popups-settings-option-page" ,
"popups-settings-option-page-description" ,
2021-04-15 07:20:00 +00:00
"popups-settings-option-reference" ,
"popups-settings-option-reference-description" ,
2016-11-08 07:57:30 +00:00
"popups-settings-save" ,
"popups-settings-cancel" ,
"popups-settings-enable" ,
2021-03-31 02:22:42 +00:00
"popups-settings-icon-gear-title" ,
2016-11-08 07:57:30 +00:00
"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" ,
2024-06-04 08:38:38 +00:00
"popups-preview-disambiguation-link"
2016-05-16 20:32:11 +00:00
] ,
"dependencies" : [
2023-05-12 20:26:59 +00:00
"web2017-polyfills" ,
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-12-12 07:01:25 +00:00
"mediawiki.Uri" ,
2019-10-17 07:37:24 +00:00
"mediawiki.user" ,
2024-04-15 20:04:19 +00:00
"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
] ,
2021-09-29 08:42:09 +00:00
"DefaultUserOptions" : {
2024-05-29 22:57:41 +00:00
"popups" : "1" ,
"popupsreferencepreviews" : "0" ,
"popups-reference-previews" : "0"
2021-09-29 08:42:09 +00:00
} ,
2024-05-22 12:17:55 +00:00
"ConditionalUserOptions" : {
"popups" : [
[
2024-05-29 22:57:41 +00:00
"1" ,
2024-05-22 12:17:55 +00:00
[
"registered-after" ,
"20170816000000"
]
] ,
[
2024-05-29 22:57:41 +00:00
"0" ,
2024-05-22 12:17:55 +00:00
[
"named-user"
]
]
]
} ,
2019-11-27 06:05:26 +00:00
"manifest_version" : 2
2015-07-02 10:00:21 +00:00
}