Commit graph

114 commits

Author SHA1 Message Date
Gergő Tisza af508f066a Make the ellipsis of truncated texts more prominent
Also fixes popup texts which should have been updated in the parent commit
and the panel opening mechanism which did not work when the below-the-fold
description box was display:none-d.

Change-Id: I5fc37429a7dc7a8f1517fa42375cd140d7d11674
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/589
2014-11-11 15:37:14 +00:00
jenkins-bot 6e79ad51f1 Merge "Display a placeholder text when author and source are missing" 2014-10-31 09:41:30 +00:00
Translation updater bot 646d8eb39f Localisation updates from https://translatewiki.net.
Change-Id: I0845e99fc931f13126da44e970e2844509414b10
2014-10-29 22:06:35 +01:00
Gergő Tisza b0bac10627 Display a placeholder text when author and source are missing
Change-Id: I38478956c5a0b5f204e5caa43e54db651f297887
2014-10-29 15:38:56 +00:00
Translation updater bot 8d1648f203 Localisation updates from https://translatewiki.net.
Change-Id: I25daeb459c7b40941974b9557c5b7df74f4bcf9f
2014-10-22 22:03:23 +02:00
Translation updater bot 83018b9e4f Localisation updates from https://translatewiki.net.
Change-Id: I5f928dde88132eb30e7482d49d22f8d20ddc84ea
2014-10-21 23:01:44 +02:00
Gergő Tisza 2c578e6dc3 Show popup when the user visits a file page the first time after disabling MMV
Change-Id: Id2b121c930115373a8a81dc1091c4124807db053
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/719
2014-10-21 14:28:20 +00:00
Gilles Dubuc 90042a5a02 Cog icon & mw.ui styling for expand button
Includes some small refactoring of the bootstrap code to open
MediaViewer so it can be used in a more controller-like fashion, and
removing the .mw-mmv-filepage-menu class which was added in the parent
commit but had no effect since the module was not loaded by default.

Change-Id: I2e7405e694af96e8eca4fcc839b60306232ead01
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/719
2014-10-21 15:16:33 +02:00
Mark Holmquist 1853540cd3 Add viewing options panel
Enable, disable, and get confirmations.

Lots of UI work on this one.

Change-Id: I1f731992bd240e7ea403592872f7c7e270158753
2014-10-19 00:27:15 +02:00
Translation updater bot 5acb0fd0a4 Localisation updates from https://translatewiki.net.
Change-Id: I07c0f9b2cf0e53dca330df80857c9f853f2970ce
2014-09-29 23:31:56 +02:00
Mark Holmquist 0d4863dd91 Make the download pane into its own dialog
Change-Id: Ia92545ed1ef7f2e4ba7934c682eef684a22ca17f
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/841
2014-09-24 17:05:50 +02:00
Translation updater bot 717011766e Localisation updates from https://translatewiki.net.
Change-Id: Ib51bd36e63aca7ef51813f337d539ecf59e4e339
2014-09-11 23:58:32 +02:00
Translation updater bot b5a71b8800 Localisation updates from https://translatewiki.net.
Change-Id: I0e3e41e73a518f1c34947ee7f0efbbf08f1083cf
2014-09-10 23:41:15 +02:00
Gilles Dubuc caa624d711 Remove file usage
Change-Id: I538f7734e1c06a179ee98a5cd843ccee4d91349f
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/835
2014-09-05 08:14:52 +02:00
Translation updater bot 91b7bd265a Localisation updates from https://translatewiki.net.
Change-Id: I01be2ef68350ceb17a9dac715b34e5475f774320
2014-09-04 22:08:22 +02:00
Translation updater bot ebf2836401 Localisation updates from https://translatewiki.net.
Change-Id: Ice4bf7f0fc08abcb9f23456f08c0d1460b85b44b
2014-09-02 22:15:38 +02:00
Translation updater bot a0a7c2f995 Localisation updates from https://translatewiki.net.
Change-Id: I4581042e647458d52f1815fa8fe02aad2edfd6f9
2014-08-27 21:25:50 +02:00
Translation updater bot f5ccd12ee5 Localisation updates from https://translatewiki.net.
Change-Id: I13a001de02b30fd785ce6587a10f36a33287e28b
2014-07-17 22:59:03 +02:00
Gergő Tisza f14d08fd75 Reveal full text when user clicks on title or credit
Reveal the full title + author + source when the user clicks one
of these, and make some related changes:
* expand the above-the-fold part of the metadata panel so they fit
* make the stripe buttons smaller and hide their text
* scroll the panel up if necessary
* modify tooltip texts when there is more text to show

Change-Id: I304297bc5e7be7b16e2fc4bde66ac19641b00029
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/396
2014-07-17 09:42:12 -04:00
Gilles Dubuc b0d885e4dc Remove all survey-related code
Change-Id: I67285260c13a1e8d3c37365bb80a7156c0fecd4e
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/794
2014-07-16 21:27:53 +00:00
Gergő Tisza a57a606ee5 Transclude expand button text in help message instead of copying it
Per translatewiki.net request at
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Multimediaviewer-optout-help/ar

