Umherirrender
e126de6a78
Rethrow TimeoutException when using mw.language.formatDate function
...
timeout while converting timestamps should be a timeout for the whole
parse of that wikitext and not hidden by a invalid time.
Just let the exception bubble up to the caller
See ca71e69f for more information
Change-Id: I1f44e45dcc9b052717814990a3f5ce3a1bdf9d26
2023-10-02 21:03:02 +02:00
Translation updater bot
a63d074572
Localisation updates from https://translatewiki.net .
...
Change-Id: I101ad1c679e8885f125dc67c3b999d947e3423e5
2023-09-25 08:46:56 +02:00
Umherirrender
80198cd635
Use ::class for class name resolution
...
Change-Id: I92a73fd6eccd3cf963ce1ff50ccf4f7aac6a0e1e
2023-09-21 22:46:00 +02:00
Translation updater bot
c81f3aec5f
Localisation updates from https://translatewiki.net .
...
Change-Id: I50d2512cf628fd7c4613b838f358f0d8eee7e48a
2023-09-18 08:44:49 +02:00
Jdlrobson
77286ebc87
Revert "Replace use of ParserOutput::addJsConfigVars(), deprecated since 1.38"
...
This reverts commit 9f8d16f9c9
.
Reason for revert: Causes internal error on certain pages.
Bug: T346094
Change-Id: Ia9ccffbbbe2fe2413b54fb5e16f5cfc53527990e
2023-09-11 20:18:13 +00:00
C. Scott Ananian
9f8d16f9c9
Replace use of ParserOutput::addJsConfigVars(), deprecated since 1.38
...
Most uses can be replaced with ::setJsConfigVar(); the major semantic
change is that ::setJsConfigVar() is not expected to overwrite
previous values. That *may* be an issue here, but if so it's not
a change from existing behavior, as the way ::addJsConfigVars() was
being called it would override previous values as well.
Bug: T300307
Bug: T305161
Change-Id: Ibd3fbcbc774491179b0d4fe29ba3b6a128220703
2023-09-11 16:55:54 +00:00
Lucas Werkmeister
b39d3589ba
Remove Database group again where possible
...
Override the target language in the parser options, so that it isn’t
looked up from the database; this lets UriLibraryTest avoid database
access. And since the Database group is no longer strictly required,
remove the statement to that effect from the phpdoc again.
Bug: T345372
Change-Id: I79f35257b123eb939d9ab67b16aa56d34586bb67
2023-09-06 11:33:42 +02:00
Daimona Eaytoy
7e54c088ac
Avoid DB access in databaseless tests
...
- Force a content model on the title used by LuaEngineTestBase, so that
calls to getPageLanguage() won't end up hitting the DB
- Don't actually use SiteStats from SiteLibrary in unit tests. There
seem to be no test actually using this data.
Bug: T345372
Change-Id: I35884f04b582678982fb5f64d9199bab41cd8bce
2023-08-31 19:12:55 +00:00
Lucas Werkmeister
ea0707c437
Add UriLibraryTest to Database group and add advice for others
...
All LuaEngineTestBase subclasses must be in the Database group, as far
as I can tell it can’t be avoided. (Several already are anyway.) We
can’t centrally do this in the base class anymore (needsDB() can no
longer be overridden), so just add it to the phpdoc here.
Bug: T345372
Change-Id: I47016ec84ed227f755f94a383bee8053975b4c81
2023-08-31 18:08:37 +02:00
Translation updater bot
c588e717ab
Localisation updates from https://translatewiki.net .
...
Change-Id: I09b9b5ab0ac82b60850558241cfa2ec3944d6981
2023-08-28 09:30:59 +02:00
Umherirrender
a8280e5e5f
Use namespaced Title
...
Bug: T321681
Change-Id: I65940dc6d276f86734ff724d6605facb68dd8e44
2023-08-19 20:18:41 +02:00
gerritbot
b7a5e6fadd
Replace some moved Title class uses, now MediaWiki\Title\Title
...
Bug: T321681
Change-Id: I27924141187aef8fe2f6500ec0c4b6360d268c28
2023-08-19 12:22:05 +00:00
James D. Forrester
2248bb8ca5
build: Update MediaWiki requirement to 1.41
...
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.
Change-Id: Ia8e611f53722341fc80a42267452bd14562914d5
2023-08-19 14:05:01 +08:00
Umherirrender
a00ce79826
Use HookHandlers for CodeEditor hook
...
This requires 1.41 for the interface (added in 4d6a470a)
Bug: T271026
Change-Id: I393ba99b7265dac81c7fdaf3d21630386c7c53a9
2023-08-15 13:50:13 +02:00
Umherirrender
648985c981
Use HookHandlers for core hooks
...
The use of "HookHandlers" attribute in extension.json makes it possible
to inject services into hook handler classes in a future patch.
Bug: T271026
Change-Id: I1583f5075937c4ce71a0d8748700f7012280851c
2023-08-15 13:49:53 +02:00
Translation updater bot
f61a523ceb
Localisation updates from https://translatewiki.net .
...
Change-Id: I6415d17e26649092a3d2a7cfaf41eed4c5da93d5
2023-07-31 09:00:53 +02:00
Translation updater bot
4aa17cb80c
Localisation updates from https://translatewiki.net .
...
Change-Id: If270803d71c66c5a986946a2733d932c010ea898
2023-07-24 09:39:36 +02:00
Winston Sung
2af0e991e4
Follow-up of "Localisation updates from https://translatewiki.net ."
...
Change-Id: I0d19c5bb331a8579b0ff0e752251520a724bf497
2023-07-17 09:21:37 +00:00
Translation updater bot
34c83b1158
Localisation updates from https://translatewiki.net .
...
Change-Id: I0f4ac4e7a9bc2b2d45aa1d67dbdee46d8a78ac84
2023-07-17 10:18:41 +02:00
Anne Haunime
b3f55c05e9
Optimize mw.text.trim() with default charset
...
Using code by David Manura, published at lua-users.org/wiki/StringTrim
Note '\t\r\n\f ' is replaced with '%s', thus '\v' (vertical tab) is added to the characters trimmed by default.
Bug: T338561
Change-Id: I98e2677f1181b88f4cd97cffca3a53ce426ec5cd
2023-07-14 15:59:20 +00:00
Translation updater bot
511fce82db
Localisation updates from https://translatewiki.net .
...
Change-Id: I83de5e66552587771014b7ecae534036be17f7b3
2023-07-03 10:16:16 +02:00
Translation updater bot
7c47ae1344
Localisation updates from https://translatewiki.net .
...
Change-Id: Idf55d688a1d40c4ca0fcac84cb970c3562022e6b
2023-06-26 12:40:50 +02:00
Umherirrender
622364c437
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: Ic533cea25b7ab6b5d390a73c306abd584f5c9c33
2023-06-24 00:20:25 +02:00
Umherirrender
2ee5768ef5
Create HookRunner class and the hook handler interfaces
...
Bug: T271026
Change-Id: If525e0f950b3a098162b19373edb3b443f559bf2
2023-06-19 21:39:33 +00:00
Translation updater bot
8811ea784e
Localisation updates from https://translatewiki.net .
...
Change-Id: I24a4cd5b6400ccc420a0dfeb04ec83051d38c4aa
2023-06-19 11:08:01 +02:00
Daimona Eaytoy
846495fe45
Replace deprecated MWException
...
Bug: T328220
Change-Id: I38be06abdabff29276f07c378f3ef434973fb8d6
2023-06-09 14:43:44 +02:00
Translation updater bot
c54efd3c6c
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie8f39b55c3890e1555037a42345204e909d525c5
2023-06-02 09:24:45 +02:00
libraryupgrader
c6d3b80072
build: Updating npm dependencies
...
* grunt-banana-checker: 0.10.0 → 0.11.0
* stylelint-config-wikimedia: 0.14.0 → 0.15.0
Change-Id: Id64ab5fb0a594371354ca4a3ca5f90016f397530
2023-06-02 02:13:44 +00:00
Translation updater bot
3cddac5daa
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifa677eb4418dbfa67cdbe04184243d34234f679d
2023-05-31 08:20:57 +02:00
Translation updater bot
2929124e1d
Localisation updates from https://translatewiki.net .
...
Change-Id: Idd7dab1d185af98851d74afd7f9c9362200b2fff
2023-05-29 10:00:03 +02:00
MarcoAurelio
4153b8de1d
Translate Scribunto namespaces into Uzbek (uz)
...
Translations provided by user Malikxan in Phabricator.
Bug: T323464
Change-Id: I6a0211d7b67670ea47e35fa7b9e5a7c37d88c868
2023-05-24 22:19:24 +00:00
Umherirrender
16189b5866
tests: Make some PHPUnit data providers static
...
Initally used a new sniff with autofix (T333745)
Bug: T332865
Change-Id: Ia50628faba21eeb30a08f11823825dce9bb71db2
2023-05-20 19:35:54 +02:00
gerritbot
881d0c2bbd
Update moved class RawMessage
...
See T321882. Moved in I195cf4c67bd514
Bug: T321681
Change-Id: I9c5e19e62f5faf73e6825e29090f6e1ae84ae3fb
2023-05-19 10:31:10 +00:00
Translation updater bot
1bb1b756b7
Localisation updates from https://translatewiki.net .
...
Change-Id: I9b8d2a09f34e8131ee431d44d8e5e3feb0253bc9
2023-05-18 10:13:06 +02:00
Jon Harald Søby
1f5a6c2e46
Add namespace translations in [gpe] Ghanaian Pidgin
...
Bug: T335970
Change-Id: I002aa37be06b3f938f5484cbb0bfcb30ea32942a
2023-05-18 01:51:14 +00:00
gerritbot
57e391d32a
Update moved class Category
...
See T321882. Moved in I0b86acfdea
Bug: T321681
Change-Id: I98440222d04b3c15523a7e00d447933f85b360ed
2023-05-15 13:26:48 +00:00
Translation updater bot
5556e1deee
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia7cf0710c34ef6e5fe8f989ff3c46bc744b0492e
2023-05-15 08:33:42 +02:00
gerritbot
7cf0fa1edb
Update moved class EditPage
...
See T321882. Moved in Ibefc44eb64aed
Bug: T321681
Change-Id: I52f974372fe79145ddbb59fbbd4ec8dbf9c83e23
2023-05-07 00:32:11 +00:00
Umherirrender
ebda052657
Replace deprecated Hooks::run
...
Bug: T335536
Change-Id: I3d7329c985d98b0f97003ef859113c87cf0c25c6
2023-05-06 23:06:24 +02:00
libraryupgrader
4e92b9be57
build: Updating eslint-config-wikimedia to 0.25.0
...
Change-Id: Id98b0bf8ad6635c9a7d1f24d1bd9d07f890b6c53
2023-05-05 11:09:31 +00:00
Translation updater bot
25871e9e2f
Localisation updates from https://translatewiki.net .
...
Change-Id: I286e76800518496268fa89f09df43c8657d39652
2023-05-05 10:40:50 +02:00
libraryupgrader
fea25812d6
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: I7801c03d443695f211f4e7c9bd94719bd3bef90c
2023-04-29 10:08:46 +00:00
gerritbot
756926c479
Update moved class WikiMap
...
See T321882. Moved in I60cf4b9ef02b9d5
Bug: T321681
Change-Id: I4bd035a77ac80e9b408e63b35f3116e1901df7cb
2023-04-25 09:54:46 +00:00
Translation updater bot
92b081adb0
Localisation updates from https://translatewiki.net .
...
Change-Id: I3a04e60779d52229e8ed018a44fbbd423c83b8eb
2023-04-24 09:17:12 +02:00
Translation updater bot
fe8d45bfbf
Localisation updates from https://translatewiki.net .
...
Change-Id: If12c5025761801c0451424885b7e2cc1c913f7f8
2023-04-10 09:46:36 +02:00
MarcoAurelio
06ce446924
Localise Scribunto namespaces into Kashmiri, Arabic script (ks-arab)
...
Translations provided by Wikimedia user 511KeV
<https://meta.wikimedia.org/wiki/Special:CentralAuth/511KeV >
via <https://phabricator.wikimedia.org/T304790#8627619 >.
Bug: T304790
Change-Id: I3a5a4c608fd816cc197224260db8c864164ba259
2023-03-28 18:02:49 +00:00
Brian Wolff
72366e5b68
Update tests for compat with kaa i18n changes
...
See be7291848428 & be7291848428
Change-Id: Icbf016311af029bfd02dd701ede881416b85ee31
2023-03-28 00:51:48 -07:00
Translation updater bot
d67c837b21
Localisation updates from https://translatewiki.net .
...
Change-Id: I92e6c3a1fbeb2b49c70c3be460cdc5020cb196ab
2023-03-24 09:28:26 +01:00
Translation updater bot
dd31f91eb2
Localisation updates from https://translatewiki.net .
...
Change-Id: Ieb55276f54b2fa253365cd975dd94349221ad712
2023-03-20 09:02:30 +01:00
Jon Harald Søby
275db90515
Add namespace translations for Angika
...
Provided by User:Angpradesh at
https://incubator.wikimedia.org/wiki/Talk:Wp/anp
Bug: T332118
Change-Id: If495386198a9d0b4c481913ae9b24eb3b75c2bb2
2023-03-17 18:18:10 +00:00