Commit graph

698 commits

Author SHA1 Message Date
Jon Robson cf169e60e2 Enable CodeEditor modules on mobile
Depends-On: Ifa355f3821c72935c74650fa635a6ab863c70d39
Bug: T324723
Change-Id: I271e99c777b638bd4c4bae642f8c7c87fc0ae5cd
2023-01-05 20:31:30 +00:00
Translation updater bot 9336114847 Localisation updates from https://translatewiki.net.
Change-Id: I66428e753257b7fa704e410b5ab53f006f630075
2023-01-04 08:28:42 +01:00
Translation updater bot 4388be67a5 Localisation updates from https://translatewiki.net.
Change-Id: I9abc840de19b5eb7b83f448f5e0782f09abd236b
2022-12-21 09:14:29 +01:00
Nardog a2199fe310 Configure JS linter without overriding safe options
I263e08a397 overrode linter options set by Ace worker, such as ES6 and
browser globals. Using changeOptions instead of setOptions avoids this.

Bug: T1092
Change-Id: I31ba98a7a04063df175ed3188fed3a8ef1a2dab0
2022-12-19 12:45:35 +09:00
Translation updater bot 98e5fa0108 Localisation updates from https://translatewiki.net.
Change-Id: Ia926c3887350fe49d26f7fec9696373ef4c33eba
2022-12-14 08:15:29 +01:00
Translation updater bot 7dde33c516 Localisation updates from https://translatewiki.net.
Change-Id: Ia6d2e6b2bb4626b84d761e158f26cf2c493d37c7
2022-12-06 08:51:36 +01:00
Translation updater bot 7534f20b7c Localisation updates from https://translatewiki.net.
Change-Id: I8df8ff05efa4e12a6b19c5d5286e9bb7d45f1c46
2022-11-21 08:15:35 +01:00
Translation updater bot 9be05e70b4 Localisation updates from https://translatewiki.net.
Change-Id: I872aabb56b1bdf2461598319bdd40422a5066030
2022-11-18 09:17:52 +01:00
Translation updater bot 156c035c3e Localisation updates from https://translatewiki.net.
Change-Id: I6fa1330dddae2697af219582687c308631afcfbd
2022-11-17 08:26:41 +01:00
libraryupgrader 138bae60d2 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 40.0.1

npm:
* stylelint-config-wikimedia: 0.13.0 → 0.13.1

Change-Id: Id219f60bb8e6b1c3b8fd37dc241b9e477be482c5
2022-11-16 04:20:08 +00:00
libraryupgrader bf0ec8a2f9 build: Updating grunt-stylelint to 0.18.0
Change-Id: Ibeeeea74226887336639bdd86409de0b331874ea
2022-11-13 02:27:21 +00:00
libraryupgrader 58f6d50433 build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: I70d5df1297c0a5848d88c2bdad891ced40d2779f
2022-10-09 03:00:34 +00:00
libraryupgrader f757f73b20 build: Updating grunt-banana-checker to 0.10.0
Change-Id: I4d3c1fca7dd1063363458cab0e4247bdb0d76fbd
2022-10-06 21:10:14 +00:00
Translation updater bot 4e134b33ba Localisation updates from https://translatewiki.net.
Change-Id: I52a1f472b305085dd960f492903559e17007dd0d
2022-09-26 08:14:51 +02:00
Translation updater bot 6f94596322 Localisation updates from https://translatewiki.net.
Change-Id: If61beee7deee865b79e890a491eb53c5f99d7b0a
2022-09-12 09:36:12 +02:00
Translation updater bot 293cf3533f Localisation updates from https://translatewiki.net.
Change-Id: Idb0d4e1b93b8e16a37613522007e5260116cb6e3
2022-09-05 10:10:09 +02:00
Translation updater bot c0dfb07e89 Localisation updates from https://translatewiki.net.
Change-Id: Ia98858b32d0c53c41ff0fee153b28435335c61ac
2022-06-28 08:39:17 +02:00
Translation updater bot 2eebfba1a2 Localisation updates from https://translatewiki.net.
Change-Id: Ic78e92b892e397d3e82fece342ebb80c132a4e88
2022-06-02 08:13:52 +02:00
Derk-Jan Hartman 177142940d Configure JS linter to handle more lines
The linter would bail after 100 detected issues (alerting or not) and
would report the warning 'too many errors (xx% scanned)'

