Commit graph

1694 commits

Author SHA1 Message Date
Florian 7b50d14a8e Re-add event listeners to images after a finished VE edit
Currently, if VisualEditor saved an edit, it replaces the current content
with the new content, which removes all already added event listeners, e.g.
on thumbs, added by MMV.

Add a new hook handler to the postEdit JavaScript hook to re-add all event
handlers to the thumb images to cover this case and enable MMV on a page
after a finished VE edit.

Bug: T97010
Change-Id: Ic1ee0b52265363978640358510cab89db4de2bb8
2015-08-13 17:19:40 -07:00
Translation updater bot 50cc88b3e0 Localisation updates from https://translatewiki.net.
Change-Id: I30b8db74a08664d174c65baa2a2bd0ce43e9254a
2015-08-13 20:56:58 +02:00
Translation updater bot 5541d11b88 Localisation updates from https://translatewiki.net.
Change-Id: I6c3fc7d9a01045c95eaf97b9da78024073854883
2015-08-11 22:09:17 +02:00
Translation updater bot 25b0d31b7d Localisation updates from https://translatewiki.net.
Change-Id: Ife87dbcdfeab0c8dd39bef3a58fa6fc9103255fb
2015-08-09 20:48:10 +02:00
Translation updater bot b5b5cfbd7a Localisation updates from https://translatewiki.net.
Change-Id: I7c2a630e62c2dc6fc966bac1efd2ab82de169960
2015-08-06 21:38:19 +02:00
Gilles Dubuc 04be1d5fcc Add most common non-bucket size to statsv performance tracking
Bug: T105681
Change-Id: I11e971141455d41e935543e3a06f587ebcd070ef
2015-08-05 11:01:14 +02:00
Translation updater bot 3037fc9218 Localisation updates from https://translatewiki.net.
Change-Id: I0e5904fda247df12836e77baff70f97f346c1a39
2015-07-31 21:48:21 +02:00
jenkins-bot 9d923a7504 Merge "Track image load time with statsv" 2015-07-31 08:35:31 +00:00
Translation updater bot b3f8a10982 Localisation updates from https://translatewiki.net.
Change-Id: I65d0d0e6e03cf2ba1660af44022fb26b43e7d5b2
2015-07-30 21:11:51 +02:00
jenkins-bot 56737952b0 Merge "Set test assertions to new date format" 2015-07-30 12:28:41 +00:00
Gilles Dubuc a05eedb941 Set test assertions to new date format
Bug: T107417
Change-Id: I1f36ff5d6ae0e1edb5f066ec44c355bdc5f59bb0
2015-07-30 14:13:27 +02:00
Gilles Dubuc 66d510dddc Track image load time with statsv
Bug: T105681
Change-Id: Ic25edf7852d4b87d2b35fabf6494d88dbfdb922e
2015-07-30 14:01:55 +02:00
Translation updater bot cd0db8dfdf Localisation updates from https://translatewiki.net.
Change-Id: If46ede0182055a7070cb320c62620f14f6b01371
2015-07-29 21:50:03 +02:00
Translation updater bot 89ab737ac1 Localisation updates from https://translatewiki.net.
Change-Id: I05496b68c81d27c4bfe617b55fd7cb6a827ae221
2015-07-28 21:49:51 +02:00
Translation updater bot 7071ae018b Localisation updates from https://translatewiki.net.
Change-Id: I0af948d0ddabf70d4c928c11b598ca150835e21a
2015-07-26 21:40:26 +02:00
Translation updater bot 9c88cadd8f Localisation updates from https://translatewiki.net.
Change-Id: I84ab254ee2b7563077ba332cd744b032081ecdda
2015-07-24 21:08:15 +02:00
Translation updater bot 176360e012 Localisation updates from https://translatewiki.net.
Change-Id: I347184591b34a36e6d718e02669c99d3ea145189
2015-07-21 21:45:54 +02:00
Translation updater bot c34dff1888 Localisation updates from https://translatewiki.net.
Change-Id: I2e04ed66859ffa2a4536ed4452273ec980e5304b
2015-07-20 21:56:41 +02:00
Translation updater bot 88eabde5e9 Localisation updates from https://translatewiki.net.
Change-Id: Idad11aacf5b1671859f0ba29934e641686b37429
2015-07-19 21:36:41 +02:00
Translation updater bot 8ebe4fa979 Localisation updates from https://translatewiki.net.
Change-Id: I9c195d336c0c91350be6f803f5159701d98a4814
2015-07-18 22:00:55 +02:00
Translation updater bot eeb6733703 Localisation updates from https://translatewiki.net.
Change-Id: I61097a53c35ad959076dd2152a76424badbc2b7a
2015-07-17 22:23:08 +02:00
Translation updater bot 0c4359ac3a Localisation updates from https://translatewiki.net.
Change-Id: I60de9867265fdfb3f8f7a3311e7a027bfb688461
2015-07-16 21:13:09 +02:00
Geoffrey Mon a7f11a7c45 Moar restriction icons!
Icons for all important non-copyright restriction types.
Also, some tweaks made in CSS e.g. add 1 px margin to top of mw-mmv-labels
Finally, new test to check if default restriction is placed last.

