Commit graph

762 commits

Author SHA1 Message Date
Mark Holmquist a4c0617b1f Push history state to support links to media viewer
Also listen for popState events so users can use their browser's back
functionality to close the lightbox or go backwards, etc.

Bug: 56469
Change-Id: Id44fea9008adb391817250c2897693f45bead717
2013-11-26 13:09:54 -08:00
Translation updater bot aae1f44b43 Localisation updates from https://translatewiki.net.
Change-Id: Iddd2f67678007a32b2f378ee55a3235dc34964e3
2013-11-26 20:23:30 +00:00
Amir E. Aharoni 5141f71960 Fix images and related CSS for RTL wikis
Change-Id: I18ca1003a317f12ec658aef5ecd4779325407eae
2013-11-26 00:54:18 +02:00
Translation updater bot cda870e6e8 Localisation updates from https://translatewiki.net.
Change-Id: Ic07f2d990be2b877a3fcd542a112aed19fe4511f
2013-11-25 21:16:43 +00:00
Translation updater bot f57029eedf Localisation updates from https://translatewiki.net.
Change-Id: Ia83b704600ab7bacdd098b473d4f0cf02e41ea0b
2013-11-24 20:35:15 +00:00
Translation updater bot d273617b7a Localisation updates from https://translatewiki.net.
Change-Id: I1960d3692641470d2e2a94cb80ff7c57c0a0e82e
2013-11-23 10:48:05 +00:00
Dereckson 4390d1e283 Fixing space in a comment
Change-Id: I713dfb75d2fd242b0b314b283e03a7220c3bf383
2013-11-23 02:18:41 +01:00
Mark Holmquist 5aaf1e73fe Reorganize UI to be...way sexier.
There's just no other adjective for this, it is _super_ nice.

There may be refinements later as the designers get things together.

Bug: 56499
Change-Id: I200684a19c190444587f520595186e9ae5afbea6
2013-11-21 09:47:05 -08:00
jenkins-bot 2d2dc0353b Merge "Preserve space for the description even if it is not present" 2013-11-20 19:16:59 +00:00
Gergő Tisza 15108af3b1 Preserve space for the description even if it is not present
Bug: 56494
Change-Id: I22daa18cd5d697049cc1cef2f15c8de32e0746e3
2013-11-20 11:10:21 +00:00
Translation updater bot 809fb85bca Merge "Localisation updates from http://translatewiki.net." 2013-11-19 06:42:20 +00:00
Mark Holmquist 24a8092a2f Measure sitename clicks too
Change-Id: Iad105fbc9d257db895660d7afac77294e7907f7a
2013-11-18 22:04:10 +00:00
Mark Holmquist 95a88d43d1 Use oojs to extend multilightbox objects
Simple now, only really aliases the classes, but we'll use them to replace
the hooking infrastructure in the near future.

