mediawiki-extensions-Multim.../tests/qunit/mmv/ui
Simon Legner 21438d2b22 Remove FileRepoInfo API and Repo model
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
2024-05-31 08:13:08 +02:00
..
mmv.ui.canvas.test.js Remove the thumbnail blurring 2024-05-25 00:56:35 +00:00
mmv.ui.canvasButtons.test.js Improve variable declarations in JavaScript 2023-11-06 23:11:23 +00:00
mmv.ui.description.test.js Improve variable declarations in JavaScript 2023-11-06 23:11:23 +00:00
mmv.ui.download.pane.test.js Remove FileRepoInfo API and Repo model 2024-05-31 08:13:08 +02:00
mmv.ui.metadataPanel.test.js Remove FileRepoInfo API and Repo model 2024-05-31 08:13:08 +02:00
mmv.ui.metadataPanelScroller.test.js build: Updating dependencies 2024-02-13 02:13:29 +00:00
mmv.ui.permission.test.js Improve variable declarations in JavaScript 2023-11-06 23:11:23 +00:00
mmv.ui.progressBar.test.js Use CSS transitions for the progressbar. 2024-05-30 20:00:07 +00:00
mmv.ui.reuse.dialog.test.js Remove FileRepoInfo API and Repo model 2024-05-31 08:13:08 +02:00
mmv.ui.reuse.embed.test.js Remove FileRepoInfo API and Repo model 2024-05-31 08:13:08 +02:00
mmv.ui.reuse.share.test.js Merge download/share/embed into mmv.ui.reuse module 2024-05-24 18:27:03 +00:00
mmv.ui.reuse.utils.test.js Merge download/share/embed into mmv.ui.reuse module 2024-05-24 18:27:03 +00:00
mmv.ui.stripeButtons.test.js Remove FileRepoInfo API and Repo model 2024-05-31 08:13:08 +02:00
mmv.ui.test.js Remove unused code from mmv.ui 2024-05-20 23:02:04 +00:00
mmv.ui.truncatableTextField.test.js Make functions in HtmlUtils class static 2024-05-10 18:42:24 +03:00
mmv.ui.viewingOptions.test.js Use Codex icons 2024-05-04 20:54:12 +03:00