Commit graph

987 commits

Author SHA1 Message Date
Umherirrender cec79baa9d build: Run stylelint for less files
css was converted to less in I2c75e09dd3f89fa11fca311b4e1f8133946b01b1

Change-Id: I7a8a81b80c4b1b34416a3c2c7801e8f2dcca894a
2021-09-28 17:30:00 +02:00
Translation updater bot 0e4279750c Localisation updates from https://translatewiki.net.
Change-Id: I8012ceecea60c552e2d7871117c44a4e5d09081e
2021-09-28 08:18:52 +02:00
Translation updater bot d2858713e4 Localisation updates from https://translatewiki.net.
Change-Id: I80fc7b6d9d610ff506e41e5e8a18813f195a2517
2021-09-17 08:45:27 +02:00
Translation updater bot 4d650ad97c Localisation updates from https://translatewiki.net.
Change-Id: Iea0e93556ad0e5f2a4e9f68b6597e05ffeafd9af
2021-09-13 08:29:46 +02:00
libraryupgrader b636ed5093 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: I6d629585dfc24c34f6a0fc3760d354aba2e1f5b3
2021-09-09 10:58:03 +00:00
libraryupgrader 084dd2268a build: Updating stylelint-config-wikimedia to 0.11.1
Change-Id: Iadb86680421429e12ac303f7944cb9fc657bea9a
2021-09-04 20:42:13 +00:00
Translation updater bot c030a567e0 Localisation updates from https://translatewiki.net.
Change-Id: I5aedfb046ee0222f0d2015c73679cb48ed02a9d9
2021-09-03 08:15:05 +02:00
Translation updater bot bd68bf3040 Localisation updates from https://translatewiki.net.
Change-Id: Ib418bfaad858957a28cbce2af09b5f31c77e22a6
2021-08-30 08:20:16 +02:00
Translation updater bot c0dd1ad7f4 Localisation updates from https://translatewiki.net.
Change-Id: I823f34f945977438003cc06af2196e0d4a742dcf
2021-08-23 09:04:03 +02:00
Translation updater bot 2cf666ea92 Localisation updates from https://translatewiki.net.
Change-Id: I18d047467f7dfd1bbd5d6337c467d7d0c48a9c28
2021-08-16 08:16:27 +02:00
libraryupgrader 6347d5e4b3 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I154e22a62a6d5e0384201d6115ed980cfb51c1f1
2021-08-12 02:42:54 +00:00
Translation updater bot 7fb55741af Localisation updates from https://translatewiki.net.
Change-Id: I9219ac7d199319bd606b298db13f8b929b49f662
2021-07-26 08:12:18 +02:00
libraryupgrader eb12c6e9b6 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* postcss: 7.0.35 → 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)

Additional changes:
* eslint: Added `wikimedia/jquery` profile (T262222).
* eslint: Removed global `$`, included in `wikimedia/jquery` profile (T262222).
* eslint: Removed global `mw`, included via `wikimedia/mediawiki` profile (T262222).
* eslint: Dropped the empty global definition.

