Commit graph

116 commits

Author SHA1 Message Date
Simon Legner e0aa14529c Change attribution and download interface
- Use Codex styles for mmv.ui.reuse
- Replace unofficial component dropdown with Codex Select and Button
components.
- Drop OOUI dependencies

Bug: T340258
Change-Id: I539d1b5f0d7e3c02f767807da57324ea6a36ad5b
2024-05-05 05:16:19 +00:00
Simon Legner ea78739fd0 Use Codex styles for mmv.ui.download.pane
Bug: T340258
Change-Id: I3dc1b5ffdf8c6a810e9e16a2b7f293757cce5306
2024-05-04 20:53:09 +03:00
Simon Legner 48b6c76601 Notify user and close MMV if image from route not present on page
Fixes: only a black screen without any controls or messages is shown

Bug: T77327
Bug: T336619
Change-Id: I53687fce2c767ff6681707da424b974ecf51675a
2023-06-12 19:13:48 +00:00
Iniquity 5803ea79eb Remove discussion and help links from footer
Bug: T133899
Change-Id: Ide631cd8bd98ff5084a8c406515c53b8a0cb033a
2022-02-06 01:15:02 +00:00
Translation updater bot 3c41ef08fe Localisation updates from https://translatewiki.net.
Change-Id: I1d00479e71f26c1fe02ff04e79016514edacaf8c
2021-03-08 08:46:47 +01:00
Translation updater bot f869ee4bd2 Localisation updates from https://translatewiki.net.
Change-Id: Ifb0d0aae031ddd3d69be074fae4fbdd5267a6404
2020-08-17 08:43:39 +02:00
Translation updater bot 56c0e37834 Localisation updates from https://translatewiki.net.
Change-Id: I6a6b3c267647b44f934c3f00d6f5f8fe144afdcb
2020-08-14 08:38:52 +02:00
Translation updater bot 340b2955a4 Localisation updates from https://translatewiki.net.
Change-Id: If0cffd7fd736b5ac139e44e02ddadb957c7a7e35
2020-04-07 08:45:13 +02:00
Simon Legner 2fbf2c06a9 Download sizes: 480p, 720p, 1080p, 2160p
Bug: T77642
Change-Id: I41b7d59d14342345fc060085b755ce28f3e9cf98
2019-05-26 19:15:09 +02:00
Translation updater bot 0808346969 Localisation updates from https://translatewiki.net.
Change-Id: I8f716bcc40c4a15e14e7d9a8275f31d080b7b0c9
2019-05-20 22:30:10 +02:00
Simon Legner 44ed1c69b8 Fix typos in qqq.json
The keys/strings "small" and "large" were mixed up.

Change-Id: Icf3b4853d0fe6e156d1fa9cc0754fd9815739411
2019-05-19 20:25:20 +02:00
James D. Forrester 23b2f78642 Remove the BetaFeatures integration
Not used in years. Sadly $wgMediaViewerEnableByDefault has to remain
for now.

Change-Id: If2d90627de230b9b36e7b24abe0d4bdee8a2ef35
2019-05-08 11:22:35 -07:00
Translation updater bot 7389251ea0 Localisation updates from https://translatewiki.net.
Change-Id: I56cec524d9ce3ddb9ffbd9c40d6e5239055694f8
2018-05-15 22:24:45 +02:00
Translation updater bot 5c8a0fc890 Localisation updates from https://translatewiki.net.
Change-Id: Ica4138ce885484cb0a64b494348003c636807976
2018-05-13 22:18:19 +02:00
Translation updater bot a39647a247 Localisation updates from https://translatewiki.net.
Change-Id: I50f56d442c57ac81d211105139d8df45cfdc4a14
2017-10-11 23:03:42 +02:00
Translation updater bot bca4e8d9aa Localisation updates from https://translatewiki.net.
Change-Id: I6718224ceab583017e1878d593184d9ba08672fa
2017-09-30 22:47:55 +02:00
Gergő Tisza bbe174bca8 Display warning for licence/attribution problems
Bug: T76030
Bug: T71389
Bug: T71557
Change-Id: I38c1548a0de6cfd3a48db7efd7502a99f168d4a5
2017-09-28 15:34:30 +02:00
Translation updater bot cd58b5d915 Localisation updates from https://translatewiki.net.
Change-Id: Iafcf0c8924dbfb5a9a97b4156189d362842eecd6
2017-06-21 22:48:38 +02:00
Geoffrey Mon fc84b8e125 Copy button for attribution text in download dialog
In addition:
* .mw-mmv-reuse-copy => .mw-mmv-dialog-copy because it's not just a
  reuse dialog thing anymore