Example files:
copydesign: https://commons.wikimedia.org/wiki/File:Peugeot_404_dsc01875.jpg
trademark: https://commons.wikimedia.org/wiki/File:Logo_NIKE.svg
trademark+insignia: https://commons.wikimedia.org/wiki/File:Flag_of_UNESCO.svg
personality: https://commons.wikimedia.org/wiki/File:Vice_President_Megawati_Sukarnoputri_-_Indonesia.jpg
communist+insignia: https://commons.wikimedia.org/wiki/File:Flag_of_Georgian_SSR.svg
nazi: https://commons.wikimedia.org/wiki/File:PropagandaNaziJapaneseMonster.gif
costume: https://commons.wikimedia.org/wiki/File:Shrek_%26_Fiona.jpg
fan-art: https://commons.wikimedia.org/wiki/File:Magic_wand.gif
(I think that's enough)

Bug: T102693
Change-Id: I907396c59752511448145a4ac5d29096166f841f
2015-07-16 01:06:39 +00:00
jenkins-bot 2642ebd7d8 Merge "Reduce number of RL modules in MultimediaViewer" 2015-07-15 23:24:27 +00:00
Brion Vibber 849a6d9f16 Revert no-longer-needed fix for MS Edge browser
Bug with history.pushState in Edge fixed in Win10 build 10240;
Dave Storey is asking us to remove the workaround to keep our
code pure and them honest ;)

Reverts I6ea4d367

Bug: T104381
Change-Id: I5f53416dda7c31662330dc5ec67e1bbea55dace7
2015-07-15 17:54:53 -05:00
Gilles Dubuc 95dcc971b0 Reduce number of RL modules in MultimediaViewer
Having many modules makes the startup module in the head
unnecessarily longer. Things should only be in their own
module if they're going to be loaded on demand on their
own or are a shared dependency of separate modules that
are.

This change brings down the amount of modules declared by
Media Viewer from 53 to 8. The ones that remain are
mostly things loaded on demand.

Bug: T103706
Change-Id: I5b0d29209599285b93217e96def818e641646c73
2015-07-10 00:07:14 +02:00
jenkins-bot cb970ecdf4 Merge "Replace webkitMovementX with movementX" 2015-07-08 07:40:04 +00:00
Translation updater bot 1e280d2720 Localisation updates from https://translatewiki.net.
Change-Id: Ia0ca17ff5f71233872bc67899a550f049b49bccb
2015-07-06 21:47:00 +02:00
Gergő Tisza 742a3473a6 Replace webkitMovementX with movementX
Bug: T104758
Bug: T77869
Change-Id: Ied88588a3db3a773b02799568da71ecd6c66a2fd
2015-07-06 10:44:16 -07:00
Translation updater bot d00f0004ec Localisation updates from https://translatewiki.net.
Change-Id: Ie0c94ac4bff605a4c6f49c0ac8cf2cb0df316904
2015-07-04 20:38:19 +02:00
jenkins-bot 036f0fb186 Merge "Workaround apparent bug in Edge's history.pushState" 2015-07-03 20:48:02 +00:00
Brion Vibber e77df57615 Workaround apparent bug in Edge's history.pushState
When attempting to clear the hash state via history.pushState(),
MS Edge in Windows 10 build 10159 errors out with the helpful
"Unspecified Error".

