Commit graph

1297 commits

Author SHA1 Message Date
Translation updater bot 7bedbe550f Localisation updates from https://translatewiki.net.
Change-Id: I6d6b048a398ce0d549977f4984e453ca9e608340
2014-12-19 22:27:32 +01:00
Namit 50391b6a01 Permission title changed to "Permission details"
It is not about the license but the permission why Commons may keep this file.
Other permission messages also changed accordingly.

Bug: T66804
Change-Id: Ic3f1f1f8280022f4c0d1b48502cac1709b5c14a1
2014-12-19 12:49:52 -06:00
Translation updater bot d74f2ec5bb Localisation updates from https://translatewiki.net.
Change-Id: I5441f245884dedeafb74f23e3cf96ac60244bd18
2014-12-18 23:21:33 +01:00
jenkins-bot 25c294d569 Merge "QA: update navigation test for rspec" 2014-12-18 09:15:17 +00:00
jenkins-bot ba5acde550 Merge "Make "and X more" message more flexible for translators" 2014-12-18 09:00:14 +00:00
Cmcmahon 711e2837fc QA: update navigation test for rspec
This should be pretty straightforward

* use RSpec3 expect() syntax
* prefer string to regex as argument to match() when appropriate
* use Selenium $browser.back instead of inline javascript

Change-Id: I2e214752224397859a00f11bf9acc5bdc7685464
2014-12-17 15:02:38 -07:00
Translation updater bot e80ee41442 Localisation updates from https://translatewiki.net.
Change-Id: I1236320c9e0d7351d42d65dcfa37aea5db5fb274
2014-12-17 21:50:14 +01:00
jenkins-bot 3d346f2886 Merge "Log Last-Modified header in performance logger" 2014-12-17 19:26:54 +00:00
jenkins-bot 9c38b75f30 Merge "QA: WIP update tests for RSpec3 syntax etc." 2014-12-17 18:24:20 +00:00
Gilles Dubuc b3e281237c Log Last-Modified header in performance logger
Bug: T78767
Change-Id: If747453b32cbe1db7e307193609af9eaa2bdcc7d
2014-12-17 11:31:45 +01:00
Translation updater bot 79ae4efee5 Localisation updates from https://translatewiki.net.
Change-Id: I54ee47d426ebb436de52d4064741c55f6d41b7d0
2014-12-16 21:57:40 +01:00
Cmcmahon 32cd6c7892 QA: WIP update tests for RSpec3 syntax etc.
Add back a sleep to make the test pass

* make a Then statement with no assertion into a When
* remove Then statements assertions from Given steps
* prefer single quotes per rubocop
* use strings instead of regexes where appropriate for match operator
* use appropriate wait_until syntax
* remove redundant steps that call a single other step
* sort invisible selection criteria from steps to Feature input
* add when_present polling because test is now much faster

Change-Id: I24435362836945833942e87d7caee49c9b34368d
2014-12-15 16:42:34 -07:00
Translation updater bot b49642c654 Localisation updates from https://translatewiki.net.
Change-Id: I233e2fe2781ceaac823aee2ba29d420bf4776f88
2014-12-15 22:19:56 +01:00
Translation updater bot 96de4e5ef3 Localisation updates from https://translatewiki.net.
Change-Id: Iabc30302a52598f90269edfe69e050fa80ec3c72
2014-12-14 22:21:57 +01:00
Translation updater bot adf8581bbe Localisation updates from https://translatewiki.net.
Change-Id: I20d7c960ec700f01cee3993a3ac6e158f4b14f70
2014-12-13 22:33:11 +01:00
Translation updater bot 07dd523664 Localisation updates from https://translatewiki.net.
Change-Id: I60cd2d40d20a064c9ace34886bf4055eff6535b3
2014-12-11 23:54:17 +01:00
jenkins-bot 5c869aa9ec Merge "Rough logging of metadata panel scrolling" 2014-12-09 09:53:50 +00:00
jenkins-bot 219315766e Merge "Remove superfluous write of ensureEventHandlersAreSetUp flag" 2014-12-09 09:27:15 +00:00
Translation updater bot 0598f25891 Localisation updates from https://translatewiki.net.
Change-Id: Ie09081b0bd0fe9ce1cd0fd32c58ff25df870dde8
2014-12-08 23:22:46 +01:00
Gergő Tisza 361464a55e Remove superfluous write of ensureEventHandlersAreSetUp flag
Change-Id: Ie28f58ea7d7b92f9eced46d94490bde9df69daa5
2014-12-08 21:58:20 +00:00
Gergő Tisza fdbefc27fc Rough logging of metadata panel scrolling
Logs metadata panel open/close by scroll. When the panel is opened
via keyboard or the "view terms" button, both a normal and a scroll
opening event is logged (same for closing). When the panel is opened
in fullscreen mode, neither event is logged.

