Commit graph

2769 commits

Author SHA1 Message Date
Translation updater bot 9b6f0a0105 Localisation updates from https://translatewiki.net.
Change-Id: Ifbf21a8511024f00ba520cb1929ae69366b329e7
2020-05-01 10:01:27 +02:00
Translation updater bot 712e339ec9 Localisation updates from https://translatewiki.net.
Change-Id: I1010bb216335da4785d3e856cf9e00bc8f25d448
2020-04-29 08:36:33 +02:00
Translation updater bot 2a7863e77b Localisation updates from https://translatewiki.net.
Change-Id: I5c42853d23a4ee94957293f3887944183311d85b
2020-04-27 09:03:31 +02:00
Translation updater bot e6af0b668c Localisation updates from https://translatewiki.net.
Change-Id: I641ad18f6d7c5db48003da577aa02a08879606ee
2020-04-24 08:23:05 +02:00
libraryupgrader a690f08db1 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: I5b408af2b4c953c93f32668585cf589c7621d0d4
2020-04-22 15:01:58 +00:00
jenkins-bot e50e19bd44 Merge "Amend Base10 color from #222 to #202122" 2020-04-20 21:19:27 +00:00
Volker E 9d2f7de650 Amend Base10 color from #222 to #202122
Amending Base10 to slightly darker `#202122` to fulfill WCAG
requirements in connection to Accent50.
Also adding it as WikimediaUI Base equivalent variable for
future replacement.
Also removing variables not in use any more.

Bug: T248393
Change-Id: I6fb5c288cfeb2bd3c786c2f5ab771074203b8fc0
2020-04-20 13:50:10 -07:00
jenkins-bot 8d2f8d1ade Merge "Add file extension to LESS imports" 2020-04-20 20:05:23 +00:00
jenkins-bot a109cd4684 Merge "Rename 'mmv.globals.less' to 'mmv.variables.less' following naming pattern" 2020-04-20 20:05:19 +00:00
libraryupgrader c7895a9d80 build: Updating grunt-banana-checker to 0.9.0
Change-Id: Ibbcc533c7c58c392e5b4117ab860f07cf2c332d8
2020-04-19 12:58:13 +00:00
Volker E d5aad3a260 Add file extension to LESS imports
Similar to how other extensions have been amended.

Change-Id: Ic9905fe166507739cd687f5aa2f44a0625b9746b
2020-04-17 21:13:01 -07:00
Volker E 02c0fd738f Rename 'mmv.globals.less' to 'mmv.variables.less' following naming pattern
Renaming 'mmv.globals.less' to 'mmv.variables.less' following naming
pattern of other extensions like MobileFrontend, Echo or Flow.

Change-Id: I376c3fd1463ed225e214f165943576f3e3c7df39
2020-04-17 21:05:58 -07:00
Translation updater bot 2c940c9b2c Localisation updates from https://translatewiki.net.
Change-Id: I926b74ba524237d666ea3b9384a1db2518e9a528
2020-04-14 08:24:33 +02:00
Translation updater bot eeca423956 Localisation updates from https://translatewiki.net.
Change-Id: I6ba04fddd901d61c1cb322e910dbaed5ec43ef05
2020-04-10 09:51:40 +02:00
Translation updater bot 67e27a1194 Localisation updates from https://translatewiki.net.
Change-Id: I83ca9a41668f31b7df2d0e347f2b153db68ef9e5
2020-04-09 08:39:24 +02:00
jenkins-bot 6aadd470e2 Merge "Remove redundant dependency on 'mediawiki.notify'" 2020-04-08 16:59:20 +00:00
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