Commit graph

1365 commits

Author SHA1 Message Date
Gilles Dubuc 1409475187 Adapt to OOUI change in dropdown widget
Bug: T89444
Change-Id: Ie65ad811296b5bce6c43f6c37a00f8d899418f8a
2015-02-13 15:20:59 -06:00
Translation updater bot b596fd3b8b Localisation updates from https://translatewiki.net.
Change-Id: If1e5ffc96233b7f0622c84dd54f148a503a6ad8a
2015-02-12 21:34:35 +01:00
Gilles Dubuc 8c37b7abb4 Wait for the download menu to appear before closing it
In practice doing this quickly still works, but the browser test in IE
catches the menu at exactly the wrong time (when it appears briefly
before disappearing).

Bug: T89087
Change-Id: I4076943bf33a566ec882f69d17f6a3a9f1a28002
2015-02-11 20:28:13 +01:00
Translation updater bot 520c23143c Localisation updates from https://translatewiki.net.
Change-Id: I4d64cce0b6d64bd34a0fe6ac2d685f9c3812c3bc
2015-02-08 21:49:03 +01:00
Pau Giner 361315b8af Icon updates
License icons have been updated for consistency with mobile media viewer.
File icon has been changed to match the former ones in color.

Change-Id: I8bc102755829b65ebace9608ca47a3bc2201da4a
2015-02-05 14:53:55 -08:00
Translation updater bot d63905a9dc Localisation updates from https://translatewiki.net.
Change-Id: I6f221e95b89d8df56b8ee692f566f6be3e5e0535
2015-02-03 22:55:39 +01:00
jenkins-bot 32de97910d Merge "Attempt to improve reliability of cucumber tests" 2015-01-30 00:30:36 +00:00
Translation updater bot 8803ff4ec2 Localisation updates from https://translatewiki.net.
Change-Id: I4d3b1d7c39792e5c07b497e2b3c4f5fe3fcb3ec9
2015-01-29 23:03:47 +01:00
Gilles Dubuc d638d9906c Record performance log hits regardless of ResourceTiming data contents
Bug: T87877
Change-Id: Ia196ef82004413144a9a256b73bd35aec8135760
2015-01-29 11:23:11 -08:00
Namit 7d22677ffd "View in browser" link limited to the text
Only the image and the text("View in browser") is now clickable.

Bug: T87427
Change-Id: I6650cf5a7b7cf2b8200087c7687495cdeaf0a3e1
2015-01-29 19:27:23 +05:30
Gilles Dubuc e3b222ffa2 Attempt to improve reliability of cucumber tests
Bug: T87831
Change-Id: I4c1049037f788630c84d4780309d683682fe756f
2015-01-28 16:46:27 -08:00
jenkins-bot 3d604b1297 Merge "Add 'license-name' matching SPDX conventions" 2015-01-28 21:59:43 +00:00
Translation updater bot 1f0b7ca5d2 Localisation updates from https://translatewiki.net.
Change-Id: I91a35792bc452887f66917b3c29f713e268a6ca7
2015-01-28 22:37:43 +01:00
Ricordisamoa 655922172c Add 'license-name' matching SPDX conventions
References:
http://spdx.org/licenses/
https://www.mediawiki.org/wiki/Manual:$wgExtensionCredits#license-name

Change-Id: Ifda5075a6c649852f2c769515229c80650454ead
2015-01-28 22:33:35 +01:00
Translation updater bot 2582cd8211 Localisation updates from https://translatewiki.net.
Change-Id: I4734ad525b617c0d1e302f95c5813cf352f68be4
2015-01-26 22:41:13 +01:00
Translation updater bot 346bcf4c8c Localisation updates from https://translatewiki.net.
Change-Id: I0a3fe56e76eb876572ef05e7f3dd5d7dc2e7c134
2015-01-25 21:48:48 +01:00
jenkins-bot a588751d6f Merge "Collect thumbnail width in the performance log" 2015-01-23 23:04:20 +00:00
Gilles Dubuc 8309d7ea88 Collect thumbnail width in the performance log
Bug: T86609
Change-Id: Ia0934cf76c323b9bcb2ee7b0ee8ee6ca2aefc600
2015-01-23 14:57:36 -08:00
jenkins-bot 6bde670acc Merge "Match size of preview and real image" 2015-01-23 22:16:58 +00:00
Translation updater bot 94ae57549e Localisation updates from https://translatewiki.net.
Change-Id: Iad093d8f8ef1eeb17d12280d9b2bd8c29c09e7bf
2015-01-23 22:28:18 +01:00
Divya adbf42280e Match size of preview and real image
Bug: T87295
Change-Id: I04746dcb80e571a624366b86fd5c5f4cbc31185b
2015-01-23 15:22:39 -05:00
Fomafix ae99be730e Apply coding conventions for JavaScript
Change-Id: I57a8f188eb1152438a8e94235a6f6801e2617c28
2015-01-23 12:48:27 +00:00
Translation updater bot 7a49167905 Localisation updates from https://translatewiki.net.
Change-Id: If079827fb1571e87709f61256ac02fd99482d09f
2015-01-22 23:22:11 +01:00
Divya 94b84fcd28 Removed the second scrollbar appeared while loading images
Bug: T77889
Change-Id: If2786401101b95caba52603389ec530cf48d6818
2015-01-20 01:43:26 -05:00
Translation updater bot 887050ea39 Localisation updates from https://translatewiki.net.
Change-Id: I849635e3c1eb809de909b44eb516b941538b8848
2015-01-19 22:04:03 +01:00
Translation updater bot 7ee8ae9b1e Localisation updates from https://translatewiki.net.
Change-Id: I07fe86d9f27ff7850b11d0d02f67f70e0bec85b2
2015-01-18 22:20:38 +01:00
Translation updater bot b00836aa49 Localisation updates from https://translatewiki.net.
Change-Id: I93569a61008b9577e3eb5a1bc334dd95bbc9f286
2015-01-16 21:20:46 +01: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
gladoscc 40738c832a Display the file name in metadata panel
This patch adds the file name to the metadata panel, after the license
item. The namespace prefix is included and set to a static 'File:'.