Change-Id: I2ae30a70577f5c3bdd3f471be37f6c19848a0802
2021-07-23 00:42:31 +00:00
Translation updater bot f02e4a650f Localisation updates from https://translatewiki.net.
Change-Id: Ib5311259adfda1b6e086f111bfd6126bf8cf3158
2021-07-12 08:06:33 +02:00
Translation updater bot 564ff4415d Localisation updates from https://translatewiki.net.
Change-Id: Ic6ab9fdaf21e02e4eea755a08f653e7992c9fc9f
2021-07-06 08:38:34 +02:00
Translation updater bot c638e5b8bb Localisation updates from https://translatewiki.net.
Change-Id: I9031eb8cdba8d84ace4fe4831ef0be452577ea4c
2021-07-02 08:31:16 +02:00
Translation updater bot 75c973d7a4 Localisation updates from https://translatewiki.net.
Change-Id: I2e1758d12d85a0660373def5762d291a91d48f46
2021-06-28 09:23:10 +02:00
Translation updater bot 720f500f44 Localisation updates from https://translatewiki.net.
Change-Id: Id7cd129a69cb25f9aa50592e00a18a74b8768a6c
2021-06-14 08:37:18 +02:00
Translation updater bot dec05e6091 Localisation updates from https://translatewiki.net.
Change-Id: I9ff7ec2738ccbdd24ede3a2649f382c1651808ae
2021-06-09 08:28:39 +02:00
Translation updater bot 7e34dc4743 Localisation updates from https://translatewiki.net.
Change-Id: Ie17269d7362a3528a79e236a99d13a254d7f5cfe
2021-06-08 08:36:09 +02:00
Translation updater bot 784148ab8d Localisation updates from https://translatewiki.net.
Change-Id: Id7780bb3e9bebc8b0bf70a13910d5a6929b8b699
2021-05-31 08:31:31 +02:00
jenkins-bot a4b1b7f264 Merge "Use native <input required> instead of JS-based disabled toggling" 2021-05-29 11:43:01 +00:00
Translation updater bot 64ffd94620 Localisation updates from https://translatewiki.net.
Change-Id: If3edea951a8845f57b021a74cb54c4f03cc110d0
2021-05-27 12:05:30 +02:00
libraryupgrader a1de3556f1 build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I469eec9db4ddfbc058f825325c542fe0afab15af
2021-05-25 18:08:47 +00:00
Timo Tijhof 93351fb7d9 Use native <input required> instead of JS-based disabled toggling
Remove the JavaScript module and its logic to toggle the disabled
state on the submit button. Instead, let the browser handle this
natively by setting the `required` attribute, which naturally prevents
early submissions.

Retain the current styling for 99% of cases by using the
:required:invalid selector to target the submit button to make it
appear disabled. This slight duplication of styles is needed because,
despite the form effectively being disabled natively, the core
mediawiki-ui styles only account for :disabled on the button directly
and not e.g. inherited via form:invalid. It is also unclear whether
we would want that, since there is some value to be had from having
the form give a consistent look with a progressive button that can
be submitted even at the wrong time to yield an assistive message to
the required field, so hence handling this locally for now instead of
with a generalised approach.

In order to use the required true/false idiom, I have switched the
generating of the HTML string from the old Xml::element method
to Html::element. This means there is no need to store it in an array
first and conditionally set it since true/false will result in absence
or required="" as needed.

As side-effect from this, redundant attributes like value="" and
type="text" are ommitted from the output, just as MediaWiki core does
more generally.

