Translation updater bot
6509485e42
Localisation updates from https://translatewiki.net .
...
Change-Id: I440d39f678148414c08240948c2608d9448fc7de
2024-07-09 09:43:28 +02:00
Translation updater bot
163a891af8
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic71f63bf68526c608134ac96d3608a1abe3385e1
2024-07-08 09:32:57 +02:00
jenkins-bot
d455cbd512
Merge "Hard deprecate GadgetRepo::singleton and GadgetRepo::setSingleton"
2024-07-05 17:14:04 +00:00
Translation updater bot
f7281fa6a7
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia64e19f4c710c71b7d05321168041bfd447a7bdc
2024-07-01 09:25:22 +02:00
Fomafix
cfa04f8c1e
Hard deprecate GadgetRepo::singleton and GadgetRepo::setSingleton
...
The two methodes are deprecated since
I0ab14ca936eec1eead91d4eb0970f898628c8388 included in REL1_42.
Depends-On: Ic3343446b1a41760eb1b8fd1e9ad557abac89639
Depends-On: Iae5cf4c0a0d8fdac7e291fdeb0e7f4e4a78a1d58
Depends-On: I226b259e361d3d27ec89975353fdf6396ba60ccb
Depends-On: Ib405ad79b3c348bed51a8938a6a8f73bd35267d2
Depends-On: I41d1516e185ceb5c49b38361360a3adad1a333de
Change-Id: I5452a46ee5fd85efb3835a108c947950945e91f3
2024-06-30 17:34:27 +00:00
jenkins-bot
6fed9643c8
Merge "Inject services into SpecialGadgets"
2024-06-30 12:02:52 +00:00
Fomafix
c2b21d5116
Use service GadgetsRepo instead of deprecated GadgetRepo::singleton()
...
Change-Id: I1cfe65fa6ec9a10c4d1812b7c5edbe35facf2587
2024-06-29 19:01:18 +00:00
Fomafix
b40211a711
Inject services into SpecialGadgets
...
Change-Id: Icb4dac39a68ec988e95003ed2d7c6718f3bd400c
2024-06-29 18:57:00 +00:00
Translation updater bot
336dca064d
Localisation updates from https://translatewiki.net .
...
Change-Id: I75db62bea5672d366922c250c044ebd04c11f3e0
2024-06-28 09:41:35 +02:00
libraryupgrader
ee175f4259
build: Updating eslint-config-wikimedia to 0.28.2
...
Change-Id: I764341ed145ed271206a398e3e13b41a95cba54a
2024-06-22 05:39:34 +00:00
Translation updater bot
15d74235a5
Localisation updates from https://translatewiki.net .
...
Change-Id: Iab5c95aabdca3e9b473ef83092ca64f3699176d4
2024-06-21 09:42:04 +02:00
Translation updater bot
a666feb45c
Localisation updates from https://translatewiki.net .
...
Change-Id: I8fbc4d92fab458f2ad1ad07a1aa93356945b7344
2024-06-20 09:23:11 +02:00
Translation updater bot
cb77b4d077
Localisation updates from https://translatewiki.net .
...
Change-Id: Iadfc0891cb00cbdfcb16b224106f1e6a49f62db0
2024-06-17 09:31:01 +02:00
Translation updater bot
016c34b3e2
Localisation updates from https://translatewiki.net .
...
Change-Id: I71726a69790340d09224e6a4a7bfb4a7495e40c7
2024-06-13 09:28:12 +02:00
Translation updater bot
66814cd529
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib14c96eb15d756bcdeec5e19a69f02532f831e89
2024-06-11 09:54:22 +02:00
libraryupgrader
33b0ba6624
build: Updating braces to 3.0.3
...
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg
Change-Id: Ibc7d58ef689b696059a04ae3b1e1180823411df2
2024-06-11 06:59:25 +00:00
Translation updater bot
0f8006be2f
Localisation updates from https://translatewiki.net .
...
Change-Id: Iff637b8a7bacde881c421da5393cfe15c6bc1542
2024-06-10 09:55:25 +02:00
Umherirrender
0b870852d8
Use namespaced classes
...
Changes to the use statements done automatically via script
Addition of missing use statement done manually
Change-Id: Idc09b4f3e1ffa40f234b34cd8c0c515bd58ce67b
2024-06-09 11:27:57 +02:00
libraryupgrader
b5f2f4e177
build: Updating eslint-config-wikimedia to 0.28.0
...
Change-Id: Id4b3f3822895beff9e735f7577b5bfe7eba2d72c
2024-06-07 00:37:40 +00:00
Translation updater bot
5c66ade56f
Localisation updates from https://translatewiki.net .
...
Change-Id: I9b7fef750f9780a6933b2acd11f7771267f012b5
2024-06-05 09:23:03 +02:00
Translation updater bot
6ec3b097e4
Localisation updates from https://translatewiki.net .
...
Change-Id: I57a93d0fb2ee42bce6cbbcd6a6836c9283955151
2024-06-03 09:31:45 +02:00
jenkins-bot
e3f6d6fec3
Merge "Simplify code around injected srvCache/wanCache"
2024-05-30 11:01:41 +00:00
Translation updater bot
76cc11bcdf
Localisation updates from https://translatewiki.net .
...
Change-Id: I01d388bc169150cdaaa319d9f8acfd8446f11253
2024-05-30 09:36:32 +02:00
Translation updater bot
d1d4808b36
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifd876f4a8120f70b42c1a374b9cf289d80fd5837
2024-05-29 09:31:34 +02:00
Timo Tijhof
9349b05a37
Simplify code around injected srvCache/wanCache
...
Follows-up de999997e7
(I6c7967ef09).
Change-Id: I481331d411b68ed34cfd63b42348ae93d7f59b71
2024-05-27 14:16:51 +01:00
Wandji69
de999997e7
Use ObjectCacheFactory instead of the deprecated ObjectCache methods
...
Bug: T363770
Change-Id: I6c7967ef092513b1a57bacc4d68b9ee3a50822e8
2024-05-27 12:48:04 +00:00
Translation updater bot
0144d8987e
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia61037eaaf321679025b0068344368a8c8d823da
2024-05-27 09:28:59 +02:00
jenkins-bot
426a21a036
Merge "SECURITY: Improve regular expression performance"
2024-05-27 02:07:41 +00:00
Translation updater bot
a56bcc9591
Localisation updates from https://translatewiki.net .
...
Change-Id: I3132f8cdff76dabd81de7d87a06b86b1de74195f
2024-05-24 09:43:39 +02:00
Translation updater bot
5b52c39f07
Localisation updates from https://translatewiki.net .
...
Change-Id: I2f18c12938d8ddb437433ffb43d5741f0f0eb5c5
2024-05-23 09:27:24 +02:00
Translation updater bot
4105da24af
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibb369c15b38aff73a56c982cc11349839cc5889a
2024-05-21 09:28:09 +02:00
libraryupgrader
67bd047342
build: Updating grunt-banana-checker to 0.13.0
...
Change-Id: I59ec7602e6f089c1ea008ddde7fc0e4dcf1bf00d
2024-05-18 09:43:53 +00:00
Translation updater bot
ccbab6e4af
Localisation updates from https://translatewiki.net .
...
Change-Id: I425850a4a324d8805a1a37ed3860336587fb4d96
2024-05-17 09:48:56 +02:00
Translation updater bot
f9a8da9dfe
Localisation updates from https://translatewiki.net .
...
Change-Id: Iea16ef61f060dd8f21381f4aeee19052dfe8ef0f
2024-05-16 09:26:21 +02:00
Translation updater bot
ce68c376cb
Localisation updates from https://translatewiki.net .
...
Change-Id: I0af1f1794245c4b2df35da1d7be77a87458eff80
2024-05-15 09:21:37 +02:00
sbassett
f2bc65a518
SECURITY: Improve regular expression performance
...
* This patch improves the performance of an
ext:Gadgets regular expression which helps parse
out sections of the gadgets definition page.
Bug: T363773
Change-Id: Ic9e1a181b261ae4d25e9ce2f91ad12f92e9855d9
2024-05-14 16:07:36 -05:00
Translation updater bot
5dbf7bce92
Localisation updates from https://translatewiki.net .
...
Change-Id: I141f19d34711478ad58a6902fd6cca51f2d9be9b
2024-05-14 09:26:14 +02:00
Translation updater bot
117d0d126b
Localisation updates from https://translatewiki.net .
...
Change-Id: Icf29794812cddbcd618195c55ba5e16cec812a78
2024-05-13 09:27:11 +02:00
libraryupgrader
33718e050f
build: Updating grunt-banana-checker to 0.12.0
...
Change-Id: I8f0204829bb943ffd97cc36146089bd9c2458cde
2024-05-10 06:43:06 +00:00
Translation updater bot
945ac06676
Localisation updates from https://translatewiki.net .
...
Change-Id: I729bc7a4982ba1926160a268d4333d1ba78e4aaa
2024-05-08 09:23:47 +02:00
Translation updater bot
bf14373996
Localisation updates from https://translatewiki.net .
...
Change-Id: I11a37b0cb81e89dc4bafcfc6456bca6d16749fda
2024-05-07 09:22:46 +02:00
Translation updater bot
03dbb1f9f3
Localisation updates from https://translatewiki.net .
...
Change-Id: I59ca62114402eaf785be8d3878b4a0075d39df09
2024-05-06 09:25:48 +02:00
libraryupgrader
a7a136d000
build: Updating composer dependencies
...
* mediawiki/minus-x: 1.1.1 → 1.1.3
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0
Change-Id: Ic0d197aa227c3dc45c258c552a368bfeb7628706
2024-05-05 17:34:28 +00:00
jenkins-bot
16d3a0f75d
Merge "Replace EditFilterMergedContent hook with ContentHandler override"
2024-05-03 19:50:52 +00:00
Translation updater bot
7a14b2081c
Localisation updates from https://translatewiki.net .
...
Change-Id: I2004a251a222ef881bfe8b4803a8e9c962309bb6
2024-05-03 09:28:41 +02:00
jenkins-bot
848a226189
Merge "Drop a few easy to avoid Html::open/closeElement"
2024-04-29 14:07:52 +00:00
thiemowmde
7d1c8336e3
Drop a few easy to avoid Html::open/closeElement
...
The singular Html::rawElement call does the same but is more robust.
Change-Id: I0dda45dff8b49ce877b57bb88b88f08f6b26ac8b
2024-04-29 12:53:07 +02:00
thiemowmde
65f6500730
Stop using the Xml class in this codebase
...
Bug: T341779
Change-Id: I40760d002b7075be762fbf0713fdefe73a6e266e
2024-04-29 12:51:42 +02:00
Translation updater bot
7f3f575768
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie7550f0743c4d0867d96f187988ca0ae2e15e9e5
2024-04-29 09:23:20 +02:00
Timo Tijhof
d2a37f5f69
Replace EditFilterMergedContent hook with ContentHandler override
...
The reason for this hook is not the validation itself, because that
is already done by `GadgetDefinitionContent->isValid` which is part
of the core Content interface, already enforced by ContentHandler.
Instead, the hook was here to provide the custom interface message
GadgetDefinitionValidator, because the core Content interface is
limited to boolean isValid(), which provides a very generic error
message.
However, nowadays ContentHandler exposes this mechanism directly
such that we can directly attach a custom message to it without
needing to wait for the stack to reach the EditPage and then override
it after the fact from a global hook.
Also:
* Simplify validation logic towards "is" checks with only an
expected description.
* Move schema.json file to top-level file.
It has been unused for as long as it has been in the repo, despite
appearing (due to its placement) to be used as part of the source.
It was added, I believe, with the intent to be used by the validator,
but it isn't. It also isn't validated or checked for correctness
by anything right now.
For now, keep it as informal schema in the top-level location for
easy discovery where perhaps others can find a use for it.
SD0001 mentions gadget developers may want to start using it for
Git-maintained gadgets to help with validation in their IDE, after
Gadgets 2.0 is launched.
Test Plan:
* Set `$wgGadgetsRepo = 'json+definition';`
* Create `MediaWiki:Gadgets/example.json`
* Attempt to save "x" in settings.namespaces item.
* Attempt to save "x.zip" in module.pages item.
* Fails with this patch, similar as on master.
Bug: T31272
Change-Id: I61bc3e40348a0aeb3bd3fa9ca86ccb7b93304095
2024-04-24 19:31:14 +00:00