Commit graph

2940 commits

Author SHA1 Message Date
AronDemian c73a73a203 Maintenance: npm -s run lint:fix caught some missed empty lines and spaces.
Bug: T245930
Change-Id: I338069768111963a25531fc3996f6031b76dc4ee
2020-02-27 06:50:49 +01:00
James D. Forrester cf26ef2e1a metadataPanel.formatDate: Account for timezoneness
As MDN says, new Date( dateString ) is strongly discouraged, for
exactly this reason. Oy.

Bug: T243160
Change-Id: Ib71b16185f5bd1cd522535716b6e36d2699678cd
2020-02-24 15:16:00 -08:00
James D. Forrester f7681dc537 Follow-up 950577662: Put developer-focussed notes in DEVELOPERS.md
Much more likely to be found than inline comments in Gruntfile.js.

Change-Id: I51f8b56d490fb72dba111d80140b4f3c6e87db18
2020-02-24 12:08:52 -08:00
AronDemian 950577662e Maintenance: grunt lint --fix, grunt eslint --fix, grunt stylelint --fix automatically fixes trivial coding style errors
Bug: T245930
Change-Id: Ied764d76c8d2f1fd3f541df38e40a0c029a842a9
2020-02-24 19:03:25 +01:00
AronDemian 404c0d5fc7 Maintenance: add grunt lint and grunt minify, consistent with core, and grunt build, npm build
Bug: T245930
Change-Id: I3b3c42078d041c6df866001508dd7e75e81f289e
2020-02-24 14:55:54 +01:00
AronDemian 2ebd52ec71 Maintenance: grunt test won't run the unnecessary 'svgmin' task. grunt (default) will, though.
'svgmin' minifies .svg files, that's only necessary when those are changed, which seldom happens.

Bug: T245930
Change-Id: I79e1dbc5c86206991fcef08eb23d17d3141901b7
2020-02-24 14:54:03 +01:00
libraryupgrader 18ccec0b3b build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I2b21d08fbe34596774734e3643f69dd97841909f
2020-02-21 00:13:45 +00:00
Translation updater bot da418fdfa7 Localisation updates from https://translatewiki.net.
Change-Id: I8c9fb8f8a4232f0ee853beb12b2f6fa6fbc6bba7
2020-02-20 09:27:21 +01:00
Translation updater bot 5216eedc9a Localisation updates from https://translatewiki.net.
Change-Id: Icaa9eddde7c4b84373f07844ba8bcd6a1b853c2d
2020-02-19 08:25:20 +01:00
Translation updater bot fce807985a Localisation updates from https://translatewiki.net.
Change-Id: I2993730ec000c22b8986fb99c837c0448e0f9f08
2020-02-07 09:57:43 +01:00
libraryupgrader 7570d05d30 build: Updating composer dependencies
* jakub-onderka/php-console-highlighter: 0.3.2 → 0.4.0
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: I894e54ca4181d804fd9c046c65582e45794a54c3
2020-01-29 20:37:14 +00:00
Translation updater bot 618d5484a3 Localisation updates from https://translatewiki.net.
Change-Id: Ia43e03aeac7dd90e31ce4e4368d1348da696adef
2020-01-21 08:16:40 +01:00
Translation updater bot 73c77f2052 Localisation updates from https://translatewiki.net.
Change-Id: I1de324a587c4232fd437a5a61a29e377de78fa35
2020-01-20 08:49:54 +01:00
Translation updater bot 996395c2bf Localisation updates from https://translatewiki.net.
Change-Id: I9055426554d293a3d12c82e1002ec63b7537327f
2020-01-17 08:37:11 +01:00
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