Commit graph

2522 commits

Author SHA1 Message Date
theopolisme 464733af21 Prevent multiple "Use this file" windows
Bug: 56501
Change-Id: Ic86feacb881d3b559d32f33fba508121f8b9ec27
2013-11-29 14:36:21 -06:00
Translation updater bot 32700e6dea Localisation updates from https://translatewiki.net.
Change-Id: If33671f824d7b699f7e258aafd3bde2288bc6418
2013-11-29 19:30:23 +00:00
MatmaRex 1ed2804863 Replace weird .select() reimplementation
Browsers have had a .select() method on <input>s and <textarea>s
since the dawn of the web.

Change-Id: Ib35415115291086300494ef1c6cb3063cd6b8e94
2013-11-28 21:31:04 +00:00
jenkins-bot 3ed21410a6 Merge "Fixes the UI refactor" 2013-11-28 21:30:27 +00:00
vldandrew 53ef9ed86d Fixes the UI refactor
Id44fea9008adb391817250c2897693f45bead717 pushed a bunch of stuff into the
subclass of LightboxInterface, but forgot to change the calls to "this" in
the dialog function to be sane.

Bug: 57678
Change-Id: I998240411b0970d43d401f739b383c0289163760
2013-11-28 13:26:31 -08:00
MatmaRex d47778b501 Kill !Boolean( variable )
That's an impressive abomination. :)

Change-Id: I1e3d64add5921924050ad97bfe2b1e6f6b1d46b1
2013-11-28 22:07:32 +01:00
Translation updater bot 53b07bedb3 Localisation updates from https://translatewiki.net.
Change-Id: Ie197b9025152031f6f2e4f52b1e71d099ae53f15
2013-11-27 19:27:21 +00:00
jenkins-bot 6687c58ae4 Merge "Previous and next functionality!" 2013-11-26 22:03:33 +00:00
jenkins-bot c0a6987e95 Merge "Push history state to support links to media viewer" 2013-11-26 21:35:21 +00:00
Mark Holmquist 85eb742277 Previous and next functionality!
Adds buttons on the side, disabled at the start and end of the list of
images, that let you browse through the images on the page!

Also arrow keys!

EXCITING!

Change-Id: Ie514cd4b16bdee8a384a89d4bd1d755a24c5cdb4
2013-11-26 21:10:16 +00:00
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