mediawiki-skins-MinervaNeue/resources/skins.minerva.scripts
jdlrobson ba064c2013 Avoid abrupt and jarring white flash in media viewer
Previously, the image overlay would always be loaded asynchronously.
Given clicking left/right opens a new mediaviewer this left a jarring
white flash. By loading the image overlay synchronously after the first
has been loaded, we avoid this flash.

Note, the task does propose preloading and animating the images
but this is a much bigger change and deemed out of scope for this
particular task.

Additional change:
* Use a shared mw.Api instance for ImageOverlay and PageGateway

Bug: T197110
Change-Id: I28d06b34cdea4fedcd7fb754572191e904ecc81a
2018-08-23 22:55:15 -06:00
..
AB.js Hygiene: move page issues A/B test logging to file 2018-08-14 20:49:06 +00:00
DownloadIcon.js Make Deferreds promise compatible 2018-08-22 14:27:48 -07:00
init.js Avoid abrupt and jarring white flash in media viewer 2018-08-23 22:55:15 -06:00
initLogging.js Hygiene: Cleanup initialisation files 2017-09-07 17:48:58 +00:00
mobileRedirect.js Minerva is its own skin 2017-07-12 08:12:40 -07:00
pageIssues.js Hygiene: move page issue overlay to distinct file 2018-08-22 13:42:42 -06:00
pageIssuesLogger.js getPageToken now defined in core 2018-08-21 20:33:35 +00:00
PageIssuesOverlay.js Hygiene: move page issue overlay to distinct file 2018-08-22 13:42:42 -06:00
PageIssuesOverlay.less Hygiene: IssuesOverlay moved from MobileFrontend to Minerva 2018-08-16 14:06:12 -07:00
PageIssuesOverlayContent.hogan Hygiene: IssuesOverlay moved from MobileFrontend to Minerva 2018-08-16 14:06:12 -07:00
pageIssuesParser.js Hygiene: IssuesOverlay moved from MobileFrontend to Minerva 2018-08-16 14:06:12 -07:00
preInit.js Hygiene: update JSDoc boxed and JQuery types 2018-07-03 11:10:12 -05:00
references.js Hygiene: update JSDoc boxed and JQuery types 2018-07-03 11:10:12 -05:00
search.js Use OverlayManager for SearchOverlay 2018-04-05 15:23:36 +02:00
styles.less Remove unnecessary skins.minerva.base.styles 2018-07-26 01:18:00 +00:00