Commit graph

1207 commits

Author SHA1 Message Date
jenkins-bot 79f1ee4a09 Merge "Go to the original image on image clicks" 2014-09-08 06:33:54 +00:00
Translation updater bot 0bb11a85a9 Localisation updates from https://translatewiki.net.
Change-Id: Ib471c808d5aab949d97e98985c3679655b4012a5
2014-09-07 22:00:31 +02:00
Translation updater bot a6469b1596 Localisation updates from https://translatewiki.net.
Change-Id: If287bae80d65ca9288df9e611ede5766a95064ee
2014-09-05 22:47:37 +02:00
Mark Holmquist f94d3362d9 Go to the original image on image clicks
Also removes original file button.

Change-Id: I6e73e46e910313fe6c5efb3087ecb693e499e064
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/831
2014-09-05 10:19:00 -07:00
jenkins-bot 0534d98b89 Merge "Log whether attribution could be presented by MediaViewer" 2014-09-05 14:41:38 +00:00
Gergő Tisza e5de2a5415 Log whether attribution could be presented by MediaViewer
Change-Id: Ib4e8fbafa16c86ff902c838cc93b1710a7ca87af
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/858
2014-09-05 14:35:35 +00:00
Gilles Dubuc caa624d711 Remove file usage
Change-Id: I538f7734e1c06a179ee98a5cd843ccee4d91349f
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/835
2014-09-05 08:14:52 +02:00
jenkins-bot e7ea5cb25d Merge "Move logging-related code to its own directory" 2014-09-05 05:32:33 +00:00
Gergő Tisza c4c262bf44 Move logging-related code to its own directory
Also make sure class and file names have the same case.

Change-Id: I21042e40030051326f8c55fd62a86a54e9011a4a
2014-09-04 23:34:45 +00:00
Reza 00e1980e4b Make aside ltr so it would overflow to right always
Proposed on https://meta.wikimedia.org/w/index.php?diff=9752968&oldid=9752027

Change-Id: I9546bc40cf600cddb3af124cb5b937c3ee739d4a
2014-09-04 22:38:06 +00:00
Translation updater bot 91b7bd265a Localisation updates from https://translatewiki.net.
Change-Id: I01be2ef68350ceb17a9dac715b34e5475f774320
2014-09-04 22:08:22 +02:00
jenkins-bot 57dca0ed8c Merge "Use link title as fallback for caption" 2014-09-04 06:56:49 +00:00
Translation updater bot 5f208dd6ea Localisation updates from https://translatewiki.net.
Change-Id: Ibac8d41be907a42ab4e9e1a0ac2e852fd1e09a40
2014-09-03 22:21:35 +02:00
Mark Holmquist 35b6f70ef2 Use link title as fallback for caption
This works because the title doesn't exist if there's no caption and we
won't get to this logic branch if the thumbnail is an explicit |thumb|
with a caption already.

Refactored caption-fetching a bit.

Change-Id: If84c890e7b71880db640a0993f8e3d6cd59951b8
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/513
2014-09-03 12:13:21 +00:00
Translation updater bot ebf2836401 Localisation updates from https://translatewiki.net.
Change-Id: Ice4bf7f0fc08abcb9f23456f08c0d1460b85b44b
2014-09-02 22:15:38 +02:00
Gergő Tisza 92c0ba8d99 Fix reuse panel layout issues
The OOUI inline menu widget does not use ul/li anymore; user
class name to target CSS instead.

