Commit graph

2828 commits

Author SHA1 Message Date
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
Translation updater bot c80f1c925b Localisation updates from https://translatewiki.net.
Change-Id: Ib131dd05095ea737b8f947bea47b51ae79817986
2014-07-28 21:23:12 +02:00
Translation updater bot 9735135175 Localisation updates from https://translatewiki.net.
Change-Id: Ic9fbdcd70b5984669e1c7242584cbae9ca729988
2014-07-27 22:21:42 +02:00
Translation updater bot e8f1fecad1 Localisation updates from https://translatewiki.net.
Change-Id: I1b626e89703ce349866a9c9e8c369d856a5faf12
2014-07-26 21:48:37 +02:00
Translation updater bot 832115f48e Localisation updates from https://translatewiki.net.
Change-Id: If74dec6d09a9b6c530d33a8382deba74a6ada1ba
2014-07-25 23:05:46 +02:00
Gergő Tisza 28a7c1b8a4 Do not treat category captions as gallery captions
Categories are implemented via galleries, so they have the same
markup, but while galleries have human-written captions, category
captions just contain the file page.

Change-Id: I6a8548fe696418befc789e20b114778fc724c314
2014-07-25 01:40:58 +00:00
Translation updater bot 8dc5f0c1c5 Localisation updates from https://translatewiki.net.
Change-Id: I699d938ba45f7309b980457c440dc8d306f062ff
2014-07-24 23:50:25 +02:00
Translation updater bot 511684ab0b Localisation updates from https://translatewiki.net.
Change-Id: I241f58b0177a8bea97127c13d5fbcc0ea3e556aa
2014-07-23 22:51:35 +02:00
Gergő Tisza 1af29bdc53 Fix metadata footer positioning in fullscreen mode
Add position:fixed to the metadata panel to stick it to the bottom
of the page.

This reverts the change in Ic37b4150288055c3fae8d22919ed7b1249db1f09
I can't recall if there was some intent behind that or it was an
accidental deletion; but this seems to work fine in Chrome and
FF.

Change-Id: Ic5fdce5fb3d6884df782f8bc9ec5c9a5c67edbd6
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/805
2014-07-23 07:32:56 +00:00
Translation updater bot 1b74b9b333 Localisation updates from https://translatewiki.net.
Change-Id: I1f74f4d2a5b1d4f33fb2ef14180596c1ce5bb5c5
2014-07-22 23:01:54 +02:00
jenkins-bot b77010fadd Merge "Use image title in history" 2014-07-22 14:12:23 +00:00
Gergő Tisza e055b8bb7d Use image title in history
Changes document title (which is shown in history navigation)
to include the image name.

Bug: 67008
Change-Id: Id1b030f2b984571fb0877e35db2ca2ccc86f0130
2014-07-22 06:08:59 +00:00
jenkins-bot 792e79a951 Merge "Reveal full text when metadata panel is opened" 2014-07-21 23:06:17 +00:00
Translation updater bot 722e97ee29 Localisation updates from https://translatewiki.net.
Change-Id: I31d17fffff1de6bb4d30f75dfdd28631242d467a
2014-07-21 21:41:11 +02:00
Translation updater bot 344309edcd Localisation updates from https://translatewiki.net.
Change-Id: I887f7d0c8186026b5be943920a32d93c91104cba
2014-07-20 21:09:17 +02:00
Translation updater bot 9305ddc062 Localisation updates from https://translatewiki.net.
Change-Id: I1ecdb7094eb8a4b649daef11d19ddc1253b4e66f
2014-07-19 22:04:58 +02:00
Translation updater bot ec3b36bbc6 Localisation updates from https://translatewiki.net.
Change-Id: Id2f53c2e34323eab91a3a37a9c333fe9b7f56cd1
2014-07-18 21:29:09 +02:00
Gergő Tisza 0423bfbe5a Reveal full text when metadata panel is opened
Automatically reveal/hide full text as metadata panel is opened/closed.
Also makes metadata open/close a proper event.
Changes scrollTop calculation for the fully open metadatapanel so it is not
confused by the size of the panel changing.

Also rename MetadataPanel.$controlBar to $aboveFold (that field was missed
when the corresponding CSS class got renamed).

Change-Id: I7e66ca0f45c2188dab4b78508ad7f91154187de4
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/396
2014-07-18 00:47:46 +00:00
Translation updater bot f5ccd12ee5 Localisation updates from https://translatewiki.net.
Change-Id: I13a001de02b30fd785ce6587a10f36a33287e28b
2014-07-17 22:59:03 +02:00
jenkins-bot 95cc9affbc Merge "Reveal full text when user clicks on title or credit" 2014-07-17 13:44:23 +00:00
Gergő Tisza f14d08fd75 Reveal full text when user clicks on title or credit
Reveal the full title + author + source when the user clicks one
of these, and make some related changes:
* expand the above-the-fold part of the metadata panel so they fit
* make the stripe buttons smaller and hide their text
* scroll the panel up if necessary
* modify tooltip texts when there is more text to show

Change-Id: I304297bc5e7be7b16e2fc4bde66ac19641b00029
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/396
2014-07-17 09:42:12 -04:00
Gergő Tisza b622669a9e Size adjustments for moved-back repo icon
* make Commons icon slightly larger than "use this file" icon so
  it seems to be the same size (since the Commons icon has more
  whitespace)
* re-add size adjustments for dynamic icon; IIRC this was needed
  to make Wikipedia icons look good

Change-Id: I6cc2c66beb1d270c9367446661ef14139afa814e
2014-07-17 00:49:10 +00:00
jenkins-bot ab63450dbe Merge "Remove all survey-related code" 2014-07-16 21:31:21 +00:00
Gilles Dubuc b0d885e4dc Remove all survey-related code
Change-Id: I67285260c13a1e8d3c37365bb80a7156c0fecd4e
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/794
2014-07-16 21:27:53 +00:00
jenkins-bot e35c57472a Merge "Move repo icon back to the right-hand side" 2014-07-16 21:22:36 +00:00
Translation updater bot 56287fcb42 Localisation updates from https://translatewiki.net.
Change-Id: I6e62c28820c8874a3d8b7c762cc86d28ba6b9c6e
2014-07-16 22:01:36 +02:00
Gilles Dubuc e17024549f Move repo icon back to the right-hand side
Also makes the grayscale filter work in Firefox.

Change-Id: I7dbeeb55502bc1ff0e1c969fb68310485c562765
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/792
2014-07-16 10:45:14 -04:00
Mark Holmquist 3e2759cd7b Fix a few issues in unattach
Check for tipsy-ness, and for the existence of the opt out button. The
latter doesn't affect prod, but the former might.

Change-Id: Ia5ae8b160626d27750cb3e4938c27a461b9f0c64
2014-07-15 22:15:04 +00:00
Gergő Tisza a57a606ee5 Transclude expand button text in help message instead of copying it
Per translatewiki.net request at
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Multimediaviewer-optout-help/ar

Change-Id: I2bff044ad6d5b2fb3f72cba2cb1f6add181da5f1
2014-07-15 22:12:47 +00:00
Gilles Dubuc eae6f764c2 Fix JS error caused by change in OOUI
hide() has been replaced by toggle() in the latest version of OOUI

Change-Id: Ia868ea1a41430ae566109222ebee6e778db12ad8
2014-07-15 18:02:05 -04:00