Set a higher limit. 1000 seems enough for navigation popups gadget.

Bug: T1092
Change-Id: I263e08a39712279a06b12cd75ebedcccaf191b58
2022-05-30 21:12:19 +00:00
libraryupgrader da69ea7404 build: Updating grunt to 1.5.3
Change-Id: Icb9b6d6bdec2dd406655e870fad1da99d1d3ba65
2022-05-26 09:01:22 +00:00
libraryupgrader 054a40408e build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* grunt: 1.4.1 → 1.5.2
* stylelint-config-wikimedia: 0.12.2 → 0.13.0
* async: 2.6.3 → 2.6.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

Change-Id: I074d3c48364ba47c35cbbb7b087166bf72b8280b
2022-05-21 01:20:56 +00:00
Translation updater bot cfe4519a17 Localisation updates from https://translatewiki.net.
Change-Id: I03cb6100690342e37286776f6df5b48a6601bd54
2022-04-07 08:09:15 +02:00
Translation updater bot 592a81717e Localisation updates from https://translatewiki.net.
Change-Id: I1f7c5addad3c784cbf416f06dd319f46e0272b0a
2022-04-01 08:26:20 +02:00
Translation updater bot 1456804d55 Localisation updates from https://translatewiki.net.
Change-Id: Ie3e138a386fbd713f2eaa0f66f6cba46f93f3004
2022-03-21 08:14:28 +01:00
jenkins-bot f2b0cf3200 Merge "build: Update devDependencies" 2022-03-15 20:39:06 +00:00
Translation updater bot ccfb7897f6 Localisation updates from https://translatewiki.net.
Change-Id: I93c6dae6cff3403d4f075abcb5465e685a04e1f5
2022-03-14 08:13:43 +01:00
Ed Sanders 861ba9acc7 build: Update devDependencies
Change-Id: I92cfe510874632cb1ba35f67ac20cbf1ad609767
2022-03-13 22:50:06 +00:00
Ed Sanders 2479c7f1bb eslint: Lint Gruntile.js using server rules
Change-Id: I9e452fc08ae483431ad83dca3c7ebd7f04f5d945
2022-02-07 16:22:02 +00:00
libraryupgrader 7a771d4f8c build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1

npm:
* eslint-config-wikimedia: 0.20.0 → 0.21.0
* grunt: 1.4.0 → 1.4.1
* nanoid: 3.1.25 → 3.2.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2

Change-Id: I368c326555329f168339870459344e4091d07d74
2022-02-06 07:57:39 +00:00
Translation updater bot bc0f131ef5 Localisation updates from https://translatewiki.net.
Change-Id: Ib235851909750d4bc9323b3a75d5c5d3b0b1fc4f
2022-02-01 08:26:47 +01:00
Translation updater bot 07d05ae76b Localisation updates from https://translatewiki.net.
Change-Id: I0a677e0128afc25cd0be826cd176e56426897dcb
2021-12-13 08:21:15 +01:00
Fomafix a1b66a08db Use AutoloadNamespaces instead of AutoloadClasses
Change-Id: I9a1b95e1ff4c601c7101c6cf9cdc6f17e84a33a3
2021-11-28 14:58:04 +00:00
Roman Stolar 51cd95fac9 Avoid using User::getOption and inject service UserOptionsLookup
Remove using of User:getOption since this method will be hard-deprecated. Now it is soft-deprecated

