mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-28 10:00:18 +00:00
961d47432b
* Following design, use split button to display a pulldown menu with possible image sizes. The download happens by sending the special "download" parameter to the server. * Offer link to preview image in the browser. Change-Id: Ic9d895fead04c9128186c7376a0bb09f3596335c Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/79
72 lines
1.1 KiB
JavaScript
72 lines
1.1 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 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
|
|
*/
|