Commit graph

1107 commits

Author SHA1 Message Date
jenkins-bot e378b75454 Merge "Use services from Parser" 2021-11-12 08:44:56 +00:00
Translation updater bot dcb6b2f6ae Localisation updates from https://translatewiki.net.
Change-Id: I155086bc939b8fd3b8ab7b7ea69723ca44589359
2021-11-08 08:17:03 +01:00
Umherirrender b234d79a45 Use services from Parser
getTargetLanguageConverter is 1.38
(I536543c516bf952967ada17cc781a9d125421b3e)

Change-Id: Ie0456734576cee770662622a03420b6ec76d932a
2021-11-04 20:09:34 +00:00
Umherirrender 1abc7abc43 Remove unneeded return from hook handlers
Change-Id: Ib38375909ee09e3d5342b6fd16194feeffbb8124
2021-11-04 18:50:42 +00:00
Umherirrender 4829d17708 build: Remove unneeded phan suppression
Change-Id: Iafff45a2693e201cbb81c59a6453f6bbea709f7a
2021-11-04 19:50:25 +01:00
Translation updater bot 3b7a304cd8 Localisation updates from https://translatewiki.net.
Change-Id: Ia328fc88bf637cd13aeb727fd65ef1356df978ef
2021-11-04 10:08:06 +01:00
Translation updater bot bfa4afde1a Localisation updates from https://translatewiki.net.
Change-Id: I73a3bd8231dfd7409f931d3d8afc64ef7a614757
2021-11-03 08:20:44 +01:00
Translation updater bot 0a528f28fb Localisation updates from https://translatewiki.net.
Change-Id: Iaf8d0b526515e4a857f8d8ac77e6daafe31ee33e
2021-11-02 08:07:03 +01:00
Translation updater bot ba57f40c6b Localisation updates from https://translatewiki.net.
Change-Id: I38999061f48bd4606480a7ad2645edb5151909dc
2021-10-28 08:28:09 +02:00
libraryupgrader ffda7b824d build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I3d5fd5ce7b6354e776fc83c2c5df96a95f92d5d6
2021-10-24 05:55:38 +00:00
jenkins-bot a0f2d8ae02 Merge "Use // comments in LESS" 2021-10-20 09:22:02 +00:00
Translation updater bot 7aff16157b Localisation updates from https://translatewiki.net.
Change-Id: I7561180ef779f2fe7e34f506e58d3535636d24bd
2021-10-18 15:20:30 +02:00
Fomafix b1e2979b48 Update PHP coding style
* Use ' instead of ".
* Use === and !== instead of == and !=.

Change-Id: Ie4e405d4fd739d4af34010da3687d8a75d846a73
2021-10-16 20:10:22 +00:00
Fomafix 3ee49b4cfc Use // comments in LESS
Change-Id: Ie0011ba2d4d280302613c2ebc8d9d34dde82a0fe
2021-10-16 19:48:31 +00:00
Fomafix 14a2d08712 Remove styles for cached old HTML
The cache is now expired.

This change is a follow-up to 93351fb7d9.

Change-Id: Ia42e081aa2f74bab72eef9227ba76057c15ba64f
2021-10-16 19:47:25 +00:00
jenkins-bot cf02ed4b7c Merge "build: Run stylelint for less files" 2021-10-16 19:46:07 +00:00
Translation updater bot 5244c6e676 Localisation updates from https://translatewiki.net.
Change-Id: I933504beed92a3deed73e0380d04d19e15c1633a
2021-10-06 09:28:32 +02:00
libraryupgrader 8018bc4010 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: Idce92025839c3fac43016ec630afef3ae4992561
2021-10-05 00:45:47 +00:00
Subramanya Sastry 1ab6d0493f Get rid of +tidy references from parser tests
Bug: T198214
Change-Id: I0dbe2b47e052bf5a42604431d8f04794d3c461e0
2021-09-30 13:46:57 -05:00
Translation updater bot 6161345817 Localisation updates from https://translatewiki.net.
Change-Id: Id2274d0bea4fadd612d1ba18147c930eb7a88777
2021-09-30 08:57:36 +02:00
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