Change-Id: I09092b8b6c20e6fea03b4fe59c811d7b441ca224
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/559
2014-12-08 21:56:51 +00:00
Gergő Tisza 175c080019 Fix failing test in master
String.replace interprets a plain string as an exact text to match
against, but String.match interprets it as a regexp. Javascript is
fun.

Change-Id: I93ac31079f1f87dffdf0d5e02df2fa38ae79a6cc
2014-12-08 21:33:27 +00:00
jenkins-bot f9e7bae91a Merge "Close panel on canvas click + fullscreen mouseleave" 2014-12-08 13:55:11 +00:00
Gergő Tisza 07f7b837fa Close panel on canvas click + fullscreen mouseleave
Also remove the unused mmv-image-click event and fix a bug
where links got right-aligned when the panel was opened in
fullscreen mode.

Change-Id: If538ac420da4aae3908ac96978491f89c5b53493
Bug: T76029
2014-12-08 14:52:52 +01:00
Translation updater bot 401fe0854d Localisation updates from https://translatewiki.net.
Change-Id: I662ee0df12442c7f90926fe4280aae30f5273776
2014-12-07 21:54:50 +01:00
Translation updater bot 4c4ade25ca Localisation updates from https://translatewiki.net.
Change-Id: Ic4589133c871de835c3c18fa3377e5aa06a1bc3c
2014-12-06 22:26:51 +01:00
Translation updater bot 99cea2bb20 Localisation updates from https://translatewiki.net.
Change-Id: Ic33e4303abff4d2a96992a235d6f1d12c7bc9be3
2014-12-05 23:14:27 +01:00
jenkins-bot 96281f4192 Merge "Track the most recent upload time for performance events" 2014-12-05 02:30:13 +00:00
Translation updater bot 0bfbe03508 Localisation updates from https://translatewiki.net.
Change-Id: I3eebb55ea64d02caeca93100fae40c8018aefaa0
2014-12-04 22:19:00 +01:00
Translation updater bot b5cfe3687b Localisation updates from https://translatewiki.net.
Change-Id: Iceb1315a1af356547187fb69e29b845f3154f6df
2014-12-03 22:28:28 +01:00
Gilles Dubuc 30029b8b78 Track the most recent upload time for performance events
Change-Id: I673f9487deea15dc148452a3a4d6b91563a2c417
Bug: T76035
2014-12-03 16:15:20 +01:00
Gergő Tisza b5d3f9ef6c Make "and X more" message more flexible for translators
Also make sure part of it is not a link to avoid two links
ending up next to each other + fix a small documentation bug.

Bug: T76465
Change-Id: I128ec7034b0bb9784fb78d1a5ce90d195555848e
2014-12-02 22:49:29 +00:00
Gergő Tisza d280920121 Fix inconsistencies in attribution text
* use the same text for plain and HTML format
* use the same text whether or not a deed URL is set