Change-Id: I2bff044ad6d5b2fb3f72cba2cb1f6add181da5f1
2014-07-15 22:12:47 +00:00
jenkins-bot 116d29a651 Merge "Remove trainling dot from download attibution text to not break URLs" 2014-07-07 16:30:56 +00:00
jenkins-bot 06b772d92f Merge "Make description page link and reuse widget more prominent" 2014-07-04 06:45:34 +00:00
Gergő Tisza 4a05b97dc9 Remove trainling dot from download attibution text to not break URLs
When formatting the attribution as plain text, make sure that the
source parameter (which typically ends with an URL) is not followed
by a '.', which could break autolinking when e.g. the text is
copied into a mail.

Change-Id: I5406fe3a55bc4ef6802b32d5a3d533ce9f49b361
2014-07-02 01:11:02 +00:00
Translation updater bot 435161cba9 Localisation updates from https://translatewiki.net.
Change-Id: I8dd28256caaba1026091134e609dfd8acff022fb
2014-06-30 20:38:12 +00:00
jenkins-bot 02216b5ed3 Merge "Add section for attribution of downloads" 2014-06-30 18:36:07 +00:00
Mark Holmquist 532819b5a0 Remove next/prev tooltips
Change-Id: I978914bd57d7fdc260dbc0422915e6b766c35a66
2014-06-30 14:20:41 -04:00
Mark Holmquist a4e6bc22d9 Add section for attribution of downloads
Click on the button to expand, click the X to collapse again.

Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/598
Change-Id: I6d2512cca0184437273329e6553c6524d6953404
2014-06-30 10:38:11 -04:00
Gergő Tisza 8d05dd8a6d Make description page link and reuse widget more prominent
Rearrange the above-the-fold part of the metadata panel so that
the link to the file descriprion page and the button for the
download/share/embed widgets are easier to find.

One gotcha is that favicons are blown up to 32x32px (a small icon
in the middle of a big empty space would really look ridiculous)
so if a site uses 16x16px favicons it will look pixelated.
None of the WMF sites do that though, and if anyone else does, they
should just fix it, 16px favicons suck anyway (e.g. not retina friendly).

Change-Id: Icce12174b6ed89731fe75f8069c0b4a2b7161a34
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/732
2014-06-28 00:28:11 +00:00
Translation updater bot e264878e2b Localisation updates from https://translatewiki.net.
Change-Id: I18e61151057d0e0cdc006a7e03a72790bd875d54
2014-06-20 19:49:40 +00:00
Translation updater bot d6188af75a Localisation updates from https://translatewiki.net.
Change-Id: I341892fbba8e7932a65d114091193242cd247723
2014-06-19 19:28:41 +00:00
Gergő Tisza c01cb55f4d Make optout link more AJAXy
Make it grey, unclickable and change text while waiting for the
AJAX request.

Change-Id: Ic5c2923944658d5be04217cdfe62e1d8608a478f
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/723
2014-06-19 10:42:04 +02:00
Translation updater bot c65effcb64 Localisation updates from https://translatewiki.net.
Change-Id: If12f99cf962453b94fd1ff8f05ed77766c8b5113
2014-06-18 19:56:20 +00:00
jenkins-bot 63757df8b7 Merge "Fix description of date messages" 2014-06-16 18:01:41 +00:00
Gergő Tisza de2f8f1bfb Fix description of date messages
This got swapped up - created is the one which is parsed from a
template and can have all kinds of weird values. Uploaded comes from
MediaWiki and is always a proper localized date.

Change-Id: I12f60770f9841c9b379280cdf2190275fa04e5cb
2014-06-16 18:00:50 +00:00
Translation updater bot 138918b2aa Localisation updates from https://translatewiki.net.
Change-Id: I1119913db030dac99b5e8496665b9bc92a3be9b5
2014-06-14 19:17:08 +00:00
Translation updater bot be4a995c26 Localisation updates from https://translatewiki.net.
Change-Id: I61881d82ea5ecec1aabb6f2af85f05e206e07e90
2014-06-13 20:50:16 +00:00
jenkins-bot a0cfcd48a5 Merge "Tooltips for loads of things" 2014-06-12 22:01:09 +00:00
Translation updater bot 5f0dc0afd7 Localisation updates from https://translatewiki.net.
Change-Id: If8604f2a7a6cd881d9830fe7b760196d6d1d0109
2014-06-12 21:38:22 +00:00
Mark Holmquist ea610f8256 Tooltips for loads of things
Change-Id: I993bf60909024453a14de85af6239bded02eb8a6
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/546
2014-06-12 12:27:04 -07:00
jenkins-bot 76d40a0189 Merge "Change "Created on X" and "Uploaded on X" to "Created: X" etc." 2014-06-11 22:53:27 +00:00
jenkins-bot 6e5a1cb185 Merge "Add opt-out/opt-back link" 2014-06-11 22:47:29 +00:00
Gergő Tisza 5bd730894d Add opt-out/opt-back link
Change-Id: I998b7ad3ecb0b7e815f9ff0d5f871267b91c109d
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/703
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/704
2014-06-11 02:24:17 +00:00
Gergő Tisza afbe172613 Change "Created on X" and "Uploaded on X" to "Created: X" etc.
Based on enwiki feedback by Jonesey95: "Created on…" does not work
well when the date is not a day (and we have dates like "1992" or
"circa 1400"). "Created: …" works reasonably well for everything.

