Umherirrender
4c5d039f13
Add return type hint to function in ServiceWiring.php
...
This is a common pattern for service wiring functions
Change-Id: Ia7bb6e22ca56aa263288fbf3afed5fb3c5d2df1a
2024-02-01 19:51:03 +01:00
Translation updater bot
a7052bd7d8
Localisation updates from https://translatewiki.net .
...
Change-Id: I9e3f0c060b5be32bb17f93dcad52c7f3f5066cbd
2024-02-01 09:08:14 +01:00
jenkins-bot
035e5826df
Merge "Register night mode as a client preference"
2024-01-31 19:36:45 +00:00
jenkins-bot
3efce8545a
Merge "Client preferences accept a callback"
2024-01-31 19:05:50 +00:00
Jon Robson
63b3a23ead
Register night mode as a client preference
...
The night mode setting should only show up if the feature flag
is enabled.
The messages are currently added to Vector, but we may want to upstream
these to core in future.
Change-Id: Idcd53399fa06821bbf5f463d1a242ecf59442c70
2024-01-31 10:14:30 -08:00
Translation updater bot
a1db9c2a86
Localisation updates from https://translatewiki.net .
...
Change-Id: I22132b46d25262a2deeb17401ddf752747f5bf2e
2024-01-31 08:31:03 +01:00
Jon Robson
29f73c960b
Client preferences accept a callback
...
In the mobile site we want to show a notification when settings
are changed. In some cases we want to reload the page.
Bug: T350170
Change-Id: I71bd97de8e041d641aded02b8fdf84359f6d830b
2024-01-30 12:31:43 -08:00
jenkins-bot
3961cbcfb4
Merge "Deactivate sticky header menus and search when sticky header is hidden attempt 2"
2024-01-30 19:36:34 +00:00
Bernard Wang
8172710236
Deactivate sticky header menus and search when sticky header is hidden attempt 2
...
This reverts commit 47e58d53d4
.
Reason for revert: second attempt at the patch
Bug: T325083
Change-Id: I2190005fcad41ad61bbd02ea3603e222fc58ceb8
2024-01-30 18:14:21 +00:00
Translation updater bot
95bd8fbb82
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic6cf9d6f3c003e0726f2cf058a5db6ee4539ef94
2024-01-30 09:41:30 +01:00
jenkins-bot
851bc5aecd
Merge "Revert "Deactivate sticky header menus and search when sticky header is hidden""
2024-01-30 02:48:24 +00:00
Jdlrobson
47e58d53d4
Revert "Deactivate sticky header menus and search when sticky header is hidden"
...
This reverts commit 984a8a03ae
.
Reason for revert: For anonymous users this was triggering the
error "Cannot read properties of null (reading 'contains')"
Change-Id: I0bd78d195768c95b188208fa6fbab60fb483ed87
2024-01-30 02:24:15 +00:00
bwang
142591afdc
Hide limited width client prefs on screen sizes below 1400
...
Bug: T355331
Change-Id: Ic32cede70645637bdc887cfef23b1e7385a834a3
2024-01-30 02:14:50 +00:00
jenkins-bot
3d747b504a
Merge "Deactivate sticky header menus and search when sticky header is hidden"
2024-01-30 00:56:46 +00:00
jenkins-bot
89def4131f
Merge "Fix linter warnings"
2024-01-29 17:38:37 +00:00
bwang
c893934ee7
Fix linter warnings
...
Change-Id: I24c3ecb7858142dc1b90cf1e34456691660157f1
2024-01-29 17:06:53 +00:00
jenkins-bot
293ef7776f
Merge "Document button alignment edge cases"
2024-01-29 16:02:44 +00:00
Translation updater bot
9a9f0f9a30
Localisation updates from https://translatewiki.net .
...
Change-Id: I838ad81292e2790e36a69b4276613ab2f03902ef
2024-01-28 16:11:24 +01:00
jenkins-bot
4004add15c
Merge "Revert "Update <p> spacing to improve consistency of ul/ol spacing, also update heading spacing to be more consistent, relying on mw defaults more""
2024-01-24 22:27:13 +00:00
Jdrewniak
8d3bda7867
Revert "Update <p> spacing to improve consistency of ul/ol spacing, also update heading spacing to be more consistent, relying on mw defaults more"
...
This reverts commit ee73437745
.
Reason for revert: This patch caused T355805
Bug: T355805
Bug: T354433
Change-Id: Ibe9edcf6c4d8f25c3cc0c35cebb3aadd5dc09b00
2024-01-24 21:15:46 +00:00
bwang
a48a96a73e
Document button alignment edge cases
...
Change-Id: Ib25fa1af2d76c9cb449002deeea6900d5e501c3c
2024-01-24 12:26:39 -08:00
Umherirrender
b74b33f1f1
Use UserIdentity in VectorResourceLoaderUserStylesModule
...
Context::getUserIdentity was added with 6fbea844
Change-Id: I3d590b1b104af804edeb91dc58155a54114aa4ba
2024-01-23 21:26:35 +01:00
jenkins-bot
04ed14432b
Merge "Client preferences supports toggle switches"
2024-01-19 22:54:18 +00:00
Jon Robson
8c49b1eb49
Client preferences supports toggle switches
...
Bug: T350418
Change-Id: I359924874e7232eaee73b7dc3678b9e8e26794ac
2024-01-19 12:56:27 -08:00
Translation updater bot
1e3abb4bf2
Localisation updates from https://translatewiki.net .
...
Change-Id: I3115d727d252ad8e27f69594b1bdae87a90570f0
2024-01-19 08:29:44 +00:00
bwang
984a8a03ae
Deactivate sticky header menus and search when sticky header is hidden
...
Bug: T325083
Bug: T336965
Change-Id: Ie2cc38b1cadf239f8350d47eba1f2fefc60e1f28
2024-01-18 14:24:36 -06:00
jenkins-bot
f2eb6fb2e8
Merge "Generalize skins.vector.clientPreferences library for use in MobileFrontend"
2024-01-18 05:28:00 +00:00
Jon Robson
7d5caf3f66
Generalize skins.vector.clientPreferences library for use in MobileFrontend
...
Bug: T354224
Change-Id: I6949c4f49ec34b8e47036da4222a5f3ff491af32
2024-01-17 14:51:29 -08:00
Translation updater bot
1f861f2d62
Localisation updates from https://translatewiki.net .
...
Change-Id: I602a451783d9d71c5f680f8a7045778ef5c1b32c
2024-01-17 08:38:56 +01:00
bwang
ee73437745
Update <p> spacing to improve consistency of ul/ol spacing, also update heading spacing to be more consistent, relying on mw defaults more
...
Bug: T352875
Change-Id: I1f08681c8145bd95781752cb5728ebc9e84dd218
2024-01-16 19:48:33 +00:00
jenkins-bot
4fdf90c515
Merge "Simplify heading styles. Avoid using .vector-body"
2024-01-16 17:43:49 +00:00
bwang
91c5357917
Simplify heading styles. Avoid using .vector-body
...
Bug: T352875
Change-Id: Iba444d2324aeb578fa739cb12f1b31fb630c9ec7
2024-01-16 11:16:06 -06:00
Translation updater bot
e23fde811e
Localisation updates from https://translatewiki.net .
...
Change-Id: I2294e0d1fda9d9571177e4e068f701a813b1c2e8
2024-01-16 08:27:46 +01:00
Translation updater bot
d5caf507ca
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaeb55341db568faf73aacef8c8ab92142be48ab7
2024-01-15 08:27:28 +01:00
Umherirrender
a5486b3a35
Use namespaced SkinModule and OOUIIconPackModule in extension.json
...
Change-Id: I3465f2708965c57bc268105c55042638cd014025
2024-01-13 22:45:46 +01:00
James D. Forrester
e5eb3f9523
skin.json: Drop 'es6' flag, always true since MediaWiki 1.41
...
Change-Id: I1a66eb4d066f335b3ca0433725ec4a0c8b003692
2024-01-12 19:11:15 -05:00
jenkins-bot
28976b1975
Merge "Reapply "mw.notify: Limit width of overlay to max-width-page-container""
2024-01-12 22:08:13 +00:00
Translation updater bot
b43a9aaaa2
Localisation updates from https://translatewiki.net .
...
Change-Id: I9d0874d37c38dd70a31575ea471a5403d6b70787
2024-01-12 09:03:21 +01:00
jenkins-bot
6a40112ceb
Merge "VectorComponentUserLinks: Replace array_reduce with array_filter"
2024-01-12 02:02:26 +00:00
jenkins-bot
23d1927e92
Merge "build: Upgrade eslint-config-wikimedia from 0.25.1 to 0.26.0"
2024-01-12 01:47:30 +00:00
jenkins-bot
ced3d7ec00
Merge "Hooks: Minor cleanup"
2024-01-12 01:46:30 +00:00
jenkins-bot
991c63f3db
Merge "Remove empty MakeGlobalVariablesScript hook"
2024-01-12 01:17:47 +00:00
jenkins-bot
5c4e379fb5
Merge "SkinVector22: Minor cleanup"
2024-01-12 01:02:25 +00:00
jenkins-bot
ea84f40af4
Merge "build: Update 'svgo' to latest v3.2.0"
2024-01-12 01:00:07 +00:00
Umherirrender
4d8c06cadb
VectorComponentUserLinks: Replace array_reduce with array_filter
...
Looks easier to understand:
array_reduce adds the count() of all inner arrays and returns an
integer, 0 when all is empty and the count when items in there.
array_filter removes the empty inner arrays and when the returned outer
array still has an inner array, it is non-empty.
Change-Id: Ib0acb9be8d4d64cfb7d7d124c5a3de500f6b0232
2024-01-12 01:25:54 +01:00
Umherirrender
b2f091ea95
Remove empty MakeGlobalVariablesScript hook
...
Last usage was removed in d983dada
Follow-Up: I2c28a4e253b4dc17578793e1e4ce73e80392d08c
Change-Id: I76947280762b33943bb5df53444067d61116b0e1
2024-01-12 01:13:50 +01:00
jenkins-bot
32d9da47fb
Merge "FeatureManager: Avoid $this assignment"
2024-01-11 23:13:35 +00:00
Umherirrender
994e005e3b
Hooks: Minor cleanup
...
- Remove unused local variable
- Use pass-by-ref on foreach value
- Use else instead of a second if
- Use camelCase variable name
- Avoid Skin::getRelevantTitle when not used
- Use RequestContext::getSkinName without getting a skin object
Change-Id: Ib84464d739516b8a17ef48c94cd60676e361bcaa
2024-01-12 00:08:42 +01:00
Volker E
26f47fe0c3
build: Update 'svgo' to latest v3.2.0
...
The latest update of 'svgo' dependency includes three optimizations on
converting path commands, which
- improves closing paths and how we determine if to use absolute or
relative commands.
- round arc or convert to lines based on the geometric sagitta
- convert cubic Bézier curves to quadratic Bézier curves where possible
Also unifiying npm command to qua standard notation `minify:svg`.
Bug: T354875
Change-Id: I4fffd9efd430786911fe36e409d2575bfab719bd
2024-01-11 23:28:28 +01:00
Umherirrender
829fb38450
VectorComponentPageTools: Remove unused User
...
Usage was removed in 448a9066
Follow-Up: Idca2ccfe4aeef0a2ac0970f7baf54849a64a4070
Change-Id: I001805e955711c8343097f72370719310f63ed94
2024-01-11 23:00:37 +01:00