Commit graph

2631 commits

Author SHA1 Message Date
jenkins-bot 07a937571d Merge "jshint config and fixes, FINALLY" 2013-12-02 22:00:05 +00:00
Mark Holmquist 013752ccb2 Fix a bloody silly file usage dialog bug
Return false from the click handler so it doesn't fire a popstate event
because the link is to "#"

Change-Id: I08a49e1b664dc4e6b01c1f479209428578d36843
2013-12-02 13:11:26 -08:00
Mark Holmquist 198bf44c1a jshint config and fixes, FINALLY
Every patch we've submitted up until now has been magically very good
at jshint, because I'm appropriately OCD about it, but now we can actually
point at results.

Also we'll enable voting very soon.

Change-Id: I028fa78a47778c8a4050f6b77623c6bfdc4f9c5b
2013-12-02 12:50:34 -08:00
Translation updater bot 5ee6ab7f25 Localisation updates from https://translatewiki.net.
Change-Id: I615d0b03bcabb9cc9eb74984a24cde9c88c3b3cc
2013-12-02 20:39:28 +00:00
Mark Holmquist 5d916b9a45 Bump version number
The UI change is enough that I want to make this more bigger.

Change-Id: I6586d327a772dc4128fbe9354fd819f83a3fdcd8
2013-12-02 18:41:35 +00:00
Translation updater bot f47e1a0b39 Localisation updates from https://translatewiki.net.
Change-Id: I95388f8784049ad3793cff4978854390241c4e7c
2013-12-01 19:56:21 +00:00
jenkins-bot fa70bdcb74 Merge "Auto-ellipsis for filename field Bug: 56113" 2013-11-30 19:00:40 +00:00
Yaroslav Melnychuk e632d32b65 Auto-ellipsis for filename field
Bug: 56113

Change-Id: I84e28fe8fefd90c46c2bd9d2d7a25c472d8f26d3
2013-11-30 20:53:42 +02:00
jenkins-bot a36622185f Merge "Prevent multiple "Use this file" windows" 2013-11-29 21:19:13 +00:00
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