mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-24 16:23:49 +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
83 lines
1.4 KiB
JavaScript
83 lines
1.4 KiB
JavaScript
/**
|
|
* @class mw
|
|
* @singleton
|
|
* <https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw>
|
|
*/
|
|
|
|
/**
|
|
* @class mw.Api
|
|
* <https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.Api>
|
|
*/
|
|
|
|
/**
|
|
* @class mw.Title
|
|
* <https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.Title>
|
|
*/
|
|
|
|
/**
|
|
* @class mw.eventLog
|
|
* <https://www.mediawiki.org/wiki/Extension:EventLogging>
|
|
*/
|
|
|
|
/**
|
|
* @class mw.Map
|
|
* Associative array which is used for various configuration objects, most prominently mw.config:
|
|
* <https://www.mediawiki.org/wiki/Manual:Interface/JavaScript#mw.config>
|
|
*/
|
|
|
|
/**
|
|
* @class HTMLElement
|
|
* An HTML element.
|
|
*/
|
|
|
|
/**
|
|
* @class HTMLImageElement
|
|
* @extends HTMLElement
|
|
* An HTML <img> element.
|
|
*/
|
|
|
|
/**
|
|
* @class OO.ui.MenuItemWidget
|
|
* <https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/OO.ui.MenuItemWidget>
|
|
*/
|
|
|
|
/**
|
|
* @class OO.ui.MenuWidget
|
|
* <https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/OO.ui.MenuWidget>
|
|
*/
|
|
|
|
/**
|
|
* @class OO.ui.InlineMenuWidget
|
|
* <https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/OO.ui.InlineMenuWidget>
|
|
*/
|
|
|
|
/**
|
|
* @class XMLHttpRequest
|
|
* An AJAX request
|
|
*/
|
|
|
|
/**
|
|
* @class jQuery
|
|
* A jQuery object.
|
|
*/
|
|
|
|
/**
|
|
* @class jQuery.Promise
|
|
* A jQuery promise object.
|
|
*/
|
|
|
|
/**
|
|
* @class jQuery.Deferred
|
|
* A jQuery deferred object.
|
|
*/
|
|
|
|
/**
|
|
* @class jQuery.Event
|
|
* An event object with extra jQuery data.
|
|
*/
|
|
|
|
/**
|
|
* @class jqXHR
|
|
* An XMLHttpRequest object wrapped by jQuery
|
|
*/
|