Change-Id: Ia23f6c130145b411cb0c76a8448d725e51d5e700
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/838
2014-09-02 10:08:43 +00:00
Translation updater bot fe46ca97ef Localisation updates from https://translatewiki.net.
Change-Id: I0a1a0f8b2fee4ebb5491f48d39b431cb8b1f9390
2014-09-01 22:36:29 +02:00
Gilles Dubuc aa97b45c28 CSS compatibility with upcoming OOUI breaking change
Change-Id: Ic7bb6246b20706f8b7e4d7c39d6eb7fd921fde7b
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/832
2014-09-01 10:02:48 +02:00
Translation updater bot 8e5999f01c Localisation updates from https://translatewiki.net.
Change-Id: I3056d082a933e7cd604741f1a749ff315ac8b737
2014-08-31 21:56:43 +02:00
Translation updater bot 6580d25a38 Localisation updates from https://translatewiki.net.
Change-Id: I1213158d3bff249349e721fb140b366747091101
2014-08-30 22:39:52 +02:00
Translation updater bot 1703aeff2c Localisation updates from https://translatewiki.net.
Change-Id: Ib8f0d04e4776dded722ee2ee33cf083f8aaeefb1
2014-08-29 21:20:36 +02:00
Translation updater bot 9968dbc3f5 Localisation updates from https://translatewiki.net.
Change-Id: I3ef7e5537612e3ab14ec34b156b02dbeb49e43f4
2014-08-28 22:29:59 +02:00
Gilles Dubuc d6c142fd2b Change image load check strategy
Using the "complete" property worked for the file page, but not
for media viewer because change the src of an img doesn't reset
the prop.

This introduces a custom event that cucumber can listen to in order
to know when the full resolution image had been loaded in media
viewer.

Change-Id: I40875166e70badbb35106c4a3536c706a7c815b4
2014-08-28 07:33:58 +02:00
Translation updater bot a0a7c2f995 Localisation updates from https://translatewiki.net.
Change-Id: I4581042e647458d52f1815fa8fe02aad2edfd6f9
2014-08-27 21:25:50 +02:00
Cmcmahon 781fc6d409 QA: update to fix deprecated API token call
Change-Id: I8842899e2467efdb9ba4b3035b2e6dc0df340a96
2014-08-27 09:21:30 -07:00
jenkins-bot fb6e8ad1e2 Merge "Fix preference DB values" 2014-08-27 08:11:08 +00:00
Translation updater bot 0f4444cfbd Localisation updates from https://translatewiki.net.
Change-Id: Id43839481f32dce77e0d156f09cb3647a4a3686c
2014-08-26 21:50:25 +02:00
Gergő Tisza d3869e581e Fix preference DB values
Ensure that changing the preference via the quick link and
Special:Preferences is stored identically in the DB.

Change-Id: Ia37da1c6bfbb3edf0eba56f01105e4a5f3a5e4ba
2014-08-26 10:37:38 +00:00
Mark Holmquist 62bdbd57a6 Fix link to media viewer with proper namespace
Use the canonical English namespace instead of a localized one.

Change-Id: I9fa1a2af1210c5a4a47792c3dc4616cb628cd806
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/826
Bug: 69956
2014-08-26 01:00:37 +00:00
Translation updater bot 845e28e28e Localisation updates from https://translatewiki.net.
Change-Id: Ia2336c480d1bc59657aaeca569d0c290810bbe49
2014-08-23 21:57:36 +02:00
jenkins-bot 32812a974f Merge "Add an option to disable by default for logged-in users" 2014-08-20 21:26:21 +00:00
Translation updater bot 5123eb2f29 Localisation updates from https://translatewiki.net.
Change-Id: Id87dec98f313a3c555ebffa21cb28bd837d11ada
2014-08-20 22:29:00 +02:00
Translation updater bot 35254acb42 Localisation updates from https://translatewiki.net.
Change-Id: If85bcaa83d27ce4450d3a97adf5bc792ab68197f
2014-08-18 22:40:24 +02:00
Gergő Tisza 7081184535 Disable thumbnail URL guessing by default
Config change to keep it on on WMF sites:
Iba41a37a1d4b7957cd05516ae9466652dadcf28a

Bug: 64554
Change-Id: I25f52611f6f2a6db7f33d52a2fbae48c729f7686
2014-08-18 13:07:15 +00:00
Translation updater bot c7948fd873 Localisation updates from https://translatewiki.net.
Change-Id: I5a7037b0d6551c7a7de28ce49c1865aecc18610c
2014-08-17 23:07:02 +02:00
Gergő Tisza e71bcefcdc Add an option to disable by default for logged-in users
Soft-depends on I90f6ab5b44fbcde0b89f56e795f69472c4940854

