mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-20 03:42:24 +00:00
21438d2b22
Repo was only used in two locations: 1. StripeButtons.set for `isCommons` - can be replaced by `descriptionUrl.includes('//commons.wikimedia.org/')` 2. EmbedFileFormatter.getSiteLink (unused) Furthermore: - Simplify StripeButtons (we only have one button) - Unwrap info objects consisting of `ImageModel` and `Repo` - Remove unused EmbedFileFormatter.getSiteLink - Inline EmbedFileFormatter.getCaption and EmbedFileFormatter.getLinkUrl - Fix JSDoc type `ImageModel` Reduces mmv bundle size from 28012 to 27246. Bug: T77349 Change-Id: Ia4388fe4d5e1d6112a992e826453cd5799a6a4b4 |
||
---|---|---|
.. | ||
img | ||
checker.png | ||
mmv.ui.canvas.js | ||
mmv.ui.canvas.less | ||
mmv.ui.canvasButtons.js | ||
mmv.ui.canvasButtons.less | ||
mmv.ui.description.js | ||
mmv.ui.dialog.js | ||
mmv.ui.dialog.less | ||
mmv.ui.js | ||
mmv.ui.metadataPanel.js | ||
mmv.ui.metadataPanel.less | ||
mmv.ui.metadataPanelScroller.js | ||
mmv.ui.metadataPanelScroller.less | ||
mmv.ui.permission.js | ||
mmv.ui.permission.less | ||
mmv.ui.progressBar.js | ||
mmv.ui.progressBar.less | ||
mmv.ui.stripeButtons.js | ||
mmv.ui.stripeButtons.less | ||
mmv.ui.truncatableTextField.js | ||
mmv.ui.truncatableTextField.less | ||
mmv.ui.viewingOptions.js | ||
mmv.ui.viewingOptions.less |