Bug: T296083
Change-Id: Iae0c0cd3ab4ffdfd6cfce5e7ced81dfae3d4a359
2021-11-26 08:36:11 +00:00
Fomafix ad1930d255 Use HookHandlers and implement hook interfaces
Change-Id: I9313f4cff24ceb9c83d5a529ec3064330eabb8c6
2021-11-25 20:14:37 +00:00
Fomafix d7117949b1 Use namespace MediaWiki\Extension\CodeEditor in PHP
An alias with the old class name CodeEditorHooks is not added because
there are no external findings on
https://codesearch.wmcloud.org/search/?q=CodeEditorHooks

Change-Id: I88cb3a506d196d918ce852e46433dad808ae2a6c
2021-11-25 19:41:48 +00:00
Translation updater bot b10b8862a8 Localisation updates from https://translatewiki.net.
Change-Id: I94e36c3a462f671900e2414bed9c4526d6e137be
2021-11-15 08:11:23 +01:00
Fomafix bcb7eed32d Use single quotes instead of double quotes in PHP
Change-Id: I9d32e36a14c25139cd735bd6657c5d46df573e15
2021-10-30 19:14:59 +00:00
Translation updater bot 9b1bd68d98 Localisation updates from https://translatewiki.net.
Change-Id: Ibd31c9c078d237fb1397ab1f25d2bf6bdd19de7b
2021-10-29 08:21:32 +02:00
libraryupgrader 7768b3b79e build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I20d545d1e42e010d09a2947f3e6466cdb2a03f8b
2021-10-24 01:04:12 +00:00
Translation updater bot 5fde4244ca Localisation updates from https://translatewiki.net.
Change-Id: I7eb89c599123159cadb0eba53fa65db2d1d5a41d
2021-10-18 15:19:38 +02:00
Ed Sanders 17e04cab5e Move var declarations inline
Change-Id: Iccad0c3bf194f8fa418181283ac3b2a037fabe5f
2021-10-06 18:00:20 +01:00
Translation updater bot 6f252046d3 Localisation updates from https://translatewiki.net.
Change-Id: I04e8767065a442649862b8a2944d2cdd0119bb15
2021-10-06 09:28:08 +02:00
libraryupgrader 4d4a0f8103 build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/5197 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I8853077fe99f79e55daf522b1a55a1df4812f563
2021-10-04 14:56:30 +00:00
libraryupgrader a5e8af27a0 build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: I3858b0d9c0b2fcce94252880c7b5ebf4ca98bf53
2021-09-08 20:52:59 +00:00
libraryupgrader ce93e424a5 build: Updating stylelint-config-wikimedia to 0.11.1
The following rules are failing and were disabled:
* declaration-property-unit-disallowed-list

Change-Id: I7ceb0021cec89d3c1fa58e21325bedfecb7ddf0f
2021-09-04 18:51:00 +00:00
Translation updater bot a3b3dfaece Localisation updates from https://translatewiki.net.
Change-Id: I25d7af62a5b27fb9c1e74b994231b024b0cd93f2
2021-08-16 08:16:04 +02:00
Translation updater bot 08b20bccc1 Localisation updates from https://translatewiki.net.
Change-Id: Idfdc9275a3191bf080bd189c674a18f03a585aa5
2021-08-12 08:09:26 +02:00
libraryupgrader d942f1f68c build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I977061a8cd4b211f41d2677a43094eb553bf8554
2021-08-11 15:39:37 +00:00
libraryupgrader c7fce87744 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* postcss: 5.2.18 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.0 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: I79ac6ca483bda11cd4e8a1b3c61bf900701d47a7
2021-07-22 12:59:36 +00:00
Translation updater bot fd3d7cb7f3 Localisation updates from https://translatewiki.net.
Change-Id: I8a26cc288caa7da86f79ad14d6095c9809b8dc56
2021-07-12 08:06:15 +02:00