mediawiki-extensions-Multim.../resources/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
..
img Extract mmv.ui.restriction module 2024-05-17 20:51:05 +00:00
checker.png
mmv.ui.canvas.js Use mw.msg shortcut 2024-05-29 05:14:01 +00:00
mmv.ui.canvas.less Remove the thumbnail blurring 2024-05-25 00:56:35 +00:00
mmv.ui.canvasButtons.js Remove FileRepoInfo API and Repo model 2024-05-31 08:13:08 +02:00
mmv.ui.canvasButtons.less Use Codex icons 2024-05-04 20:54:12 +03:00
mmv.ui.description.js Remove IIFE 2024-05-21 22:31:15 +02:00
mmv.ui.dialog.js Remove FileRepoInfo API and Repo model 2024-05-31 08:13:08 +02:00
mmv.ui.dialog.less Use heavier box shadow for the dialog 2024-05-16 21:28:10 +02:00
mmv.ui.js Remove IIFE 2024-05-21 22:31:15 +02:00
mmv.ui.metadataPanel.js Remove FileRepoInfo API and Repo model 2024-05-31 08:13:08 +02:00
mmv.ui.metadataPanel.less Extract mmv.ui.restriction module 2024-05-17 20:51:05 +00:00
mmv.ui.metadataPanelScroller.js Remove IIFE 2024-05-21 22:31:15 +02:00
mmv.ui.metadataPanelScroller.less styles: Replace old variables calls with skin variables 2023-04-16 03:32:27 -07:00
mmv.ui.permission.js Use mw.msg shortcut 2024-05-29 05:14:01 +00:00
mmv.ui.permission.less Use Codex icons 2024-05-04 20:54:12 +03:00
mmv.ui.progressBar.js Use CSS transitions for the progressbar. 2024-05-30 20:00:07 +00:00
mmv.ui.progressBar.less Use CSS transitions for the progressbar. 2024-05-30 20:00:07 +00:00
mmv.ui.stripeButtons.js Remove FileRepoInfo API and Repo model 2024-05-31 08:13:08 +02:00
mmv.ui.stripeButtons.less Fixes button sizes on file page and overlay 2023-12-13 18:34:16 +00:00
mmv.ui.truncatableTextField.js Remove IIFE 2024-05-21 22:31:15 +02:00
mmv.ui.truncatableTextField.less Use Codex colors to fix dark mode 2024-05-04 12:04:25 +03:00
mmv.ui.viewingOptions.js Use mw.msg shortcut 2024-05-29 05:14:01 +00:00
mmv.ui.viewingOptions.less Fix dialog background color 2024-05-09 21:47:20 +03:00