Commit graph

2776 commits

Author SHA1 Message Date
Matthias Mullie ca1364928c Move mmv-close event trigger higher up in lightboxinterface/unattach
This avoids a bug with Firefox's automatic scroll restoration logic,
which seems to always jump to the top of the page upon closing MMV.

Bug: T229484
Change-Id: Ia4261ce268df4d8fb07b4813a6ae72ad88728e91
2020-01-15 00:50:13 +00:00
libraryupgrader 6bdae911b8 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: I9770f643406285b31ac1050d6028285941748fb1
2020-01-14 07:57:00 +00:00
libraryupgrader 651e4a3533 build: Updating npm dependencies
* stylelint-config-wikimedia: 0.6.0 → 0.8.0
* grunt-stylelint: 0.11.1 → 0.13.0

Change-Id: I1ddfa66f342f3649bd07bddd13ed2416b6548718
2020-01-09 18:49:45 +00:00
Umherirrender 6a6d17b999 build: Remove unneeded exclude from .eslintrc.json
This reverts parts of commit bb26bc47b4.

Change-Id: I108e2f39713fb95f4b00dabd495e27f4bd5af90a
2020-01-08 19:51:42 +00:00
libraryupgrader bb26bc47b4 build: Updating eslint-config-wikimedia to 0.15.0
The following rules are failing and were disabled:
* brace-style
* camelcase
* eqeqeq
* new-cap
* no-alert
* no-console
* no-constant-condition
* no-dupe-keys
* no-empty
* no-implicit-globals
* no-jquery/no-global-selector
* no-jquery/variable-pattern
* no-mixed-spaces-and-tabs
* no-redeclare
* no-tabs
* no-undef
* no-underscore-dangle
* no-unused-vars
* no-use-before-define
* no-useless-concat
* one-var
* valid-jsdoc
* vars-on-top

Additional changes:
* Added .eslintcache to .gitignore.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I2b54baa20980b7efa3e432ed5d95fa9bc0ba7e40
2020-01-08 00:06:26 +00:00
Translation updater bot 63d8f50418 Localisation updates from https://translatewiki.net.
Change-Id: If9364fb14cdb720bb6d1a1891136cefe6b2eb22d
2020-01-06 08:49:46 +01:00
Translation updater bot 47045ab513 Localisation updates from https://translatewiki.net.
Change-Id: I132ee3e768b219b1a369fd6bfc13135b4813f394
2020-01-02 08:59:11 +01:00
Translation updater bot 42be8bff17 Localisation updates from https://translatewiki.net.
Change-Id: I681da294a784057cee305fa7f78533806a441132
2019-12-26 16:20:37 +01:00
libraryupgrader 63fb76dd7d build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I58338dd39b5419647484bbc53f6306f2fa0310d9
2019-12-21 17:38:50 +00:00
libraryupgrader 6c25dc246b build: Updating mediawiki/minus-x to 0.3.2
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I144fc14028631fa6567c8f12474abf3056da8d27
2019-12-17 10:32:07 +00:00
Translation updater bot 8cd39b7506 Localisation updates from https://translatewiki.net.
Change-Id: Iee8b00e3ada3c3761616e199e6be6f5c6da0a216
2019-12-16 12:14:26 +01:00
Translation updater bot f901901384 Localisation updates from https://translatewiki.net.
Change-Id: If05669ec41b3c5c274f26c5da5b56d3c07acd99a
2019-12-12 09:57:44 +01:00
Translation updater bot 76eeb7dc0f Localisation updates from https://translatewiki.net.
Change-Id: Ic4819f45176cdb5c6391cf6475329ffa69ba9882
2019-12-09 09:36:17 +01:00
Translation updater bot 816979e3fa Localisation updates from https://translatewiki.net.
Change-Id: If3fcd9ced77afee6a763084e86148c2baccc122b
2019-12-02 09:22:03 +01:00
jenkins-bot 5c931b5d2e Merge "Increase timout for browser cache hits from 10ms to 100ms" 2019-11-28 18:13:34 +00:00
Thiemo Kreuz 550d01d231 Increase timout for browser cache hits from 10ms to 100ms
At the moment, the blur effect is shown all the time when flipping back
and forth between images that have already been loaded. I believe the
code just does not have enough time to get it's job done. Even if it was
a cache hit, the very low limit of only 10ms results in all actions being
considered "long running", and the blur effect been shown.

