thiemowmde
a630e3d129
Make use of ??=, ?: and similar operators where possible
...
The main benefit of these operators is that they avoid repeating
parts of the code.
Change-Id: I86ea0eb02715ad5b7c62a71849309ed7095c5972
2024-09-21 20:00:50 +00:00
Ebrahim Byagowi
27136f2afa
Avoid use of deprecated wfGetUrlUtils
...
Change-Id: Ia36e0cf4a390f32fad7da55a503ac15afa85317a
2024-09-08 09:47:06 +03:30
James D. Forrester
bb71303a81
Replace use of deprecated global URL functions with wfGetUrlUtils()
...
This is a quick fix rather than the proper DI fix.
Bug: T319340
Change-Id: I9e3bd0049b28efc634e1f394a487f86e27ef9e0d
2024-08-29 13:35:12 -04:00
Fomafix
70605bf630
Replace global configuration variables
...
Use overrideConfigValues instead of setMwGlobals in tests.
Change-Id: Icaf7d8d9bb3a4c1eb981ef83a12719c2619039fa
2024-03-18 04:40:44 +00:00
Umherirrender
68aebf853c
Use namespaced classes
...
This requires 1.42 for some new names
Done automatically via script
Change-Id: I6f6899981eab571cabb57534d7d98ce546a30a75
2024-01-05 19:24:06 +01: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
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
gerritbot
57e391d32a
Update moved class Category
...
See T321882. Moved in I0b86acfdea
Bug: T321681
Change-Id: I98440222d04b3c15523a7e00d447933f85b360ed
2023-05-15 13:26:48 +00:00
Reedy
1eecdac6de
Capitalise Engines folder
...
Change-Id: I6d730d67decc859fd130fee5ec92b1cfb8d9ef64
2022-09-30 00:58:27 +00:00