Commit graph

6480 commits

Author SHA1 Message Date
jenkins-bot 3cb985ad7e Merge "Update docs after PP limit report core change" 2021-12-04 12:46:46 +00:00
jenkins-bot f9bcaceefd Merge "Avoid SpecialPage::getContext in SpecialAbuseLog::__construct" 2021-12-02 15:57:21 +00:00
Translation updater bot 4d1d189c45 Localisation updates from https://translatewiki.net.
Change-Id: Ia9b6807c7ac08a7c4490f1bed15a3bc697ec6a86
2021-12-02 08:40:42 +01:00
Translation updater bot bf06df0ae4 Localisation updates from https://translatewiki.net.
Change-Id: Idc49dad2ec59f4ffd944bdb28a0eb798d49f488a
2021-12-01 08:13:58 +01:00
Translation updater bot 1b73a558a6 Localisation updates from https://translatewiki.net.
Change-Id: I9ff8b1abb9c7bebe86f92967bdf4b5b0c45ab64f
2021-11-30 08:20:41 +01:00
Translation updater bot 1c09d86f32 Localisation updates from https://translatewiki.net.
Change-Id: Idd2006160bb2e1ca2b1b982a534ef49aed0ec0fa
2021-11-29 08:10:29 +01:00
Translation updater bot 4160d5ad20 Localisation updates from https://translatewiki.net.
Change-Id: Ica2a7564bdb490e6553f02b9e1c8fd7fdcb7d265
2021-11-26 08:21:56 +01:00
jenkins-bot 15b8a582bf Merge "Localisation updates from https://translatewiki.net." 2021-11-25 08:05:08 +00:00
Translation updater bot dd09357d1c Localisation updates from https://translatewiki.net.
Change-Id: I38e7fc25efdd588f0c124ca6d32c90516124df0e
2021-11-25 09:01:37 +01:00
Translation updater bot 24e5f5f33d Localisation updates from https://translatewiki.net.
Change-Id: Ice17e7aff031cca0ae12750032d08dd9d0a22494
2021-11-25 08:23:40 +01:00
Translation updater bot 24012cd014 Localisation updates from https://translatewiki.net.
Change-Id: Ie8fe398c3220ab5d7a75fcee83e8d185e9243762
2021-11-24 08:20:59 +01:00
Translation updater bot 9b473dfafe Localisation updates from https://translatewiki.net.
Change-Id: I0a70841d2c76312bccfa08a82bd8343167588420
2021-11-22 09:01:41 +01:00
Translation updater bot d3aee7e069 Localisation updates from https://translatewiki.net.
Change-Id: I2b7f6eda9abc8b2623d45e1145782bfdcbcb5031
2021-11-19 08:25:53 +01:00
Translation updater bot 90195a6fca Localisation updates from https://translatewiki.net.
Change-Id: If5c853ae5a1ba74d247cb93458b3655220fa979f
2021-11-17 08:29:55 +01:00
Translation updater bot 5475070695 Localisation updates from https://translatewiki.net.
Change-Id: Ib9ba5dcc9b9c471a40878d4135b4747e3cbb751a
2021-11-16 08:15:40 +01:00
Translation updater bot 1c885863a0 Localisation updates from https://translatewiki.net.
Change-Id: Ie817e3bdc41de0ef51e34a6ebd6d6669a4b30501
2021-11-15 08:10:53 +01:00
Translation updater bot a6444d5d85 Localisation updates from https://translatewiki.net.
Change-Id: I53d1d9c5252d9de201629a20d1aeb6dc52db9a5f
2021-11-12 08:29:00 +01:00
Translation updater bot 060e892b16 Localisation updates from https://translatewiki.net.
Change-Id: I7c08d2b66308e0c3b9fae68d3f3aadb67c182f73
2021-11-11 10:01:36 +01:00
Umherirrender 1b2551701e Avoid SpecialPage::getContext in SpecialAbuseLog::__construct
The special page itself is a MessageLocalizer
SpecialPage::getContext on constructor results in global state