Change-Id: I963a4887a717c9bb064e30fa5fb86bbccb7186a1
2013-11-18 13:50:02 -08:00
Translation updater bot 353a182ecb Localisation updates from http://translatewiki.net.
Change-Id: If3ba6953e28e4cd1e1e2684b5615a7e1dc801199
2013-11-18 20:38:56 +00:00
jenkins-bot 1f24f820e5 Merge "Use moment.js for date formatting" 2013-11-18 18:45:48 +00:00
Translation updater bot 2e4c68fdce Localisation updates from http://translatewiki.net.
Change-Id: I60966f1264c4f64298454d80a802bb198da4549c
2013-11-17 20:26:07 +00:00
tgr 5d419682f5 Use moment.js for date formatting
Add moment.js ( http://momentjs.com/ ) as a ResourceLoader module
and use it to parse and format date strings. Moment.js seems to be
the least bad option right now; eventually it should be replaced
by i18n functionality in core Javascript modules.

Change-Id: I332655778be3d694781b83fa5dea1e59770d8866
2013-11-15 14:53:45 +00:00
Mark Holmquist 96c4b06858 Rewrite of UI initialization
Split it into a bunch of different functions.

No helper functions because apparently most of my UI code is pretty
unique and not refactorable, or at least not easily.

Change-Id: I8209fd91ec6788c26b8dea26d97c26f8231ddbbf
2013-11-14 21:38:51 +00:00
Mark Holmquist c0c9e7037f ResourceLoader consistency file moves
Keep modules in separate dirs, move images to their module dirs, and fix
up the module declarations so they still work.

Also moved viewer.svg into the root.

Bug: 56421
Change-Id: Ia84ddfd3b91c784c42d9ba243c5cfd46354f139f
2013-11-14 13:38:40 -08:00
Translation updater bot c49e587b60 Localisation updates from http://translatewiki.net.
Change-Id: I0f2d03c6ba13dfabc382b48106f3abb83229b94c
2013-11-14 20:36:11 +00:00
jenkins-bot b8b7aa2e7c Merge "Don't interfere with middle click" 2013-11-13 20:52:40 +00:00
Translation updater bot 682a256b06 Localisation updates from http://translatewiki.net.
Change-Id: I68198a3283df76e6ddf0b2bcc64502d968c33f92
2013-11-13 20:22:48 +00:00
Translation updater bot c94d1215b1 Localisation updates from http://translatewiki.net.
Change-Id: I8689f8113f5df87e6b10e0912487275df72ad331
2013-11-12 20:31:35 +00:00
Ebrahim Byagowi f6e4ba2b20 Don't interfere with middle click
Bug: 56905
Change-Id: Ib612a77e825324f5b262bc757ae3dc4346d8b858
2013-11-12 20:09:47 +00:00
Translation updater bot 7a0efb7bab Localisation updates from http://translatewiki.net.
Change-Id: I2a567434493690311b6f373f8ae07b2bb76d0c7d
2013-11-11 20:19:22 +00:00
Translation updater bot 5b859a3e36 Localisation updates from http://translatewiki.net.
Change-Id: I41b0a4310710eb09d795a037ebc6f21fa272e2fb
2013-11-10 20:28:54 +00:00
Translation updater bot 1e7506b08a Localisation updates from http://translatewiki.net.
Change-Id: I5c7a882820c1114c9b34f7099684f11ac28889fc
2013-11-09 19:12:18 +00:00
Translation updater bot 9b5400dc28 Localisation updates from http://translatewiki.net.
Change-Id: Icc730d5ae160f72443274437c0c74a5fe7052121
2013-11-07 20:21:14 +00:00
Translation updater bot 66e7b5f2a0 Localisation updates from http://translatewiki.net.
Change-Id: I82aeba291f77d80366dd8efa0c7d2d1510c0be8d
2013-11-06 20:47:58 +00:00
jenkins-bot 2ecc736379 Merge "Shorter text for license link" 2013-11-06 16:33:41 +00:00
Translation updater bot 2a9464db64 Localisation updates from http://translatewiki.net.
Change-Id: I653be340fbda50b85316ae8631ca4a9be36b2b1e
2013-11-05 21:07:57 +00:00
tgr b0b0ee726f Shorter text for license link
Bug: 56456
Change-Id: I293122de3eca900962c40e5ee5898e5c29155cb4
2013-11-05 00:15:50 +00:00
jenkins-bot daccf8ce23 Merge "Support for all manner of images" 2013-11-04 21:56:03 +00:00
Mark Holmquist 32a1c2e194 Support for all manner of images
Thumbnails still supported, but we also do categories and galleries,
now!

https://mingle.corp.wikimedia.org/projects/multimedia/cards/57

Change-Id: Ieee973eb165eec3e4cff1f0d387e2c20369e126b
2013-11-04 13:40:31 -08:00
Translation updater bot 601af534de Localisation updates from http://translatewiki.net.
Change-Id: I2d3335e83054a22fcebf74aef0723a5a6aa11ca9
2013-11-04 19:59:51 +00:00
Translation updater bot 5cb29c2e3a Localisation updates from http://translatewiki.net.
Change-Id: Ie8752b10e549694756b25550d215e7dee405cc06
2013-11-03 19:57:06 +00:00
Translation updater bot a179179b06 Localisation updates from http://translatewiki.net.
Change-Id: Ied853f09f9ea7aa13e78e9ee2ada078fc6745f3f
2013-11-02 20:00:11 +00:00
Mark Holmquist 21e4d76ea8 Make description scrollable
The autoEllipsis nonsense wasn't working, this is wayyy better.

Bug: 56145
Change-Id: Iaca83c405969d09c53c09561236a39d82bad7de2
2013-11-01 12:21:37 -07:00
jenkins-bot d0ed247165 Merge "Fullscreen support for IE 11" 2013-11-01 17:27:23 +00:00
Brion Vibber 5d4e12e3b9 Fullscreen support for IE 11
Support "ms"-prefixed fullscreen API in IE 11.

Bug: 56470
Change-Id: I7647433c12314ac34f3fcd6d03e7d4da6893a7ee
2013-11-01 10:06:59 -07:00
Brion Vibber 64fb52a709 MultimediaViewer hi-DPI support
Multiply target dimensions by $.devicePixelRatio() when fetching
image for the viewer lightbox.

Bug: 55477
Change-Id: I5d64d21ecc563486a6f7d4709cebc129ef77f930
2013-11-01 16:20:05 +00:00
jenkins-bot ea4949891b Merge "Fix bug in spinner code" 2013-10-31 22:40:09 +00:00
Mark Holmquist dd3df43e37 Fix bug in spinner code
Needed to use $.createSpinner instead of hacking in the image directly,
else bits.wikimedia.org won't work as expected. Will test on beta.

Change-Id: I0eba356f7910fd6a3173ed66c601fd42264ff336
2013-10-31 15:33:40 -07:00
jenkins-bot e33f80df21 Merge "Fullscreen fix" 2013-10-31 22:19:19 +00:00
tgr 4a7f53931a Fullscreen fix
Bug: 56374
Change-Id: I28b90244e3bb97654e4f6c9b0c07a8d336ffdd78
2013-10-31 22:14:24 +00:00
Translation updater bot c28c8a9641 Localisation updates from http://translatewiki.net.
Change-Id: I41e3386107a57bf55757eebe57c420286e3c635c
2013-10-31 20:22:05 +00:00
jenkins-bot bd0ae60a68 Merge "Icon changes" 2013-10-31 17:33:26 +00:00
Mark Holmquist 45f0820ec1 Icon changes
Removed unused circle.svg, added use.svg for "use this file", added
new SVG versions for most icons from Vibha.

Change-Id: Ice2db8fdaf785dae9d3018f78db35c6cbd15f774
2013-10-31 10:16:41 -07:00
Mark Holmquist dd2e2d153f Add info links for Media Viewer
Bug: 56332
Change-Id: I2d229481693735a4662f1d898bd0f19c200e39bc
2013-10-31 17:15:43 +00:00
jenkins-bot 9411057591 Merge "Clear entire interface" 2013-10-30 20:34:41 +00:00