* Adjust margin between attribution textbox and attribution option
  widget to stay consistent with reuse dialog UI

Bug: T77295
Change-Id: I79abdc1a3c10f0a8c3ecb6f4d444a601595a903f
2016-12-28 11:35:02 -05:00
jenkins-bot 569598cf6a Merge "Add button to select and copy share/embed text to clipboard" 2016-12-26 08:25:38 +00:00
Geoffrey Mon a907339f89 Add button to select and copy share/embed text to clipboard
Clipboard icon adapted from modules/tools/images/pasting.svg from the
ContentTranslation extension.

Also adjusts some margins to better separate embed code box from embed
options

Bug: T77295
Change-Id: Ic7a11eab6ecc767ad4d80b94a7b62578d535d047
2016-12-25 23:59:47 -05:00
Geoffrey Mon aa0b9d81c6 Add alt text attributes to all of the lightbox buttons
* Re-adds next/prev i18n msgs (removed in 532819)
* Adds alt attributes to close, fullscreen, options, next, prev,
  download, and reuse buttons

Bug: T58471
Change-Id: I6ea62124018b1a0ec5110bb500f690cb2368f102
2016-12-13 17:32:16 +00:00
Translation updater bot 1fc8aafe3c Localisation updates from https://translatewiki.net.
Change-Id: I1583b7f590b417b3a34e41378d0cf58272b35e61
2016-10-02 10:40:25 +02:00
Andrew H 0c3b0a5056 Shorten clickable link text in HTML credit lines
Previously, the clickable text in the generated HTML credit lines
was the entire link to the article. This is shortened to a localized
version of "Link".

Bug: T119686
Change-Id: I708f65a85bfa26c264cdd06a265096027266240c
2016-09-26 17:07:09 -07:00
Translation updater bot 38e3b35803 Localisation updates from https://translatewiki.net.
Change-Id: I144b64a6cee4d94b4bb4843eeb096a00d04ae383
2016-07-12 22:50:55 +02:00
Translation updater bot ac0825a495 Localisation updates from https://translatewiki.net.
Change-Id: I4a71535f52b05e9424c78a8ccad9ef983545f169
2016-03-05 22:58:35 +01:00
Translation updater bot 3c3584e2be Localisation updates from https://translatewiki.net.
Change-Id: I67068a672fe825787bc19359b74b4f76fa73b366
2016-01-31 21:40:44 +01:00
Translation updater bot 1a36c6d804 Localisation updates from https://translatewiki.net.
Change-Id: I89d688637360af2cb2fa4fa4d56e192b12b9ef02
2016-01-29 22:42:26 +01:00
IoannisKydonis 15793c3081 Use American English in messages - replace 'behaviour' with 'behavior'
Thread: https://translatewiki.net/wiki/Thread:Support/British_English_in_Mediawiki_messages
Change-Id: If6c20aead2bee45584e93c80059b31bb3c4dbe2d
2016-01-19 21:51:04 +00:00
Andrew H 1b2866df0d Shorten MediaViewer credit lines
Drop the title and site name. Use a shortened URL
created using the pageID for the curid query parameter.

Add pageID property to mmv.model.Image, using value already
fetched from an existing API request.

Bug: T119686
Depends-On: I0f00b986e6095bdb9b8d6af6fbc5b01995227e02
Change-Id: I9189f00bfbf7639974d66cf1921773855a77a865
2016-01-10 23:44:23 +00:00
Julius Alphonso a9758d21e0 Remove uploader's name from MediaViewer
Only last uploader's name is shows, this turns out to be
more confusing than useful.

Bug: T59308
Change-Id: I7d06b72c581fe8738bffc64b5e36be9983b01ccf
2015-12-29 10:56:08 +05:30
Translation updater bot f897f2b0a2 Localisation updates from https://translatewiki.net.
Change-Id: Ib7b44bdf17a74e20c2efba09e6f0eb6600f4d2f7
2015-12-20 22:34:33 +01:00
Translation updater bot 9c74a13c0e Localisation updates from https://translatewiki.net.
Change-Id: Ibda53ed00bc6d188a39677e0bbcc06541f06a2fb
2015-10-29 21:25:02 +01:00
Translation updater bot c1f69de77e Localisation updates from https://translatewiki.net.
Change-Id: I7dce64385e54d3c4725f2239510ede5bb78cda12
2015-10-28 21:54:54 +01:00
Gergő Tisza 77bfbf61aa Add some error details to bug report
Bug: T111112
Change-Id: I1c3a31ddaefdfec0d86b80891671316741e53b0c
2015-10-26 17:12:34 -07:00
Translation updater bot 0c4359ac3a Localisation updates from https://translatewiki.net.
Change-Id: I60de9867265fdfb3f8f7a3311e7a027bfb688461
2015-07-16 21:13:09 +02:00
Geoffrey Mon a7f11a7c45 Moar restriction icons!
Icons for all important non-copyright restriction types.
Also, some tweaks made in CSS e.g. add 1 px margin to top of mw-mmv-labels
Finally, new test to check if default restriction is placed last.