Change-Id: I6a3dd263dbe02111aea65a087ce69a5a191f63fc
2021-11-09 22:09:49 +00:00
Daimona Eaytoy 4344d4e438 Update docs after PP limit report core change
The report is now generated in ParserOutput, not Parser, meaning we can
simply avoid passing the `enableLimitReport` option (off by default) if
we don't want the report to be there.

Depends-On: I154c0a77a5b0287b5572614d56339fb57ac56c33
Change-Id: I8cdab35c475f10433234ddb55b5e6a0cc8109498
2021-11-09 13:33:42 +00:00
Translation updater bot f68fedfdaf Localisation updates from https://translatewiki.net.
Change-Id: I0fac154c46cb1ff29ecd430cba0ab97789eaeeba
2021-11-08 08:16:10 +01:00
Translation updater bot b7cfaecc6c Localisation updates from https://translatewiki.net.
Change-Id: If52a72c316e003d2481eb4b022a6b9f4bf73856e
2021-11-05 08:16:43 +01:00
Translation updater bot 0451d1302f Localisation updates from https://translatewiki.net.
Change-Id: I82da0688a3dc9499b322e768720842a2a7e47f18
2021-11-04 10:07:41 +01:00
libraryupgrader 8f11883da4 build: Updating npm dependencies
* grunt: 1.4.0 → 1.4.1
* validator: 13.6.0 → 13.7.0
  * https://npmjs.com/advisories/1004784 (CVE-2021-3765)

Change-Id: Ic6c6b7681945931975ddcd9a0debdd149ec6f33b
2021-11-04 07:09:33 +00:00
Translation updater bot b14296d33f Localisation updates from https://translatewiki.net.
Change-Id: I9647ba46f5c608baca77e6ea4247e14cdce39a05
2021-11-02 08:06:30 +01:00
Translation updater bot db24ba30ee Localisation updates from https://translatewiki.net.
Change-Id: I55a19617b2990a5e78a5fb2f7720a7eef17846ae
2021-11-01 09:32:36 +01:00
Translation updater bot f96d627beb Localisation updates from https://translatewiki.net.
Change-Id: If7a616542a2f90f52c17a27978f5a71986dddaec
2021-10-28 08:26:02 +02:00
Translation updater bot e5c3ad5fa4 Localisation updates from https://translatewiki.net.
Change-Id: I1b2db1eba1bc39715bba6dd4c380b8c3ff402798
2021-10-27 08:21:21 +02:00
Translation updater bot 538050c600 Localisation updates from https://translatewiki.net.
Change-Id: Icd8f9efe21dec78baccdfab32dd4ad0cdb3acbc6
2021-10-26 08:16:14 +02:00
Translation updater bot ffd2be90f9 Localisation updates from https://translatewiki.net.
Change-Id: Ic0e68b628a734a8162d64f2a362f47b8b01c2ff0
2021-10-25 08:50:01 +02:00
libraryupgrader 6e6ab163d0 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I799dbc5d901c6c10160a2cae4e4870b577b9366e
2021-10-23 18:32:35 +00:00
jenkins-bot 24b99a5fc4 Merge "Rename filter_timestamp index in a different file" 2021-10-22 12:00:34 +00:00
Translation updater bot 27953a6a6e Localisation updates from https://translatewiki.net.
Change-Id: Ib51eeeee2270e760f2124e4b17ffce210b81b607
2021-10-22 08:14:22 +02:00
Translation updater bot ca58393d23 Localisation updates from https://translatewiki.net.
Change-Id: I31928502bcb1ddbbc2ee0e5081b519db918526b7
2021-10-21 08:21:00 +02:00
jenkins-bot 705635f464 Merge "Revert "Remove references to afl_filter"" 2021-10-20 18:47:23 +00:00
Daimona Eaytoy 5e95676e99 Rename filter_timestamp index in a different file
Otherwise there might be interferences with the remove-afl_filter patch.

