mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-12 00:06:13 +00:00
f04f5984d5
Works, but awkward - the extension name changes a little later than the button text itself. This is hard to avoid since we don't know beforehand what the thumbnail type is - we have to wait for the API request. (We can't do thumbnail URL guessing here since we cannot catch the 404 error.) In general the whole API handling here is not so good, with a separate API request going out when we should just get all size options in a single request, when the user opens the reuse panel. Change-Id: I502b7cb4e99d8af348d7d1967eb8343ec0f926fe Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/471 |
||
---|---|---|
.. | ||
mmv.ui.canvas.test.js | ||
mmv.ui.canvasButtons.test.js | ||
mmv.ui.categories.test.js | ||
mmv.ui.description.test.js | ||
mmv.ui.fileUsage.test.js | ||
mmv.ui.metadataPanel.test.js | ||
mmv.ui.permission.test.js | ||
mmv.ui.reuse.dialog.test.js | ||
mmv.ui.reuse.download.test.js | ||
mmv.ui.reuse.embed.test.js | ||
mmv.ui.reuse.share.test.js | ||
mmv.ui.reuse.tab.test.js | ||
mmv.ui.reuse.utils.test.js | ||
mmv.ui.stripeButtons.test.js | ||
mmv.ui.test.js | ||
mmv.ui.truncatableTextField.test.js |