Commit Graph
9 Commits
Author SHA1 Message Date
thiemowmdeandjenkins-bot b086aebcc8 Avoid calling expensive ActionsMenuItemsRegistry.getItems
Change-Id: I6ba87ea91d1aca151882f96f4e164b07064bf040
2024-04-18 12:01:47 +00:00
thiemowmdeandjenkins-bot 885c729c74 Remove unused code from ext.uls.compactlinks.js
This was removed via Ifae139d989fb6cb21fc3e19006306ed597d058e6 in
2021.

Change-Id: I76f86d53641dffa572683ac40f41af64a5afa924
2024-04-04 09:35:13 +00:00
thiemowmde 7d5cb91cfe Use native str_contains/str_starts_with in a few more places
This makes the code quit a bit more readable, I believe.

Change-Id: I4aef30d5e20d095c421a13ad5104d64c71361c88
2024-04-04 08:58:37 +02:00
Thiemo Kreuz 78c25ebcf7 Fix-ups to comments and User interface usages
* Use isRegistered() from the more narrow UserIdentity interface.
* More specific type hints.
* Remove comments that literally repeat the code.

Change-Id: Icd0eaf8236be41b258efcf81d581540d2448e9e3
2022-04-20 09:54:25 +02:00
Thiemo Kreuzandjenkins-bot a5ae7cb556 Streamline a few pieces of JavaScript code
The main goal here is to reduce complexity. For example, the method to
remove a parameter from the current URL is never used with another
parameter. The complexity is not needed.

This is inspired by the changes I have seen in Icaf086f.

Change-Id: If22c25e84f50ac380320cd581690835ddb70f01d
2020-01-23 09:29:12 +00:00
Thiemo Kreuzandjenkins-bot 24559cd1af Add basic tests for ULS' ResourceLoader modules
This is a starting point to increase the test coverage in this code
base.

Change-Id: I215713e928e9b55615afd17ccf7a7082ef559e01
2018-12-22 00:00:00 +00:00
Thiemo Kreuzandjenkins-bot 1961ec1766 Add basic unit test for FontRepoCompiler
Change-Id: I9b56c1c732a12f79eb2ba6667b7d8c06564ff90f
2018-12-16 19:28:12 +00:00
Thiemo KreuzandUmherirrender f2e2e640c6 Avoid counting where not necessary
Change-Id: Iaae939780df26066de40e1584492865cb0ac80a7
2018-08-10 14:42:41 +00:00
Thiemo Kreuz 6d714e1fc7 Update @covers tags of LanguageSearchTest
That second class (which is generated by the LanguageNameIndexer script)
is an integral part of the class under test.

Change-Id: I7d8dc66b4d1e86684e0de3e585d9e0a544640159
2018-08-09 19:46:14 +02:00