Commit graph

1504 commits

Author SHA1 Message Date
Geoffrey Mon 33908e64c6 Improve Personality Rights restriction icon
Make it more gender-neutral and better-looking:
- No necktie
- A frame around the icon similar to the frame of a photograph

Change-Id: I05ec5a5a546b19f08ac9a6ab1470b769025e076b
2015-09-03 21:38:55 -04:00
Bartosz Dziewoński 34f7d9acb9 Add missing dependency on 'mediawiki.ui.button'
Bug: T111156
Change-Id: I56f0859abff6ef9c983351dc2546ad3d647eb000
2015-09-02 11:00:19 +02:00
Gergő Tisza 2e6ffeff96 Use wikipage.content hook for updating thumbnail list
This makes sure that MediaViewer works correctly when content
is changed via frontend code (such as a VisualEditor edit or
an AJAX preview).

Bug: T97010
Bug: T110493
Change-Id: I9c57af281ed7f416521d80512f95a79150ce13a2
2015-09-01 02:47:00 +00:00
Translation updater bot 01daccf50b Localisation updates from https://translatewiki.net.
Change-Id: Ifd2db9b4325ac8916288387e1c069a106e87abd8
2015-08-26 21:47:42 +02:00
Translation updater bot 454a717b5c Localisation updates from https://translatewiki.net.
Change-Id: I7861ebb9be67a5d31c49f2a79bda31600c599944
2015-08-23 21:37:25 +02:00
Translation updater bot b57f93b815 Localisation updates from https://translatewiki.net.
Change-Id: I9df3f3f20ee48d208383a44ab9b25d02c5340131
2015-08-18 21:21:53 +02:00
Translation updater bot 6fff1fd33c Localisation updates from https://translatewiki.net.
Change-Id: I034fbc5c241d5bedff387b18bd79706ba85e7418
2015-08-17 21:11:07 +02:00
Translation updater bot c7de249587 Localisation updates from https://translatewiki.net.
Change-Id: I324997120d342e89bd0114dc46c5552767925efd
2015-08-14 22:11:11 +02:00
Ori Livneh 1a0ee6d2a1 Work even when cookies are disabled
When cookies are disabled in Firefox, merely referencing window.localStorage is
enough to cause Firefox to throw a SecurityError exception. (See the referenced
bug for reproduction instructions.) This causes MMV to fail to start.

Bug: T109110
Change-Id: I28399cf8b63328ee34316b785f2d091f6f052224
2015-08-14 11:18:09 -07:00
jenkins-bot 63a292655a Merge "Re-add event listeners to images after a finished VE edit" 2015-08-14 00:42:37 +00:00
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