The Title class already converts underscore to spaces.

The icon is from @Pginer-WMF.

PS: This has been a frequent annoyance for me, I'm glad to be working
on this patch!

Bug: T76680
Change-Id: I7d1f4ce67a6776ac017f8afe49cb3102b267af5c
2015-01-13 19:45:43 +11:00
m4tx b2aaae4b19 Fix download panel not showing on rclick after pressing esc
Bug: T86389
Change-Id: Ic158c579c4a7a6e48bcbd9cdfb724712b1e2fece
2015-01-13 01:06:59 +01:00
Translation updater bot af1e9ac4e9 Localisation updates from https://translatewiki.net.
Change-Id: I93df068ea333c9c5c0fb2cc3335538c1134595ce
2015-01-12 22:38:59 +01:00
Translation updater bot fc0a5eb7a7 Localisation updates from https://translatewiki.net.
Change-Id: Ic04537f5f437af58e8848c7aaa8b388147f2e35e
2015-01-08 22:45:51 +01:00
Translation updater bot 6aabed1013 Localisation updates from https://translatewiki.net.
Change-Id: I1c7e7d5257895fb740836f32bf209f1848c2e5f4
2015-01-07 22:18:50 +01:00
jenkins-bot 540e7028be Merge "Open the download panel when an image is right clicked" 2015-01-07 17:39:53 +00:00
Namit d66509e2de Open the download panel when an image is right clicked
Many users right-click on images as a way to download them.Due to this,
they may get a scaled-down version which is used for display purposes and
also not given guidance on how to attribute.

Bug: T75999
Change-Id: I30655a0dda4430b494a393f1fa708fce6ca6fafe
2015-01-07 22:48:00 +05:30
Translation updater bot eb11fdff39 Localisation updates from https://translatewiki.net.
Change-Id: Iaecc2d2852927c319606722d99d3131214f10d1b
2015-01-06 22:27:02 +01:00
Translation updater bot 0788669bc7 Localisation updates from https://translatewiki.net.
Change-Id: I3dc4ac8eec19aac82fbf75a5fd1f3cee958d72e5
2015-01-05 23:08:11 +01:00
jenkins-bot 87591ab67f Merge "QA: back button workaround for Safari" 2015-01-05 16:56:43 +00:00
Cmcmahon c3a7bb5782 QA: back button workaround for Safari
Bug T85802

Change-Id: I4a3b360ffddbab5c22ca1eb3b03c45159425de70
2015-01-05 09:43:23 -07:00
Translation updater bot 0cda956cea Localisation updates from https://translatewiki.net.
Change-Id: Ia1dab9bfe82786adcddbdeb93fce73ee8b7ffe31
2015-01-04 21:49:29 +01:00
Translation updater bot f1942eb0f3 Localisation updates from https://translatewiki.net.
Change-Id: I7f9e5679353f2f83cf89dd28ad33fd117d9990d1
2015-01-03 23:03:44 +01:00
Translation updater bot b8821a2a3b Localisation updates from https://translatewiki.net.
Change-Id: I445108f6f889ec4d1c84d83b81a660ebc768603c
2015-01-02 22:36:23 +01:00
gladoscc 7f4ce833d4 Log right-clicks on the image
Record how many users right-click on the image in MediaViewer, with the
assumption being they're intending to download the image. However, that
image has been resized and is not the original.

The event is logged even if the metadata panel is open, as the user probably
still intended to download.

Bug: T75962
Change-Id: I223ed957bcc60646adf9c9a00d2d9ca18ad128e6
2015-01-01 13:24:32 +11:00
Geoffrey Mon cf67495467 Allow bold and italic text
Added mmv.HtmlUtils.htmlToTextWithTags()
  which is similar to htmlToTextWithLinks()
  but allows <b> and <i>
Added test for mmv.HtmlUtils.htmlToTextWithTags()
Most text fields now use htmlToTextWithTags()
  except Permission field which is not supposed to
  have HTML

Bug: T69887
Change-Id: I16833f218e2f64586aa13925356fa2b8b7ec3100
2014-12-31 01:01:50 +00:00
jenkins-bot f65d846b81 Merge "Add mw.mmv.viewer shortcut for current MediaViewer instance" 2014-12-31 01:01:00 +00:00
jenkins-bot ac7bfa9274 Merge "Show alt-text in export dialog and for lightbox image" 2014-12-30 21:00:09 +00:00
Geoffrey Mon 8ba4ff03c8 Show alt-text in export dialog and for lightbox image
Pass alt parameter from mmv.bootstrap.js to mmv.js and
set it as a parameter on the displayed lightbox image.
Include the alt text in the embed text.

Bug: T66519
Bug: T75923
Change-Id: I29503eb582ac2bc8cf89f737a3bcb787b660d918
2014-12-30 15:47:25 -05:00