Example files:
copydesign: https://commons.wikimedia.org/wiki/File:Peugeot_404_dsc01875.jpg
trademark: https://commons.wikimedia.org/wiki/File:Logo_NIKE.svg
trademark+insignia: https://commons.wikimedia.org/wiki/File:Flag_of_UNESCO.svg
personality: https://commons.wikimedia.org/wiki/File:Vice_President_Megawati_Sukarnoputri_-_Indonesia.jpg
communist+insignia: https://commons.wikimedia.org/wiki/File:Flag_of_Georgian_SSR.svg
nazi: https://commons.wikimedia.org/wiki/File:PropagandaNaziJapaneseMonster.gif
costume: https://commons.wikimedia.org/wiki/File:Shrek_%26_Fiona.jpg
fan-art: https://commons.wikimedia.org/wiki/File:Magic_wand.gif
(I think that's enough)

Bug: T102693
Change-Id: I907396c59752511448145a4ac5d29096166f841f
2015-07-16 01:06:39 +00:00
Translation updater bot 320bca39ee Localisation updates from https://translatewiki.net.
Change-Id: Ib3c57368d17ce0b6876bc2929d88fc104d946fcb
2015-01-15 22:49:11 +01:00
gladoscc 84a8df8808 Show (tm) symbol if applicable
ImageData will now parse for restrictions (this part has not been
implemented in CommonsMetadata yet), and an orange trademark label
will be displayed next to the license label if there is a 'trademarked'
restriction.

Bug: T77717
Change-Id: Ib03f9708d1e4ff0b5befddc2688b274e2c7ce1f7
2015-01-15 18:21:30 +11:00
Translation updater bot 598b902222 Localisation updates from https://translatewiki.net.
Change-Id: I25460b9e9711f646d88ff93fc64ab41833285d15
2015-01-14 22:41:11 +01:00
m4tx 9a6039b580 Improve error messages UI for Media Viewer
Bug: T77272
Change-Id: I97ffa70903da32c66697c52969cfec2df03c1d57
2015-01-14 08:24:27 +01:00
m4tx dac77cafc4 Change "view terms" to "hide terms" once clicked
metadataPanel overrides the grow() and shrink() methods in Permission
class instance, so the text is changed also when user clicks the
"view more" link inside the box.

Bug: T71233
Change-Id: I66fe57980c6f469d86e3d52b67d01e06a3a14270
2014-12-29 23:23:07 +01:00
Namit 50391b6a01 Permission title changed to "Permission details"
It is not about the license but the permission why Commons may keep this file.
Other permission messages also changed accordingly.

Bug: T66804
Change-Id: Ic3f1f1f8280022f4c0d1b48502cac1709b5c14a1
2014-12-19 12:49:52 -06:00
jenkins-bot ba5acde550 Merge "Make "and X more" message more flexible for translators" 2014-12-18 09:00:14 +00:00
Translation updater bot 401fe0854d Localisation updates from https://translatewiki.net.
Change-Id: I662ee0df12442c7f90926fe4280aae30f5273776
2014-12-07 21:54:50 +01:00
Gergő Tisza b5d3f9ef6c Make "and X more" message more flexible for translators
Also make sure part of it is not a link to avoid two links
ending up next to each other + fix a small documentation bug.

Bug: T76465
Change-Id: I128ec7034b0bb9784fb78d1a5ce90d195555848e
2014-12-02 22:49:29 +00:00
jenkins-bot f2e1423a1e Merge "Show "and X more authors" when a file has multiple info templates" 2014-12-01 16:05:34 +00:00
Translation updater bot 76736b6e4f Localisation updates from https://translatewiki.net.
Change-Id: I256bc577edcea4c13f54226bc73541b22f22b802
2014-11-29 12:55:26 +01:00
Gergő Tisza 485944ba9d Show "and X more authors" when a file has multiple info templates
Bug: T74082
Change-Id: If53e3e364d07ef35a93b3b24430441d390aaf66e
2014-11-27 07:24:26 +00:00
Gergő Tisza 05d803e17a Text changes for better handling of PD and nonfree licenses
Bug: T70687
Change-Id: I84e0094559e5b438fcb33b8511dc0184435c1a37
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/1004
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/631
2014-11-26 02:21:50 +00:00