Given the animation takes 300ms, using a very low threshold like 10ms
seems unfair. Something like 1/2 of the animation time seems more
appropriate.

Change-Id: I8d655be3830fef3f363a0942ac64c932c1e8f7f7
2019-11-28 03:44:31 +00:00
Translation updater bot 2a7a4edc96 Localisation updates from https://translatewiki.net.
Change-Id: Ic7cb3881fcf06f39ece2aabc9ac368377e639861
2019-11-22 09:15:08 +01:00
Translation updater bot 90a973f37b Localisation updates from https://translatewiki.net.
Change-Id: I74bed0d8c270b551da09d56d1a65bd2c64b32d11
2019-11-18 09:24:08 +01:00
Translation updater bot c8756691b2 Localisation updates from https://translatewiki.net.
Change-Id: I07230a4b59301b63d946e8476b90e3a10d1eafa8
2019-11-15 09:21:46 +01:00
Translation updater bot fc28a5afd9 Localisation updates from https://translatewiki.net.
Change-Id: Ibc84684419359fc91e723bc316395c02fd0413d4
2019-11-11 14:50:16 +01:00
Translation updater bot d90b171811 Localisation updates from https://translatewiki.net.
Change-Id: Ic27905e0c185ad1381de03e4afe7044547960163
2019-11-07 09:44:07 +01:00
jenkins-bot 7e8dbaf78f Merge "Do not queue MMV modules on the mobile domain" 2019-11-05 19:12:09 +00:00
jdlrobson 9a25e19bfe Do not queue MMV modules on the mobile domain
Document the compatibility problem between MobileFrontend
and Minerva.

Note that on Minerva when running in desktop mode, the code
in this extension runs (not MobileFrontend).

Bug: T235712
Change-Id: Iafe508cbd19b3f77f553219bf4c28f04ba147fe9
2019-11-05 19:01:30 +00:00
Translation updater bot d15a5450da Localisation updates from https://translatewiki.net.
Change-Id: I77f9b76951664dccfcfa8db58f6a50b93045bcef
2019-11-04 10:16:54 +01:00
Umherirrender e08d456963 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: I2a0fd6cd46b0f286f7cbced15a18d595642cc24a
2019-11-03 19:27:15 +01:00
Translation updater bot 598abdd6c2 Localisation updates from https://translatewiki.net.
Change-Id: I7ce98de1e6f052a8eb5dce21ece812904eea14e6
2019-10-31 09:29:01 +01:00
Translation updater bot a0ba78dd9f Localisation updates from https://translatewiki.net.
Change-Id: Idab9c3a1550503c449d677f26dc159ef4ad7ec75
2019-10-28 16:35:19 +01:00
Translation updater bot 20806b0f89 Localisation updates from https://translatewiki.net.
Change-Id: I392dc316be6a5cfae3adc75f183169fce831accc
2019-10-25 09:19:09 +02:00
Translation updater bot 56d2c4fa8d Localisation updates from https://translatewiki.net.
Change-Id: Ie8d4da59128d39b839041fbc72a6639bab45a43d
2019-10-24 10:47:17 +02:00
Translation updater bot e2b2637611 Localisation updates from https://translatewiki.net.
Change-Id: I01c2b6f1536634a65e5fbc32940e5bdfe4c2f12e
2019-10-23 09:53:25 +02:00
Translation updater bot 6bf0a0b347 Localisation updates from https://translatewiki.net.
Change-Id: Icaa7c21add9f7eb6f2af61cea65771f4418cce42
2019-10-16 20:40:38 +02:00
Translation updater bot 51c0dc9337 Localisation updates from https://translatewiki.net.
Change-Id: Ib6b2e24330bbe06b058222cfd0b873c19d1442e0
2019-10-16 10:40:19 +02:00
Volker E 44d39ad807 Remove obsolete color
Removing obsolete color, the list items needs to inherit WikimediaUI
palette color `#222` from `.mw-mmv-post-image` instead.

