mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 12:53:24 +00:00
e8c7c537a2
Adds anew mmv.Config class to centralize localStorage handling issues, adds AJAX option setting, adds getting/setting opt-in flag from localstorage. Change-Id: I25762ccb8c9bccd694c30a6f1c5d3c8611a5ecbc Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/703 Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/704
103 lines
1.5 KiB
JSON
103 lines
1.5 KiB
JSON
[
|
|
{
|
|
"name": "Media Viewer classes",
|
|
"groups": [
|
|
{
|
|
"name": "Base",
|
|
"classes": [
|
|
"mw.mmv.Api",
|
|
"mw.mmv.ActionLogger",
|
|
"mw.mmv.Config",
|
|
"mw.mmv.DurationLogger",
|
|
"mw.mmv.EmbedFileFormatter",
|
|
"mw.mmv.HtmlUtils",
|
|
"mw.mmv.LightboxImage",
|
|
"mw.mmv.LightboxInterface",
|
|
"mw.mmv.Logger",
|
|
"mw.mmv.MultimediaViewer",
|
|
"mw.mmv.MultimediaViewerBootstrap",
|
|
"mw.mmv.Performance",
|
|
"mw.mmv.ThumbnailWidthCalculator"
|
|
]
|
|
},
|
|
{
|
|
"name": "Models",
|
|
"classes": [
|
|
"mw.mmv.model.*"
|
|
]
|
|
},
|
|
{
|
|
"name": "Providers",
|
|
"classes": [
|
|
"mw.mmv.provider.*"
|
|
]
|
|
},
|
|
{
|
|
"name": "Routers",
|
|
"classes": [
|
|
"mw.mmv.routing.*"
|
|
]
|
|
},
|
|
{
|
|
"name": "Interface",
|
|
"classes": [
|
|
"mw.mmv.ui.*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
"name": "External",
|
|
"groups": [
|
|
{
|
|
"name": "jQuery",
|
|
"classes": [
|
|
"jQuery",
|
|
"jQuery.Promise",
|
|
"jQuery.Deferred",
|
|
"jQuery.Event",
|
|
"jqXHR"
|
|
]
|
|
},
|
|
{
|
|
"name": "JavaScript natives",
|
|
"classes": [
|
|
"Array",
|
|
"Boolean",
|
|
"Date",
|
|
"Function",
|
|
"Number",
|
|
"Object",
|
|
"RegExp",
|
|
"String"
|
|
]
|
|
},
|
|
{
|
|
"name": "OOUI",
|
|
"classes": [
|
|
"OO.ui.*"
|
|
]
|
|
},
|
|
{
|
|
"name": "MediaWiki",
|
|
"classes": [
|
|
"mw",
|
|
"mw.Api",
|
|
"mw.Title",
|
|
"mw.Map",
|
|
"mw.eventLog"
|
|
]
|
|
},
|
|
{
|
|
"name": "Browser native classes",
|
|
"classes": [
|
|
"HTMLElement",
|
|
"HTMLImageElement",
|
|
"XMLHttpRequest"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|