Bug: T283303
Change-Id: I2c75e09dd3f89fa11fca311b4e1f8133946b01b1
2021-05-21 21:04:02 +01:00
Translation updater bot b1decab75c Localisation updates from https://translatewiki.net.
Change-Id: Iec45df1521ae60ba3078f245b5fef569cfbb8a12
2021-05-19 08:43:09 +02:00
Translation updater bot a2ca0675b1 Localisation updates from https://translatewiki.net.
Change-Id: I3bebb0707db5d267dee463d8447c22cbb00f9e52
2021-05-11 09:06:47 +02:00
libraryupgrader a32e73d3dd build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* 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)
* postcss: 7.0.35 → 8.2.15
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: I81e4d036abdf1254a48ceaa1d7ad8fa975b9dc82
2021-05-11 02:05:54 +00:00
Translation updater bot a7393ca133 Localisation updates from https://translatewiki.net.
Change-Id: I6af3eab01e1d2303c2e24ba62d9183b54a0d16dc
2021-05-07 08:41:56 +02:00
Translation updater bot adf5c0229d Localisation updates from https://translatewiki.net.
Change-Id: I7d76774741a679ec263cf7639c1aac4155a07315
2021-05-06 08:54:22 +02:00
libraryupgrader 0045917eed 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: I56b6cf05a94ffd68dd11d230e71f3360e87416cd
2021-05-05 03:57:17 +00:00
jenkins-bot 31db12da9e Merge "Replace use of deprecated $.debounce()" 2021-04-30 01:12:35 +00:00
Sébastien Beyou 253eb5e85a Replace use of deprecated $.debounce()
Bug: T213426
Change-Id: I1502a1bd68ea260e94a47fcce047bafce3e47f0b
2021-04-30 00:49:27 +00:00
Translation updater bot 1b9fbd5f85 Localisation updates from https://translatewiki.net.
Change-Id: I1d903797d1efb7d6a4732b3f4bec6c780a91735d
2021-04-28 16:43:11 +02:00
Translation updater bot faa11c4ba9 Localisation updates from https://translatewiki.net.
Change-Id: I8ea5a3151e85cd89119efbac8b5d82c5b42e444b
2021-04-28 08:48:46 +02:00
Translation updater bot d9e384b822 Localisation updates from https://translatewiki.net.
Change-Id: I64cbb3851123d5ecd1b0ba64f6aff63311bd18a9
2021-04-22 09:31:40 +02:00
Translation updater bot bb44efbd82 Localisation updates from https://translatewiki.net.
Change-Id: Id6f111264559eb35cc12fee4771605ea718219c2
2021-04-19 08:50:42 +02:00
libraryupgrader 9c77fbfc35 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: Ibc32f4fa6d50e05c879e3f4e5b947abd137d000b
2021-04-16 23:42:30 +00:00
Translation updater bot 92ea222e97 Localisation updates from https://translatewiki.net.
Change-Id: I339f2bda0e09ea17a45d727824aca44a0cff99f7
2021-04-12 08:37:56 +02:00
Translation updater bot 267a78f5c9 Localisation updates from https://translatewiki.net.
Change-Id: I92bcd0493f79a7ba75030566a4fae57e099dbf7d
2021-04-07 08:51:52 +02:00
Translation updater bot 13cfa24324 Localisation updates from https://translatewiki.net.
Change-Id: Id3815fb48de275bdee53c83cf6057c8d5a61523a
2021-04-06 12:02:31 +02:00
Translation updater bot 0478b84ae8 Localisation updates from https://translatewiki.net.
Change-Id: Ifa8b762e47428ea433f872f5f0ab40415616565d
2021-03-26 08:50:09 +01:00
Translation updater bot 441fc0f178 Localisation updates from https://translatewiki.net.
Change-Id: Ic4a8664b85b87734a542315da01dd4b1098b8a89
2021-03-25 08:41:10 +01:00
jenkins-bot 86ee30fc5a Merge "Remove php entry point" 2021-03-14 16:10:12 +00:00
libraryupgrader 99a322ffdf build: Updating eslint-config-wikimedia to 0.19.0
Change-Id: I8c76db6be104c35283090d0c408a80c33a21ec8b
2021-03-13 22:43:22 +00:00
Umherirrender 908608e7b9 Remove php entry point
Deprecation notice since I66e5606b4dbd049eefab3461618b877219ca3e93

Bug: T140850
Change-Id: I44e32a0503fa4f9278c6dba52680883bc2b356fc
2021-03-13 00:11:05 +01:00
libraryupgrader 65690a1944 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: Ib476ba83f4eccda16fe7b9462f0d12c65de171c7
2021-03-07 00:10:22 +00:00
Translation updater bot cbd40a8d43 Localisation updates from https://translatewiki.net.
Change-Id: I193ebc7489a39ff9404c39240f422116ca457a41
2021-03-04 08:38:25 +01:00
Daimona Eaytoy c52e9fe34b Stop using deprecated Language methods
Change-Id: Idd3a255c60bb0c615e819a56f86b3d36377a0469
2021-02-27 14:22:36 +00:00
Translation updater bot 208eceea2d Localisation updates from https://translatewiki.net.
Change-Id: I38cb6089e80b96b983d7cc4980250ad09ad00f32
2021-02-25 08:38:46 +01:00