Commit graph

2780 commits

Author SHA1 Message Date
jenkins-bot 072afa9b49 Merge "Convert to manifest_version 2" 2020-06-15 13:47:59 +00:00
Timo Tijhof caa11531b1 mmv.bootstrap: Remove direct static call to OO.Router.prototype
Follows-up Id4df92b0ebed3 where a direct call was added into
the OO.Router.prototype which is invalid.

It also didn't add much value as it literally contains just
one line of trivial code that was already used without any
shared state with the actual instance of OO.Router used.

Use location.href directly.

Bug: T77258
Change-Id: I00c018f97d6569a532e51f817a1faa2df4f2fb1a
2020-06-12 10:07:40 +00:00
Reedy a78f97419c Convert to manifest_version 2
Bug: T252470
Change-Id: I0ec17528558cca78a2e3c44a7fce00c80a0892fd
2020-06-12 10:07:29 +00:00
Matthias Mullie 6a85e6c111 Fix tests
Tests are now run with qqx language.

Bug: T252543
Change-Id: Ibe87b3ee64d5607bee12faf453cbb9fec64c5d2b
2020-06-12 10:27:09 +02:00
libraryupgrader 16e99fdc31 build: Updating composer dependencies
* mediawiki/minus-x: 1.0.0 → 1.1.0
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0

Change-Id: I276d9a59124e98d93ba41c842a40f04d6b64c9d1
2020-06-09 07:23:54 +00:00
Translation updater bot 80037c22ac Localisation updates from https://translatewiki.net.
Change-Id: I895a5338ff3e02b13a285421c290e73ce3aee451
2020-06-09 09:14:13 +02:00
libraryupgrader d531a4d1ac build: Updating mediawiki/mediawiki-phan-config to 0.10.2
Additional changes:
* Removed phan-taint-check-plugin from extra, now inherited from mediawiki-phan-config.

Change-Id: I6eb9d483cfde70df50323f76cffe840f70fa65ed
2020-06-02 22:41:41 +00:00
libraryupgrader 36458ace81 build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: Ib85af9acd36d6274271b564a430943e467a2c9c8
2020-06-01 02:44:48 +00:00
Translation updater bot 385c17f9b9 Localisation updates from https://translatewiki.net.
Change-Id: I988f7e750a07162af9acff9119a290f67b6c1c86
2020-05-20 08:35:29 +02:00
Translation updater bot a33de6e2aa Localisation updates from https://translatewiki.net.
Change-Id: I59a9ed2467ded5bf9b678fc73acb20e513baaa88
2020-05-15 08:53:48 +02:00
Translation updater bot 3396354a91 Localisation updates from https://translatewiki.net.
Change-Id: I25e5da75cdede6148928c63cb723210b2959a069
2020-05-11 08:38:20 +02:00
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