Commit graph

1212 commits

Author SHA1 Message Date
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
Translation updater bot 7f710f0a2b Localisation updates from https://translatewiki.net.
Change-Id: Ia2d6c5c9e8bd1f2ec573d2cdc83aa822e9f65367
2014-07-15 22:06:44 +02:00
Translation updater bot f18d9cf581 Localisation updates from https://translatewiki.net.
Change-Id: If31363254767e2c52a033edd45c27f1cd1c7eb87
2014-07-14 22:01:40 +02:00
Translation updater bot 6f4a12914d Localisation updates from https://translatewiki.net.
Change-Id: I3def72cc262a5b7811bf00f31fa8551502209836
2014-07-13 22:23:25 +02:00
Translation updater bot ccea3b98b4 Localisation updates from https://translatewiki.net.
Change-Id: I03fc12733c7a19f17877c9beb1eb794476efb75b
2014-07-11 21:56:51 +02:00
jenkins-bot 0aab988269 Merge "Remove $.browser call in jquery.hashchange" 2014-07-10 20:31:12 +00:00
Gilles Dubuc 44865d87e6 Remove $.browser call in jquery.hashchange
I've tested a wide variety of old browsers on sauce labs and only
the older IEs reported "false" for support_onhashchange.

I think the $.browser.msie check was defensive in the first place,
there's no reason why a browser that doesn't support the
onhashchange event wouldn't benefit from the iframe trick.

Change-Id: I5b3a83118ef870237a54a6d67dd930617987abf2
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/590
2014-07-10 15:12:41 -04:00
Pau Giner 5edb949d01 Adjustments to repo icon
The following visual adjustments have been made:
- Make color similar to other icons in the metadata panel.
- Highlight on hover to convey interactivity.
- Adjust to the "visual center". The icon was matematically centered, but since the angular separator adds empty space to the right, a 2px correction has been added so that it looks centered taking into account that extra space.

Change-Id: Ib4db723b38a8d6fc9528fe86756220b6525da95b
2014-07-10 10:25:23 +02:00
Translation updater bot 00d204b0e2 Localisation updates from https://translatewiki.net.
Change-Id: I4a945a5021796a4156df20928b2aef36a39ec0cd
2014-07-09 20:35:14 +00:00
Translation updater bot 421f09e4df Localisation updates from https://translatewiki.net.
Change-Id: I35384284c375f94405cd6ad6b067776005358efd
2014-07-08 21:01:58 +00:00
Translation updater bot 8559355896 Localisation updates from https://translatewiki.net.
Change-Id: I5c75b437a6e5665a12edc2e32529fbb608e989f5
2014-07-07 20:20:40 +00:00
jenkins-bot 116d29a651 Merge "Remove trainling dot from download attibution text to not break URLs" 2014-07-07 16:30:56 +00:00
jenkins-bot f63c00c8b6 Merge "Remove the gap the between the download button and the dropdown menu" 2014-07-07 16:30:28 +00:00
jenkins-bot 7a42b844ae Merge "Make download panel dropdown button unselectable" 2014-07-07 16:30:20 +00:00
jenkins-bot 6afa9df593 Merge "Use same text formatting for downloads as for other panels" 2014-07-07 16:29:54 +00:00
jenkins-bot 6faaa01ad3 Merge "Convert non-standard class-names (mw-mlb, multiediaviewer-)" 2014-07-07 16:29:47 +00:00
Translation updater bot 6426552c65 Localisation updates from https://translatewiki.net.
Change-Id: I10a1ce53c9e40f6c57dd282909ddcd55cb52f23d
2014-07-06 19:55:22 +00:00