Translation updater bot
af9716423f
Localisation updates from https://translatewiki.net .
...
Change-Id: I2997077265554e601bfcf22be380866c3ade8e08
2021-11-03 08:21:20 +01:00
Translation updater bot
cddd71e856
Localisation updates from https://translatewiki.net .
...
Change-Id: I585a576a8153596ba75de95d7b6fe7d5596c7683
2021-11-02 08:07:34 +01:00
Translation updater bot
35fa6373cd
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie106fb26fbe5ada7788e49764318b5aefce0efb3
2021-11-01 09:34:37 +01:00
Translation updater bot
18b463d0c4
Localisation updates from https://translatewiki.net .
...
Change-Id: I904c64a5d74aca8c12d1744dbf11f5d461c62f8d
2021-10-28 08:29:04 +02:00
Translation updater bot
04620aac40
Localisation updates from https://translatewiki.net .
...
Change-Id: I8bd90f6bc8c67b9ac9990aa59ed5283b6a4ab4c1
2021-10-26 08:18:08 +02:00
libraryupgrader
1bfdc82a68
build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
...
Change-Id: I1f6a0105c42098f24a87590aba48806b622b17df
2021-10-24 13:52:58 +00:00
Translation updater bot
d267fb9a6f
Localisation updates from https://translatewiki.net .
...
Change-Id: I6db293d2220a26c2042d2d8b15ea99b88e94cd12
2021-10-20 08:37:54 +02:00
Translation updater bot
918fe7e6ec
Localisation updates from https://translatewiki.net .
...
Change-Id: I9a95415400c8628252593ccda63745c968054ae0
2021-10-18 15:21:26 +02:00
Alexander Vorwerk
df34af35af
MediaWikiTestCase -> MediaWikiIntegrationTestCase
...
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.
Bug: T293043
Change-Id: Ie93e91911784d519dc7017f4f2a3ba6310339389
2021-10-12 01:06:08 +02:00
libraryupgrader
5195f6fe11
build: Updating ansi-regex to 5.0.1
...
* https://npmjs.com/advisories/1002401 (CVE-2021-3807)
Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).
Change-Id: I22cdbb0cc67a73d49943b8ba8ca775fb3341f048
2021-10-09 07:27:24 +00:00
jenkins-bot
30204d74f5
Merge "Small clean-up of "format"-related HTML output"
2021-10-08 22:22:17 +00:00
C. Scott Ananian
6e1e698873
Rename deprecated usage of ParserOutput::{get,set}Property()
...
Bug: T287216
Depends-On: Ie963eea5aa0f0e984ced7c4dfa0fd65d57313cfa
Change-Id: I1633f6fa00193df6ea1d6633de07bc8d2b269cbf
2021-10-08 10:29:01 -04:00
jenkins-bot
810125500b
Merge "Fix and update type hints"
2021-10-07 07:51:56 +00:00
Translation updater bot
3ce2d10446
Localisation updates from https://translatewiki.net .
...
Change-Id: I638d9c49384b126c6e0934435e63fd882c86234b
2021-10-07 09:03:30 +02:00
jenkins-bot
da2077d5bc
Merge "Fix parameter auto-detection picking up syntax elements"
2021-10-06 23:27:08 +00:00
jenkins-bot
1c67ed5f97
Merge "Remove static
keyword from all test code"
2021-10-06 23:27:06 +00:00
jenkins-bot
f16838ebc0
Merge "Remove small pieces of unused code"
2021-10-06 23:05:34 +00:00
Translation updater bot
e0a89709d8
Localisation updates from https://translatewiki.net .
...
Change-Id: Id316bafa61489d7c66bbaf4690304cbfe7037e83
2021-10-06 09:28:57 +02:00
Ed Sanders
da93a0fffa
Move var declarations inline
...
Change-Id: I177f91e67ea2ea2ab07d64002ae80365fabdedd3
2021-10-05 17:37:33 +01:00
Translation updater bot
574217e22b
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibfe8203bd9c8e3b37f56d6386fd7983a5eac182f
2021-10-05 08:30:04 +02:00
jenkins-bot
5d3820783a
Merge "Use more generic @covers tags in Serialization test"
2021-10-04 08:34:44 +00:00
Thiemo Kreuz
37a5285c29
Small clean-up of "format"-related HTML output
...
I hope this is a little easier to read.
Change-Id: I1ca1cb3d9565f083ad16c3f6aed98f93e3675a3a
2021-10-03 10:07:19 +00:00
Thiemo Kreuz
3ea3de8655
Fix and update type hints
...
The $this->data property stores whatever json_decode() returned,
which could be anything. The validation happens later.
Change-Id: I0d04831b8253005734c1c6c97b48061be35e5d88
2021-10-02 10:50:45 +00:00
Thiemo Kreuz
2a9b7be921
Remove static
keyword from all test code
...
I'm not sure why it was done this way. It doesn't need to.
Change-Id: Ie33ead5a3b6bddc464dd47e7e3153d6b8269b4c1
2021-10-02 10:43:07 +02:00
jenkins-bot
4fe8f81dac
Merge "Replace deprecated onPageContentSave hook"
2021-09-30 13:54:40 +00:00
TChin
457476611f
Replace deprecated onPageContentSave hook
...
Bug: T291001
Change-Id: I5ac84af28a4687337bb21eafb907ac7224e67b5b
2021-09-29 13:49:10 -04:00
Translation updater bot
57724521a5
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie4758eb5e140ddefcbbb4190ba65e8b416ce7b05
2021-09-29 09:02:14 +02:00
Translation updater bot
d788bcc438
Localisation updates from https://translatewiki.net .
...
Change-Id: I6bcdf76c6642df5e4433634bf8c938f29076dd45
2021-09-27 08:35:40 +02:00
Alexander Vorwerk
062d099f2c
Replace usage of deprecated PageProps::getInstance()
...
Bug: T289544
Change-Id: I1a5dc0d81063d666cbbea5be6457f97b9cf4e4fc
2021-09-26 14:12:19 +02:00
Translation updater bot
cf0a9594af
Localisation updates from https://translatewiki.net .
...
Change-Id: I9878e7667581420d7c8ca45647f940dd0469cf42
2021-09-21 08:09:28 +02:00
jenkins-bot
75ca493b68
Merge "Add test cases for (almost) all possible parsing errors"
2021-09-20 13:11:09 +00:00
Translation updater bot
6f5a5357a2
Localisation updates from https://translatewiki.net .
...
Change-Id: I4fd31c9b1a7f79fcc59423b2b47a9018c704f022
2021-09-17 08:45:51 +02:00
jenkins-bot
a95e025212
Merge "Omit the newline from EndFormat if no parameters are present"
2021-09-15 16:43:48 +00:00
jenkins-bot
40e3dd8cb8
Merge "Update FormatString spec to match Parsoid's implementation"
2021-09-15 16:43:47 +00:00
Translation updater bot
38b6e21d68
Localisation updates from https://translatewiki.net .
...
Change-Id: I694ca167c21c01006eaf18a73d6f32f7120c0aab
2021-09-13 08:30:23 +02:00
libraryupgrader
e5cb2df074
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: I759468d63803b310d5385af517589e70db75c62c
2021-09-09 11:45:31 +00:00
Thiemo Kreuz
d253fa4e28
Merge code paths in assertTemplateData() helper method
...
This streamlines the code of the helper method a bit, mostly by
avoiding duplication.
What actually happens is the exact same as before, with one
exception: When a test case doesn't have an expected "output",
the default (mostly empty) output does not run through the
roundtrip test. While doing this is not wrong, it doesn't tell
us anything about the specific test case.
Change-Id: I4a3d8a22c3dd6a9c5c3766195e5aef3cf37a6441
2021-09-06 08:48:01 +02:00
libraryupgrader
da75004c11
build: Updating npm dependencies
...
* stylelint-config-wikimedia: 0.10.3 → 0.11.1
* path-parse: 1.0.6 → 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)
Change-Id: I2e703a924c66081a653a8ddc6577d0d778439b62
2021-09-04 22:54:19 +00:00
jenkins-bot
34503ed210
Merge "Use more strict assertSame() when comparing strings"
2021-09-04 05:19:49 +00:00
Thiemo Kreuz
3060559d1d
Fix parameter auto-detection picking up syntax elements
...
See T290322 for a detailed description.
Bug: T290322
Change-Id: Id9935482fb466e7a1f6e55f042b13fe5851412d0
2021-09-03 13:18:42 +02:00
Thiemo Kreuz
a7e1d60c64
Revert some unnecessary en→qqx changes
...
This reverts parts of I6c6342c.
Change-Id: I6e0e60604e393ffde21c3528ff3a26bfc01e66a2
2021-08-31 15:26:52 +02:00
Translation updater bot
cf3236da62
Localisation updates from https://translatewiki.net .
...
Change-Id: Idf9bb6a6c042727800a91e90507dc77e12579550
2021-08-31 08:16:10 +02:00
jenkins-bot
324502fd88
Merge "Make all tests use dummy language qqx instead of en"
2021-08-30 17:14:04 +00:00
jenkins-bot
2b1cdff0af
Merge "Fix several type hints in JavaScript code"
2021-08-30 17:05:56 +00:00
Thiemo Kreuz
eb12e48b14
Add test cases for (almost) all possible parsing errors
...
"Almost" because I found at least one that appears to be
unreachable (the very first check for null). But changing this
code is out of scope of this patch.
This also updates some of the error messages to explain the
location of the error better. It appears like the incomplete
paths are copy-paste mistakes.
I also found one duplicate test case and removed it.
Change-Id: Ic0ee9d04f5cd1060ade385ef308e70d221dd2f18
2021-08-30 15:17:21 +00:00
Thiemo Kreuz
696e3ed98f
Make all tests use dummy language qqx instead of en
...
I find this good practice. It makes the tests more robust (e.g.
changes to a text don't make the test fail) and is potentially
faster, as no localization needs to be loaded.
Change-Id: I6c6342c80a40ab7260c35e7f1e3052aa4a9b9358
2021-08-30 17:15:41 +02:00
jenkins-bot
9afc5ef9fb
Merge "Dramatically improve performance of random string generator"
2021-08-30 13:49:05 +00:00
Translation updater bot
3cfc425728
Localisation updates from https://translatewiki.net .
...
Change-Id: Iecd7824ac493e7978b02ed582b0028a9712f2d3e
2021-08-30 08:20:40 +02:00
Thiemo Kreuz
2232a44638
Dramatically improve performance of random string generator
...
This test was reported as being slow (approx. 0.1s, but still).
This new implementation is 10 times faster, while still
fulfilling the requirements. While the new algorithm is more
predictable (every chunk is guaranteed to contain every
character exactly onece), it's obviously still good enough.
Neither the exact length of the generated string nor the exact
length of the gzipped string matter. PHP's random number
generator might be different – possibly generating a string
that compresses different. Newer versions of the gzip library
possibly save an extra byte. Who knows. This test shouldn't
care, as long as the gzipped string is long enough.
Compatibility with PHP 7.1 can be dropped as it is not
supported any more since MediaWiki 1.34, as far as I can tell.
Change-Id: I8d63390c9f4baa6084f932fa34068f606696cafc
2021-08-29 14:21:52 +02:00
Thiemo Kreuz
4766216948
Remove small pieces of unused code
...
Mostly unused variable initializations. Note I'm inlining some
`var` keywords in this patch. This is in line with the current
style guides. See for example the discussion in I4f198e2 (search
for "hoisted" in the comments). However, I'm not changing the
entire codebase, as this is not the goal of this patch and also
just not necessary at this point.
Change-Id: Ibd80566c44584851ee2530d6b16dd28eb3db6bfe
2021-08-28 12:10:22 +02:00