Bug: T76030
Change-Id: Iea53766b2e2031206d707838551bd82dba29e8c4
2014-12-01 21:14:16 +00:00
jenkins-bot f2e1423a1e Merge "Show "and X more authors" when a file has multiple info templates" 2014-12-01 16:05:34 +00:00
Translation updater bot 29405f370c Localisation updates from https://translatewiki.net.
Change-Id: I372f0ecfa1ea7eff3ef4a63c0ed102156e73488f
2014-11-30 22:13:13 +01:00
Translation updater bot 76736b6e4f Localisation updates from https://translatewiki.net.
Change-Id: I256bc577edcea4c13f54226bc73541b22f22b802
2014-11-29 12:55:26 +01:00
Gergő Tisza 485944ba9d Show "and X more authors" when a file has multiple info templates
Bug: T74082
Change-Id: If53e3e364d07ef35a93b3b24430441d390aaf66e
2014-11-27 07:24:26 +00:00
jenkins-bot 9c6d50e55a Merge "Text changes for better handling of PD and nonfree licenses" 2014-11-26 14:52:39 +00:00
Gergő Tisza 05d803e17a Text changes for better handling of PD and nonfree licenses
Bug: T70687
Change-Id: I84e0094559e5b438fcb33b8511dc0184435c1a37
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/1004
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/631
2014-11-26 02:21:50 +00:00
Translation updater bot 489d54995f Localisation updates from https://translatewiki.net.
Change-Id: I6d2d21b322726b0dba3996b6ad5f5e7edf0a5155
2014-11-25 21:50:38 +01:00
jenkins-bot 1cf878a004 Merge "Fix some metadata panel scrolling/text truncation bugs" 2014-11-25 10:14:51 +00:00
jenkins-bot f441a9893f Merge "Change text truncation logic to more closely follow panel state" 2014-11-25 10:05:47 +00:00
Timo Tijhof cf48687731 Migrate jQuery andSelf() to addBack()
Deprecated in jQuery 1.8
http://api.jquery.com/andSelf/

Change-Id: I4988c24c4f14c2962f12065acccc7dd51899a2e4
Task: T67399
2014-11-25 02:57:29 +00:00
Translation updater bot a891e242c2 Localisation updates from https://translatewiki.net.
Change-Id: Ia59d20ae1c268ec816602f3da3dab3624ca26656
2014-11-22 22:41:04 +01:00
Gergő Tisza 0997b82650 Fix some metadata panel scrolling/text truncation bugs
* isOpening was calculated too early, so whenever the panel was
  partially open and opened up fully via the forceDirection
  parameter of toggle(), it was logged as the wrong direction.
  (I think the only way for this to happen is via clicking on
  "view terms" while the panel is partially open.)
* scrolling did not go all the way to the bottom when text was
  truncated as the target position was calculated before untruncating.
* panel position was not preserved in some cases where it could have
  been because the attempt to restore it happened before untruncating
  the text, when the panel was not high enough.

Change-Id: I47a96d42c80e0a00d95023526ede3b5bbf18a52c
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/983
2014-11-22 06:22:35 +00:00
Gergő Tisza e7f720506f Change text truncation logic to more closely follow panel state
Several related changes to text truncation:
* remove untruncate-on-click so untruncated text is selectable
  (untruncate will happen on click to the canvas are instead,
  to be implemented in a followup patch)
* simplify the truncate/untruncate logic to be wholly based on
  panel open/close state, and fix a bug which made panel state
  and text truncation state inconsistent when prev/next
  navigating while keeping the panel open.
* remove several variations on scrolling the panel in favor of
  using toggle + remove some other unused truncation-related code
* fix a minor unrelated style bug which made truncate/untruncate more
  jarring than it had to be when the title was short by making the title
  higher on panel open even though the text did not use the extra height
* align title ellipsis better
* make sure clicking on the truncated title works even if the click is
  between lines and so misses the inline box of the <span>

Change-Id: Ie0b3afb3833102b6a9812cb7fe2df78ec5eb8396
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/983
2014-11-22 06:22:33 +00:00
Bartosz Dziewoński b3ef344efc Update for OOUI OptionWidget (and subclasses) changes
OptionWidget constructor now accepts a 'data' config option instead of
a separate 'data' parameter.

See I7ee78b6d.

Change-Id: Ie54e9db788cbe846cd2d173498c7fe17bafc126e
2014-11-22 01:01:29 +01:00
Translation updater bot 8655e304f2 Localisation updates from https://translatewiki.net.
Change-Id: I32ec60f634ed0c9873a08a1dc89759c384b16907
2014-11-21 22:10:12 +01:00
Gilles Dubuc 00d345f8b4 Rename Performance to PerformanceLogger
Change-Id: Iacfde35851cf8f617c4672d3ea466d4f0e2e448f
2014-11-21 11:07:40 +01:00
Gilles Dubuc 0e01796a3c Track how long users are viewing images for
This is complete, but it would be better if the HEAD request
was actually aborted by Varnish when the viewDuration parameter is
present, or if the hit pointed to a script that does that.

Change-Id: I66cafd97427756411e967de1901324af2215e3ae
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/1001
2014-11-21 00:39:29 +01:00