Commit graph

2803 commits

Author SHA1 Message Date
Timo Tijhof ece9f65067 Remove redundant dependency on 'mediawiki.notify'
The 1 line of code this contained, to lazy-load mediawiki.notification,
and forward the function call is now part of mediawiki.base,
and required no dependency.

Bug: T233676
Change-Id: I15e135f7e91ef2a608f7ee915ae3f530c47e5734
2020-04-08 16:46:49 +00:00
Translation updater bot aa8bbb0433 Localisation updates from https://translatewiki.net.
Change-Id: Ic591f16a73d4b17b57e2c082545f71fa2700548e
2020-04-08 09:04:54 +02:00
Translation updater bot 340b2955a4 Localisation updates from https://translatewiki.net.
Change-Id: If0cffd7fd736b5ac139e44e02ddadb957c7a7e35
2020-04-07 08:45:13 +02:00
libraryupgrader 54fbedec82 build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: I4c3ca5c6206fd00f0bc6ee7b340d03da456b4c81
2020-04-05 08:27:21 +00:00
Translation updater bot 52c45b420f Localisation updates from https://translatewiki.net.
Change-Id: I1cbddb2b5f7b8db919ba524a644082741818f78e
2020-03-27 08:41:35 +01:00
libraryupgrader 80165f9fc8 build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* eslint: 6.4.0 → 6.8.0
  * https://npmjs.com/advisories/1179
* svgo: 1.3.0 → 1.3.2
  * https://npmjs.com/advisories/1179
* acorn: 7.1.1 → 7.1.1
  * https://npmjs.com/advisories/1488

Change-Id: I4504d56b50b345a594cccad8030c3f50c90fb210
2020-03-21 04:12:51 +00:00
libraryupgrader b3556c6c4e build: Updating npm dependencies
* minimist: 0.0.8 → 1.2.5
  * https://npmjs.com/advisories/1179
* acorn: 7.1.1 → 7.1.1
  * https://npmjs.com/advisories/1488

Change-Id: Ic0afe12e7c118fd7ff8c45800328dc8e221de794
2020-03-19 02:02:44 +00:00
Translation updater bot 454dc769b9 Localisation updates from https://translatewiki.net.
Change-Id: Ic6983cc247075ebd1280d054d94210ea0ad88ff9
2020-03-18 08:58:20 +01:00
DannyS712 d46bb28023 extension.json - don't use array syntax when hooks only have 1 handler
Change-Id: Icea2021ab6c9a500de3025a471a657ee9dccea02
2020-03-11 10:42:07 +00:00
Translation updater bot 426aabfdc4 Localisation updates from https://translatewiki.net.
Change-Id: I2a44ba6db5b9875c99cdd1f2028c6efeb2721918
2020-03-09 08:57:20 +01:00
libraryupgrader c5bdb0c2a1 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: Ic276466168eb5bb02ca2cecd56c8b54c1bd33ebc
2020-03-08 09:36:43 +00:00
Translation updater bot a5b7d32576 Localisation updates from https://translatewiki.net.
Change-Id: I713a5d353bdd589e34516b1e5ffc3c3e7496a1db
2020-02-28 08:22:41 +01:00
jenkins-bot 7b3e5b5093 Merge "Maintenance: npm -s run lint:fix caught some missed empty lines and spaces." 2020-02-27 18:48:55 +00:00
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