Commit graph

1900 commits

Author SHA1 Message Date
jenkins-bot 44b4204962 Merge "Fix serialization adding empty autovalue when not needed" 2021-12-15 12:14:45 +00:00
Translation updater bot 4b353825a4 Localisation updates from https://translatewiki.net.
Change-Id: I55bccfbb34a45c206baa713543638465f6a7f91b
2021-12-13 08:22:15 +01:00
Translation updater bot 7958460cae Localisation updates from https://translatewiki.net.
Change-Id: I14be604403124effb32b60daf94a60428d6b55b6
2021-12-10 09:19:48 +01:00
Translation updater bot 3544f590e3 Localisation updates from https://translatewiki.net.
Change-Id: I058da9ce5ef49f08b2f08ea30cbb1361227488bb
2021-12-10 08:25:02 +01:00
Thiemo Kreuz e83e3f2661 Add missing validation for aliases and suggestedvalues
This is not new. This was always documented to not accept anything
but strings.

Let's apply the same fix to aliases while we are here.

Bug: T297386
Change-Id: I57e18779f28802816d5adb66cc4067df4e58b26e
2021-12-09 14:40:36 +01:00
Translation updater bot 3fd6b8aa61 Localisation updates from https://translatewiki.net.
Change-Id: Ic3b46928ff7c11913012ca325535b2bce4c82a01
2021-12-08 08:12:54 +01:00
Translation updater bot 1f0a5ca72a Localisation updates from https://translatewiki.net.
Change-Id: If606d92b8feb8fc337bb1c3a05161cc0a8ef4deb
2021-12-06 08:20:18 +01:00
jenkins-bot 6e4a3788b5 Merge "Namespace extension" 2021-11-29 14:28:28 +00:00
Thiemo Kreuz 2b2033c6ec Fix serialization adding empty autovalue when not needed
The autovalue field appears to be the only one with this edge-case.
This is because all other fields are either multi-lingual and
processed by the `….allowLanguages` code path above, or because
of other special-case handling somewhere else.

The idea is:
* Non-empty values are always added.
* When the property (in this case `"autovalue": "…"` existed
  before, it's kept, even if it's now empty.

Bug: T295074
Change-Id: Ie4d9825b89edb4bbbbc4283dc48e9113e537869a
2021-11-29 10:53:35 +01:00
Translation updater bot baaaa4209c Localisation updates from https://translatewiki.net.
Change-Id: I27dd377564719d86a5b356fe9df2f70c5f65a73a
2021-11-29 08:12:33 +01:00
Reedy 166812da07 Namespace extension
Change-Id: I779e97e512ec0c4f74fb6a4b706772fb1428e40f
2021-11-25 22:53:34 +00:00
Translation updater bot d3875a7272 Localisation updates from https://translatewiki.net.
Change-Id: I77ef96e57cd7d599bfb5d0cfd3818144ebcaf52b
2021-11-24 08:22:32 +01:00
Translation updater bot 49d7510c69 Localisation updates from https://translatewiki.net.
Change-Id: I9ae4f307f84ab5a2c797c93455fef8566157c28c
2021-11-22 09:03:49 +01:00
Translation updater bot 7d8ce6a0e5 Localisation updates from https://translatewiki.net.
Change-Id: I39b04ade04464f8ab7a731fc78db64b0b721733f
2021-11-19 08:28:29 +01:00
Translation updater bot 36de81376f Localisation updates from https://translatewiki.net.
Change-Id: Ia95086f15f479b79ffd7e647b7c01eba8a53803e
2021-11-09 07:29:49 +01:00
Translation updater bot 9bf37c8c12 Localisation updates from https://translatewiki.net.
Change-Id: Ia2aef26479dff5ce78db019dd95f0915c56ee7d8
2021-11-08 08:17:30 +01:00
Translation updater bot cd7ff4096d Localisation updates from https://translatewiki.net.
Change-Id: I7a8feecdee5da07e54bab12931ecbda9a96a0e88
2021-11-05 08:17:31 +01:00
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