Bug: 69363
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/822
Change-Id: Ief0df5b4f4285d99208f007b0510a396f6c272e0
2014-08-16 12:16:34 +00:00
Gergő Tisza 4142696903 Fix moment tests
moment.js has a slight change in date output which broke some tests.

Change-Id: If5ffdaba8574e574d644f3d8bd987ee29aeb0bc9
2014-08-16 12:11:46 +00:00
Thiemo Mättig 8ef7dad28b Remove misleading "now" from message
Bug: 69282
Change-Id: I339f9386bf543b95cd5c710d919186cd0a0662ff
2014-08-15 13:50:43 +00:00
Gergő Tisza 81865ecf7c Fix failing loader tests
mw.notify calls mw.loader.using now, which we mock out in some
tests. This change adds an exception to the mock.

Change-Id: I68d7293a4d45f904e949ea4b56ec409456624cbd
2014-08-15 13:46:43 +00:00
Translation updater bot f68e8949a4 Localisation updates from https://translatewiki.net.
Change-Id: I23b10f294201943366cc7afa8e9aa05fd539baf2
2014-08-14 23:38:12 +02:00
Thiemo Mättig 2549d25e61 Use spaces in Embed as Wikitext code
The method exists. I assume this was just a mistake.

Bug: 66250
Change-Id: I3a7d19cd1afd0404ce13f947052338d37983db61
2014-08-13 15:54:37 +02:00
Translation updater bot 9422bb5176 Localisation updates from https://translatewiki.net.
Change-Id: I730b16528a8524f12de52f5dd0749888829ac93c
2014-08-12 21:37:30 +02:00
Translation updater bot f60da10eb3 Localisation updates from https://translatewiki.net.
Change-Id: I6d5967f4da252543a7be83e43805fef91e54d6c0
2014-08-09 19:58:19 +02:00
Translation updater bot 952d3c205b Localisation updates from https://translatewiki.net.
Change-Id: If58d50d52d852c0c6231c01b2e8a1096540cef08
2014-08-05 21:57:44 +02:00
Translation updater bot 67cc6f135f Localisation updates from https://translatewiki.net.
Change-Id: I6765be62cde0d8d7f2226581c3b5070f2b5e7ef8
2014-08-04 21:55:47 +02:00
Translation updater bot fadc8fb38f Localisation updates from https://translatewiki.net.
Change-Id: I393512aa9cf7400cd5195e206a2212ea4f580216
2014-07-31 22:16:23 +02:00
jenkins-bot bea216532c Merge "Make selected tab default when unknown value comes from localStorage" 2014-07-29 21:56:14 +00:00
Translation updater bot d6b60fe5d3 Localisation updates from https://translatewiki.net.
Change-Id: I6144766e495220c936264cde7cf0d0907d9334e0
2014-07-29 21:55:48 +02:00
Gilles Dubuc ad1922988b Make selected tab default when unknown value comes from localStorage
Change-Id: I80ff90242ac386e74a80d36f0656ff9e761fa147
2014-07-29 11:56:32 -04:00
Gergő Tisza 53e965b469 Feature detect OOJS compatibility
OOJS uses es5-shim but does not use es5-sham so the following ES5
functions are not polyfilled:

Object.getPrototypeOf
Object.defineProperty
Object.getOwnPropertyDescriptor
Object.getOwnPropertyNames
Object.create
Object.defineProperties
Object.seal
Object.freeze
Object.preventExtensions
Object.isSealed
Object.isFrozen
Object.isExtensible

Grepping on them shows that Object.create is the only one in use in
OOJS, so checking for its existence should be enough to ensure that
OOJS works in the given browser.

Change-Id: Icf54a9c35b3599dd1831c10ffcd9f15573dc8b00
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/813
2014-07-28 23:54:47 +00:00