Commit graph

717 commits

Author SHA1 Message Date
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
jenkins-bot ce49e09557 Merge "Improve accuracy of the search/replace toggle" 2021-06-26 11:09:08 +00:00
Translation updater bot b7c90a5829 Localisation updates from https://translatewiki.net.
Change-Id: Ideeeaa43234836d615349e14ff3223537af0841b
2021-06-21 14:11:29 +02:00
Translation updater bot 669c6a815b Localisation updates from https://translatewiki.net.
Change-Id: Ida55de4e72e167f52c591d3ccce354ddf9ea0401
2021-05-28 08:59:37 +02:00
Translation updater bot 6dc7ffc397 Localisation updates from https://translatewiki.net.
Change-Id: Ibe9ef43697eae68719f98bb5501f712b7eeb41da
2021-05-27 12:04:59 +02:00
libraryupgrader 6f7aee7cdf build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I77284085a837996ba7c6883905221e6440c93093
2021-05-25 08:55:30 +00:00
Translation updater bot 2e60af2382 Localisation updates from https://translatewiki.net.
Change-Id: I9336d757e02b436a0cfcea2518c5ab2123cdd66e
2021-05-20 09:10:01 +02:00
libraryupgrader e915150faa build: Updating postcss to 8.2.15
* https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: Ic20e4f2ef2d4fdd89d95f052bfd68ce2f5dc386e
2021-05-15 12:50:34 +00:00
libraryupgrader 2cdb6ef679 build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* hosted-git-info: 3.0.8 → 2.8.9
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: Iafaf32eb5503c4c3bc34e150bb14fe0385fff84d
2021-05-09 05:42:28 +00:00
libraryupgrader e340a47317 build: Updating npm dependencies
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 3.0.7 → 3.0.8
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: I22d32212d0d514cedf5acd4ab62ced7f1896da25
2021-05-07 16:46:58 +00:00
libraryupgrader f36cfe93d6 build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

Change-Id: I510f86381fa3875e9cf6c86cf5784aea16b8f14c
2021-05-04 02:01:27 +00:00
libraryupgrader c93bb532bd build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: Id38bc122f81ac38a640519c8acedb8634a4610bf
2021-04-16 06:18:57 +00:00
Nardog 86e79cdaf3 Improve accuracy of the search/replace toggle
Now toggleSearchReplace() actually looks at the visibility of the search
box, instead of keeping a boolean, to decide whether to show or hide the
box, in case it was opened by Ctrl-F or closed by Esc or clicking X. So
the button itself is no longer a toggle, but a simple action button. In
addition, it now uses Ace's native replace command instead of
reinventing the wheel. Ace no longer hijacks Ctrl-R and with this Ctrl-H
now works.

Bug: T102486
Change-Id: I6bead1b3209e08a46e31ed3f30c61ca52152b688
2021-03-25 20:11:52 +00:00
jenkins-bot fbce328d69 Merge "Move images folder into modules folder" 2021-03-21 22:23:58 +00:00
Translation updater bot 1a5478c82d Localisation updates from https://translatewiki.net.
Change-Id: Icac48d2d93629bb75abb65e74358a0a04059f54a
2021-03-15 08:40:04 +01:00
libraryupgrader dc2269cc6f build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I7ed4641f8b4b97b6f29c0bfbf4c2d553296551ae
2021-03-13 07:11:39 +00:00
Umherirrender b2aeedd34a Move images folder into modules folder
All resources needed by client should in one folder

Change-Id: Ib9f6ea7bb59f2b5b8115c381290032170d482a98
2021-03-12 20:09:55 +01:00
libraryupgrader 583480e698 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: Ia6a760e3570867a380a833b52d0e41931f03b334
2021-03-06 09:23:38 +00:00
Translation updater bot 50aa353761 Localisation updates from https://translatewiki.net.
Change-Id: I002a20fd128f32267f9df35db122fd43c97e9f20
2021-02-11 08:38:13 +01:00
Translation updater bot 62c3f55132 Localisation updates from https://translatewiki.net.
Change-Id: Ia93718a684f4a257f88feded590f74763ab24d94
2021-02-08 08:39:41 +01:00
libraryupgrader 38a93bc8c9 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: Ib5874ef3c1a11e92fd74e5befa28c8f633884867
2021-01-29 06:46:28 +00:00
Ed Sanders ccb909be60 De-emphasise line numbers
Bug: T271956
Change-Id: I336e7a319a7a4eb5f6fc9f07b149d584a15c73c4
2021-01-13 17:07:02 +00:00
Translation updater bot 53629286a4 Localisation updates from https://translatewiki.net.
Change-Id: I8bd3f086b1af49b0fced8c28e2d0deaebefe52cb
2020-12-28 10:37:38 +01:00
libraryupgrader 3ef1f3480d build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: I62aa21af28928f1d58512897281c41960cd4c655
2020-12-19 12:41:09 +00:00
Translation updater bot 5470e2fa16 Localisation updates from https://translatewiki.net.
Change-Id: I2f3b7d515c259573d7449781a97b33a6358442ef
2020-12-17 08:54:33 +01:00
Translation updater bot b89daa83c0 Localisation updates from https://translatewiki.net.
Change-Id: Ic70c719568ffafeaffaf9b9d1ebccd70bcfcd6da
2020-12-16 08:29:35 +01:00
Translation updater bot 20a20eb648 Localisation updates from https://translatewiki.net.
Change-Id: I97ac6f8d0802d4a63ae5a4e99f6b27eff705ced0
2020-12-14 08:41:09 +01:00
libraryupgrader ebed7c1f56 build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: Ic976afeaf98ea42c7e9d56bb2ad65f889d308b9e
2020-12-12 22:42:55 +00:00
libraryupgrader 9fd8932c34 build: Updating mediawiki/mediawiki-phan-config to 0.10.5
Change-Id: I1842dc5a5a15072502cd776f4af13d9011be67b4
2020-12-10 03:45:47 +00:00
Translation updater bot 6cb8a9cae1 Localisation updates from https://translatewiki.net.
Change-Id: I71f587001b59238d7f270816115997623cdfbe3e
2020-12-07 08:43:47 +01:00
libraryupgrader 16c3567e23 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: I726f795babddc795099243188f35acf7f81a662f
2020-12-06 04:01:17 +00:00
Translation updater bot e31a602565 Localisation updates from https://translatewiki.net.
Change-Id: Ida56e50436b186e82068f5401db318fc03546d11
2020-12-04 08:32:46 +01:00