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" : {
2021-11-29 13:50:08 +00:00
"MediaWiki" : ">= 1.35.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" ,
"UserGetDefaultOptions" : "PopupsHooks" ,
"MakeGlobalVariablesScript" : "PopupsHooks" ,
"LocalUserCreated" : "PopupsHooks" ,
"GetBetaFeaturePreferences" : "PopupsHooks"
} ,
"HookHandlers" : {
"PopupsHooks" : {
"class" : "Popups\\PopupsHooks"
}
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
} ,
"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"
} ,
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" : {
"description" : "Temporary feature flag to disable reference previews during developement." ,
"value" : true
} ,
"PopupsReferencePreviewsBetaFeature" : {
"description" : "Make Reference Previews a Beta feature." ,
"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" : {
"class" : "ResourceLoaderOOUIIconPackModule" ,
"icons" : [
2020-10-27 16:34:01 +00:00
"infoFilled" ,
"settings"
2020-10-28 16:57:43 +00:00
]
} ,
2016-06-24 16:25:20 +00:00
"ext.popups.images" : {
"selector" : ".mw-ui-icon-{name}:before" ,
"class" : "ResourceLoaderImageModule" ,
"images" : {
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" ,
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" ,
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" ,
2021-02-11 09:15:36 +00:00
"popups-refpreview-note" ,
2019-02-16 09:13:23 +00:00
"popups-refpreview-web" ,
2020-10-29 10:59:05 +00:00
"popups-refpreview-collapsible-placeholder"
2016-05-16 20:32:11 +00:00
] ,
"dependencies" : [
2020-10-28 16:57:43 +00:00
"ext.popups.icons" ,
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" ,
2021-04-27 09:50:19 +00:00
"mediawiki.ui.checkbox" ,
2016-11-08 07:57:30 +00:00
"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
] ,
2021-09-29 08:42:09 +00:00
"DefaultUserOptions" : {
2022-05-10 12:32:14 +00:00
"popupsreferencepreviews" : 0 ,
2021-09-29 08:42:09 +00:00
"popups-reference-previews" : 0
} ,
2019-11-27 06:05:26 +00:00
"manifest_version" : 2
2015-07-02 10:00:21 +00:00
}