Catching the exception and trying again with a "#" works around
the error and doesn't look any worse than the non-pushState code
path -- and should have no side effects when the bug is fixed.

Bug: T104381
Change-Id: I6ea4d367af64f85018b06b859ce688053a1caf0f
2015-07-03 13:43:17 -07:00
paladox ec689b2998 Remove i18n shim
Change-Id: Icfce940ded9d5d942b6f4043b2c5c46da376fc3b
2015-07-03 12:09:21 +00:00
Translation updater bot 3335e1dff1 Localisation updates from https://translatewiki.net.
Change-Id: I0566da1b384451b10b1e1e74aaaec01decf4aad8
2015-07-02 21:26:23 +02:00
Translation updater bot 7b064306d8 Localisation updates from https://translatewiki.net.
Change-Id: I670706f6b56cfe26ab8a2c28c34d3525097638cb
2015-06-28 22:14:26 +02:00
Translation updater bot c4d738a83e Localisation updates from https://translatewiki.net.
Change-Id: Ib0cf4e7b8f107a5a4beba32f5ed35d801f1124ae
2015-06-26 21:55:55 +02:00
jenkins-bot 479a3a6c29 Merge "build: Configure banana-checker and jsonlint" 2015-06-22 22:30:54 +00:00
jenkins-bot 82c087750d Merge "Fix clipping of text when metadata panel is closed" 2015-06-22 13:15:49 +00:00
jenkins-bot 9dab34cc69 Merge "Fix two failing QUnit tests" 2015-06-21 23:00:38 +00:00
Kunal Mehta d996d5e6ae build: Configure banana-checker and jsonlint
Change-Id: If625ff9a3324ac0835afa9fa03d6e5041d3ea331
2015-06-19 21:55:50 -07:00
Gergő Tisza 0e9cfb5de0 Fix clipping of text when metadata panel is closed
The first item (license) of the list on the right side of the
metadata panel wasn't large enough (due to some recent global style
change that I couldn't track down) and the top of the next item was
visible. Added fixed height to prevent that. Also centered the
credit/license text which looked sloppy.

Bug: T101391
Change-Id: I848917ebb9c378c3210646486a87a6497d31a168
2015-06-19 00:42:35 +00:00
jenkins-bot e5ec79f2de Merge "Remove the 640 bucket" 2015-06-18 15:53:55 +00:00
Gilles Dubuc ecc5b58cfa Remove the 640 bucket
It decreases the likelihood of Varnish hits and is only 11% smaller on
average in file weight than the 800 bucket.

Bug: T102870
Change-Id: I8611791a192fa7b0e638ccfc886733b75bf30aed
2015-06-18 10:18:00 +02:00
Translation updater bot aac21f0ca6 Localisation updates from https://translatewiki.net.
Change-Id: I2da7981b033f30133a9c283c1aa0146bdd6792ee
2015-06-16 22:38:45 +02:00
Translation updater bot 05969fe382 Localisation updates from https://translatewiki.net.
Change-Id: I53d5891719f9daaf5d723b99a4a3f39515fc5a03
2015-06-08 21:57:25 +02:00
Translation updater bot 1626914c2a Localisation updates from https://translatewiki.net.
Change-Id: Ide46a2ce0add058447032f8eff7cb3ee2eeff86e
2015-06-05 21:07:53 +02:00
Translation updater bot bb0cd6d4f0 Localisation updates from https://translatewiki.net.
Change-Id: I43f444ff48e29bc611849e06a59b850882c9b842
2015-06-01 22:57:02 +02:00
jenkins-bot 767b736dc1 Merge "Avoid not caching meta=filerepoinfo calls for logged in users" 2015-05-28 00:00:41 +00:00
Kunal Mehta e3a6c0baa3 Avoid not caching meta=filerepoinfo calls for logged in users
Change-Id: I6a1010cb4a0374ec57ccdede2f0788b914165324
2015-05-27 16:51:54 -07:00
Smriti.Singh 531947e802 mmv.mixins.less: Remove '-ms-linear-gradient'
No stable versions of IE have an '-ms-linear-gradient'. Any lines using
the same have been removed.

Bug: T100285
Change-Id: I9fccb3f2208433d2759949a39b86b46d5b71eac1
2015-05-27 15:26:09 +00:00