Change-Id: I70354470e0571b6eb8276a3e47167c507b4d717c
2019-10-13 09:40:55 -07:00
James D. Forrester 5a0a89e2cb build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: Ia692e421ddced8316ab1852b28b3adcb1f432b8c
2019-10-11 10:54:39 -07:00
Ed Sanders 8eae7b9613 build: Update linters
Change-Id: I6f69e00b15bef4eacf063dab4e491b8a5bcc3c81
2019-10-07 16:17:09 +01:00
Translation updater bot a372853687 Localisation updates from https://translatewiki.net.
Change-Id: I0bb13cf4da6526349134ccdc855d15846128b9df
2019-10-02 09:22:23 +02:00
jenkins-bot 30ea7685ea Merge "build: Update linters" 2019-09-28 21:37:16 +00:00
jenkins-bot 7178e76d37 Merge "eslint: Enable no-proxy rule" 2019-09-28 21:37:15 +00:00
Krinkle bfc93418c8 Merge "Remove @embed where it needlessly delays loading of the UI" 2019-09-27 16:19:42 +00:00
jenkins-bot dd4f996ae4 Merge "Revert "Clicking on the black wrapper should close MVV"" 2019-09-23 19:16:59 +00:00
Esanders 24fcde2546 Revert "Clicking on the black wrapper should close MVV"
This reverts commit c7c8059a0a.

Bug: T133900
Bug: T231895
Change-Id: I0583487249ca4bb29bf68fb218a3ddf2251893e7
2019-09-23 18:51:33 +00:00
Translation updater bot a0f4414c84 Localisation updates from https://translatewiki.net.
Change-Id: Ic1e119d94d8b4399dd129c332513c787d1502e3a
2019-09-23 09:26:11 +02:00
Ed Sanders 4d3cc4b06e build: Update linters
Change-Id: I978dbe38263891c1cd012d0de70d5cbaa8c5353e
2019-09-20 13:26:20 +01:00
Ed Sanders 5da05073f1 eslint: Enable no-proxy rule
Change-Id: I54e0073c0f35db110add7518e888081af19cd069
2019-09-20 13:25:10 +01:00
Translation updater bot 6896043426 Localisation updates from https://translatewiki.net.
Change-Id: I90d2ea32fcb0e1a5b6d9a29b97ec9b8191633d58
2019-09-16 09:56:24 +02:00
Translation updater bot be7cea4367 Localisation updates from https://translatewiki.net.
Change-Id: I9f632b92240b5060f3270bb0eeafdac5039e9b09
2019-09-13 10:18:58 +02:00
James D. Forrester e75c8f3fb4 mmv: Don't try to use internal (now removed) ext property of mw.Title
Bug: T232521
Change-Id: I8af85efc2b7ff84f81a72b39986ce3eb356eac69
2019-09-10 12:57:33 -07:00
Translation updater bot d5707d1feb Localisation updates from https://translatewiki.net.
Change-Id: Ie26212df7bde91f5c72137ac3c14c2afabeb513b
2019-09-04 10:14:19 +02:00
Timo Tijhof 70b0cbb727 Remove @embed where it needlessly delays loading of the UI
* mmv.ui.canvas / error-media-icon.svg:
  Used when the media file fails to load (e.g. due to an intermittent
  issue with the user's network connection). Rarely displayed,
  and the space is reserved (no FOUC). Seems fine to display
  slightly later within that use case (or not at all, if offline)
  to make the MMV interface itself load faster overall.

Bug: T121730
Change-Id: I760f46c920c3d1f3da2cb385d8cfd81951b628e5
2019-09-02 01:24:56 +00:00
Translation updater bot 09cd7b3fdc Localisation updates from https://translatewiki.net.
Change-Id: I490520ed5339f4f584cd44edbed9274832dd7803
2019-08-30 10:04:01 +02:00