Bug: T291725
Change-Id: If339663d491e1da4a118c13cd667d228365b4864
2021-10-20 15:22:04 +02:00
Daimona Eaytoy 04552f00db Revert "Remove references to afl_filter"
This reverts commit ce71c23bb0.

Reason for revert: Ewww, my bad. patch-remove-afl_filter looks for the new index name. This needs a different solution.

Change-Id: Ia72bb936cd414ee79d710eb9d91bb815d3e59a6c
2021-10-20 13:14:57 +00:00
Translation updater bot f0f6f41d04 Localisation updates from https://translatewiki.net.
Change-Id: I4ff263755397081d0821b16845bc9506193dddad
2021-10-20 08:35:49 +02:00
Translation updater bot cfca6824a1 Localisation updates from https://translatewiki.net.
Change-Id: If5db8aaef08eea40560532d8a43b349f9dc4c93b
2021-10-18 15:18:46 +02:00
Daimona Eaytoy ce71c23bb0 Remove references to afl_filter
Removed in 1.38 (Ic6b1c8a22d17a301faf32d2e23778d90c41c39de), so no need
to rename it (plus, the rename will fail if the index is not there).
Removing the index is taken care of by patch-remove-afl_filter.sql.

Bug: T291725
Change-Id: I32f116ce7ac0fdd25fe13f0665a5cf04766e6f27
2021-10-17 19:26:44 +02:00
Daimona Eaytoy f2e2f5ae48 Move renaming of the afl_wiki_timestamp index to its own file
Note that this doesn't have to be applied in WMF prod, since the indexes
are already correct there.

Bug: T291725
Change-Id: I7fcee0581f469e0d7ada43d1f30f31061c5bf5c0
2021-10-16 16:55:52 +00:00
jenkins-bot 13db4c34e5 Merge "MediaWikiTestCase -> MediaWikiIntegrationTestCase" 2021-10-12 02:16:38 +00:00
Alexander Vorwerk 7cc7cfa806 MediaWikiTestCase -> MediaWikiIntegrationTestCase
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.

Bug: T293043
Change-Id: I6e7c5a34ae49d56a8e7b5ac7d06fa9c0283bed5e
2021-10-11 23:32:14 +02:00
Translation updater bot 8c4524031b Localisation updates from https://translatewiki.net.
Change-Id: I059c932edec75149551bc7b417693885d18f2e3f
2021-10-07 09:02:12 +02:00
Translation updater bot 774c769c42 Localisation updates from https://translatewiki.net.
Change-Id: I818c3831ea59139e49b50eb847195eb7f92cb5a6
2021-10-05 08:28:51 +02:00
jenkins-bot 0e9066fc57 Merge "ace: Add support for multiline strings" 2021-10-04 14:07:25 +00:00
jenkins-bot 744d5fea6f Merge "Localisation updates from https://translatewiki.net." 2021-10-04 07:02:10 +00:00
Translation updater bot 7a66312227 Localisation updates from https://translatewiki.net.
Change-Id: I606bdc7dd32f892137bdbfb35f55fdb5fa421535
2021-10-04 08:54:54 +02:00
libraryupgrader a5e7f02218 build: Updating npm dependencies
* @wdio/mocha-framework: 7.4.6 → 7.13.2
  * https://npmjs.com/advisories/5197 (CVE-2021-3807)
* ansi-regex: 5.0.0 → 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: I853391c119b5f017040090afe620566d589a34c8
2021-10-04 06:42:04 +00:00
Daimona Eaytoy 1b41a61cf2 ace: Add support for multiline strings
In the AF language,
```
foo := "abc
   def"
```

declares a valid string with a linebreak inside. This wasn't previously
highlighted by ace, since normal rules are scanned line-by-line. The
code added here is essentially copied from the PHP highlighter [1],
whose rules should be almost the same as AF.

This new syntax also highlights escape sequences inside strings, e.g. in
"foo\\bar" see how the backslashes have a different color.

[1] - https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/php_highlight_rules.js#L1058

Change-Id: Idb51001af00ff2ef118741cd686dc1adf19aebee
2021-10-03 16:24:51 +00:00