Same for "Uploaded on…".

Change-Id: I46b51880be2151a467ccb90a76dde6efc5991cd5
2014-06-09 23:42:42 +00:00
Mark Holmquist fc02ce0dc8 Use original URL when setting download for original
Messed with the download tests a bit too.

Change-Id: I6b7f6b5eb8642db1a81aff05663636813a21fe06
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/470
2014-06-09 18:30:07 +00:00
Translation updater bot bc3101b5dd Localisation updates from https://translatewiki.net.
Change-Id: I0f1bf8203898ff1259fc0241da718a9256a87130
2014-05-08 20:48:23 +00:00
Translation updater bot 4a8f5a3be5 Localisation updates from https://translatewiki.net.
Change-Id: Ibf337d09cfbb919d567b0794f5c2e5270445debb
2014-05-04 20:08:15 +00:00
Translation updater bot 56d3381c91 Localisation updates from https://translatewiki.net.
Change-Id: I25326cb5917914dd4235005fd3ceb3acc6f35c57
2014-04-25 19:43:01 +00:00
Translation updater bot 85032874e0 Localisation updates from https://translatewiki.net.
Change-Id: I7e7d85187cee301c7b26c5100f9fae81075dbe69
2014-04-18 19:36:22 +00:00
Translation updater bot 9b8f1bc456 Localisation updates from https://translatewiki.net.
Change-Id: Ib37147c4ed30bb261a4715fbbd63aa1189a654b9
2014-04-16 15:42:44 +00:00
Translation updater bot d9bf36db45 Localisation updates from https://translatewiki.net.
Change-Id: Ic8b4fc6349dde84009a41a907d3a6a052c6edddd
2014-04-11 19:48:33 +00:00
Mark Holmquist 1ae138c9e7 Open MMV on hash change on file pages, add link
Change-Id: I4aa53d50bcd4880f341dfb59b7a451e2d5bda2ad
2014-04-10 09:34:01 +02:00
Gergő Tisza ee113af8f5 Make Commons link more prominent
Change-Id: Id546de9671fdc00ba73b01a1bc6398f2da2a6a2b
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/270
2014-04-09 21:45:39 +00:00
Translation updater bot dea0d4d1bc Localisation updates from https://translatewiki.net.
Change-Id: I7afd66a3c3c8e6611450c4e95a96de0e67cd9e1d
2014-04-05 19:43:04 +00:00
Translation updater bot c9e561503d Localisation updates from https://translatewiki.net.
Change-Id: I8ee6db5a01a738ae058fa96b5a1b98b273a75fd1
2014-04-04 20:24:02 +00:00
Gergő Tisza 2fc097fa05 Add tooltips to metadata buttons
Quick and dirty solution via tipsy, can be improved later.

Change-Id: I717b45d9800dbabdaf7d52d1d377f6f6958abdf7
2014-04-04 08:52:29 +02:00
Gergő Tisza 052fd5d3f1 Add metadata button to go to file description page directly
Change-Id: I0f2c2b24aece3b806d572a0ed41dce8031e6ae6b
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/226
2014-04-04 08:45:56 +02:00
Gergő Tisza 871b49dff2 Feedback button
MVP implementation, just a link that opens the survey in a new tab

Change-Id: I9f2fb85cc47ce2be4cf57679bf37f0bda13084b7
2014-04-03 23:14:18 +00:00
Gilles Dubuc 961d47432b Download tab, basic download and preview
* Following design, use split button to display a pulldown
menu with possible image sizes. The download happens by
sending the special "download" parameter to the server.

* Offer link to preview image in the browser.

Change-Id: Ic9d895fead04c9128186c7376a0bb09f3596335c
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/79
2014-04-02 23:00:28 +00:00
Translation updater bot 663e42e0a4 Localisation updates from https://translatewiki.net.
Change-Id: I86364150ca1f792cc83de2a07afa509251ac8939
2014-04-01 19:48:04 +00:00
Translation updater bot 53ec428cc3 Localisation updates from https://translatewiki.net.
Change-Id: I78f5339b9aa6d0b9a2988752d597fe9d0a1d16c5
2014-03-30 20:13:15 +00:00
Translation updater bot 497b3a5694 Localisation updates from https://translatewiki.net.
Change-Id: I3e82922815e42f8ff5e3f09cfe9d6164fdde5231
2014-03-29 21:17:06 +00:00
Translation updater bot e140cb83b8 Localisation updates from https://translatewiki.net.
Change-Id: I24cee6f7857e34985a46dcbfab288d5003b41810
2014-03-28 19:30:50 +00:00
Siebrand Mazeland 007abe4b9c Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I6c9c18577099e972402b0a4aa1364f44f82b74b4
2014-03-28 10:52:39 +01:00