Translation updater bot
a5427e99c3
Localisation updates from https://translatewiki.net .
...
Change-Id: Id33bbc328c0fd83893c6e59a13200f58550ea924
2023-08-02 09:04:09 +02:00
Translation updater bot
8ee1b9f12a
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib9a3d79f02b2a1cfa2d29655d855d44e99a1e382
2023-08-01 08:36:33 +02:00
Daimona Eaytoy
76522d5c66
Avoid loading gadgets if the storage backend is disabled in tests
...
This method is possibly the main cause of DB access in non-database
tests, because it's called from the UserGetDefaultOptions hook handler,
which is triggered by most tests using UserOptionsLookup in any way.
Trying to obtain a DB connection will throw an exception in I96ecf9ff,
so just skip the lookup altogether.
Bug: T155147
Change-Id: I2ac659a472655b2a95e64dcbd3f709e465839b33
2023-07-29 14:42:56 +02:00
Ed Sanders
d09c3fac78
Use strict equality with in_array
...
Change-Id: I09ebdf0dae540195d5bfcebf32b1e6dd22ff11c5
2023-07-24 18:41:00 +01:00
Ed Sanders
9b6cfa97a0
SpecialGadgets: Remove incorrect comment and test for $requiredSkins being true
...
$requiredSkins is always an array
Change-Id: I91bade025a9581c33b99f986e9497299483b8b59
2023-07-24 13:36:59 +01:00
Translation updater bot
31eef4328d
Localisation updates from https://translatewiki.net .
...
Change-Id: I9ddd52b33efadafb27030b1e3c9e7828793fd2ab
2023-07-24 09:37:44 +02:00
Daimona Eaytoy
b1b7bfefa3
Avoid using TestUser in non-database test
...
TestUser needs a database connection to create the User, but this test
doesn't need a real user, so just use a mock instead.
Ideally we'd use Authority, but the hook still takes a User object.
Change-Id: If6cb7e3756036fc458a4308b06499c4bc0d3d9b0
2023-07-17 23:12:13 +02:00
Translation updater bot
2e2c57c471
Localisation updates from https://translatewiki.net .
...
Change-Id: Id06dcf204b7eb92f15a72f16aaaa500f0a7f2a59
2023-07-17 10:17:17 +02:00
Amir E. Aharoni
33c3721f56
Add missing articles in a message
...
Change-Id: If20a7f9795a76d100a4d6b195151fa2510d3cb41
2023-07-14 18:47:37 +03:00
Translation updater bot
406c907fab
Localisation updates from https://translatewiki.net .
...
Change-Id: I32de0b622ba8806d7b6b76700d08d6bf51a8de37
2023-07-14 09:34:05 +02:00
Siddharth VP
6d1ffbac15
Fix field name in schema.json
...
Change-Id: I7a89afe2876a1530cceb4884c8fdce348f8d6620
2023-07-08 21:13:26 +05:30
Ed Sanders
f5466fca49
Use strict equality
...
Change-Id: Iccb15b405a6959238ba4f924ca4ec907e29a9ebf
2023-07-01 14:27:10 +01:00
Ed Sanders
e93b13a4f1
build: Update linters
...
Change-Id: Ib6b6d6590d6f2c5158ddad6664bbfce5efc7ceb8
2023-07-01 14:26:21 +01:00
Jon Robson
8af75aa6e5
Gadget maintains its own version of targets system
...
The ResourceLoader module associated with the gadget will have
mobile and desktop targets, but this allows gadgets to disable
themselves on the mobile site if necessary by not adding the gadget
to the page if it's been marked as such.
This also has the benefit of not showing the gadget on the preferences
page if it's not relevant.
Bug: T328610
Change-Id: I4f2b57d1d22f641ff7520358a46cd0e6b2103aa9
2023-06-29 16:20:29 -07:00
Translation updater bot
e0ce90e2ed
Localisation updates from https://translatewiki.net .
...
Change-Id: I083fcdb8fd6b4cdeb4a9090e9de8d90dd4197495
2023-06-26 12:39:12 +02:00
Umherirrender
779f058aaf
api: Remove old apihelp i18n description messages
...
No longer used since 1.33
Automatically removed message keys with "doc-apihelp-description" in qqq
Bug: T340253
Change-Id: Iea496e743506a71608ec7adaf26364fef29678fc
2023-06-23 23:46:23 +02:00
Siddharth VP
087ab65e24
Avoid caching serialized PHP object
...
Cache array representation of the Gadget object instead of the
php-serialized representation. Gadget::toArray() is an inverse of the
constructor which already constructs an object from an array of config
values.
Also, the static Gadget::newFromDefinitionContent method which accesses
the service container is replaced with the dependency-less
serializeDefinition() method.
Bug: T303194
Change-Id: Ieae6706537143d766777b2299c31726e2a1dfd29
2023-06-22 06:01:28 +00:00
Jon Robson
58463ce97c
Gadgets should default to mobile and desktop targets
...
The targets system is being deprecated.
Bug: T127268
Bug: T340046
Change-Id: I69d11d52238ac852534cb9a4555208a0b0bb5fd7
2023-06-21 15:36:39 +00:00
Translation updater bot
8fe6e40cd4
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie668bbf78926c42e071b03901667b0dc90aa71c4
2023-06-19 11:07:01 +02:00
Translation updater bot
8f8f740740
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib31614b64e0bfdb6b0e077c896d65fb4b852f977
2023-06-14 13:06:58 +02:00
Translation updater bot
a596383607
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie4ae577b5c0213a455d2b3e7d5e330c45d726c22
2023-06-12 13:07:23 +02:00
jenkins-bot
604566df9c
Merge "Add Sicilian namespace translations"
2023-06-09 14:18:08 +00:00
Translation updater bot
b61e458f98
Localisation updates from https://translatewiki.net .
...
Change-Id: I653f2eaa744bdeddc38725078cca1eca365f6caa
2023-06-09 09:13:44 +02:00
Daimona Eaytoy
2912cd3477
Remove mention to deprecated MWException
...
The class is deprecated and RL will likely stop using it. And even then, this method shouldn't care. The exception is unchecked, so whatever its type is, it's just an implementation detail.
Bug: T328220
Change-Id: I3c87a376ce1d36f4a1d81a435bbc015199c75913
2023-06-07 15:58:45 +00:00
Translation updater bot
81c2769797
Localisation updates from https://translatewiki.net .
...
Change-Id: I780b45f5f156a8cd90bec3df5ebb9acd338a18f8
2023-06-06 08:11:09 +02:00
libraryupgrader
db70e9a00a
build: Updating grunt-banana-checker to 0.11.0
...
Change-Id: Idfde4952853befea602fd144b1a3788b936a180c
2023-06-01 07:57:35 +00:00
Jon Harald Søby
753a348763
Add Sicilian namespace translations
...
Bug: T337542
Change-Id: I80a6b924b3cc025bfea573e746bac6353759e4d2
2023-05-26 14:01:57 +02:00
Translation updater bot
d12c0d5454
Localisation updates from https://translatewiki.net .
...
Change-Id: I907357b0c55818121bdf3165df5a07409cc37274
2023-05-25 09:09:21 +02:00
jenkins-bot
8c4abea868
Merge "Translate Gadget aliases and namespaces into Uzbek (uz)"
2023-05-22 06:35:13 +00:00
MarcoAurelio
ede7f23dca
Translate Gadget aliases and namespaces into Uzbek (uz)
...
Translations provided in Phabricator by User:Malikxan. See Task for
details.
Bug: T323464
Change-Id: I2e029d50031ef453c8eb5dd2eda27dcd28fc62a5
2023-05-17 12:21:47 +02:00
MarcoAurelio
b58bc3608d
Translate Gadget namespaces into Slovenian (sl)
...
Translations authored and provided by User:TarejM on Phabricator. See
Task for details.
Bug: T327449
Change-Id: I9ddeaa2ac7693aa17c8a21f1fbc49c80ed7ab1b2
2023-05-17 12:07:34 +02:00
Translation updater bot
6574d877bf
Localisation updates from https://translatewiki.net .
...
Change-Id: I44791acc159b078ad5260af5685a8a24d74ac563
2023-05-10 08:40:37 +02:00
Translation updater bot
fc57e390ae
Localisation updates from https://translatewiki.net .
...
Change-Id: I9b3563363809a2d0efae1c5798babf46d11db9d1
2023-05-05 10:39:03 +02:00
libraryupgrader
1bda9957de
build: Updating eslint-config-wikimedia to 0.25.0
...
Change-Id: Id6325c29ed6d805160a99b418fc79e6fc5571d01
2023-05-04 03:43:06 +00:00
Translation updater bot
54b3796e62
Localisation updates from https://translatewiki.net .
...
Change-Id: I3c918a71f7b85a12b3781b226be03b6c75b5123a
2023-05-02 08:59:50 +02:00
libraryupgrader
31cdb28e85
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1
npm:
* grunt-eslint: 24.0.0 → 24.0.1
Change-Id: I59b98f2c8de19aa0c027c9dc05bea95c9fa88264
2023-04-29 04:17:41 +00:00
Translation updater bot
ba8f8b59d6
Localisation updates from https://translatewiki.net .
...
Change-Id: I87d807a7a504c1e0126f71febe717dea1d4d0c21
2023-04-25 08:48:00 +02:00
Translation updater bot
b5d42a143b
Localisation updates from https://translatewiki.net .
...
Change-Id: I8c5e6b2ffb716601dbaba1f9cb8ae115b785ff2f
2023-04-20 08:47:55 +02:00
Translation updater bot
82bbb35295
Localisation updates from https://translatewiki.net .
...
Change-Id: I04d04894168a99ec82680dd16c583fa538855189
2023-04-17 09:13:48 +02:00
Translation updater bot
a5ac80c606
Localisation updates from https://translatewiki.net .
...
Change-Id: I97b9ab8790dc75a2a712875b47719fe3f4ae0461
2023-04-10 09:21:25 +02:00
Winston Sung
e79ecef09d
Gadgets: Special page aliases should not store in zh
...
Bug: T286291
Change-Id: If125dc06becebb5ba659c053772f488a435dc635
2023-04-04 20:00:55 +00:00
Translation updater bot
5e5d2d248e
Localisation updates from https://translatewiki.net .
...
Change-Id: Idc0079964e89268a2a88c751b94dd56048fef5fc
2023-04-04 09:17:04 +02:00
jenkins-bot
55e1df2623
Merge "Localise Gadget aliases and namespaces into Kashmiri, Arabic script (ks-arab)"
2023-03-28 17:01:46 +00:00
Translation updater bot
a568552a50
Localisation updates from https://translatewiki.net .
...
Change-Id: Idfdaa6061695a4f1482b835b4299db349f814948
2023-03-28 08:40:22 +02:00
jenkins-bot
f352243a0a
Merge "Add missing targets option"
2023-03-20 09:23:29 +00:00
Translation updater bot
f655d160fb
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia17ba1a1d1340550396839e5aa7d4ba40aceecee
2023-03-20 09:01:16 +01:00
jenkins-bot
f512eab74a
Merge "Add namespace translations for Angika"
2023-03-15 21:31:00 +00:00
Jon Harald Søby
592cce55db
Add namespace translations for Angika
...
Provided by User:Angpradesh at
https://incubator.wikimedia.org/wiki/Talk:Wp/anp
Bug: T332118
Change-Id: I4d87ac39708153c5dd61c2bf86647eac5a680195
2023-03-15 09:50:39 +01:00
libraryupgrader
00320eb83a
build: Updating npm dependencies
...
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1
Change-Id: I577343a32789d7c76c6d464bb78df1900c4e52ed
2023-03-15 06:32:42 +00:00
Translation updater bot
bcab036988
Localisation updates from https://translatewiki.net .
...
Change-Id: Iea1531e74f8be65999223b658d10ebccd43bc51d
2023-03-13 08:38:54 +01:00