Commit graph

4840 commits

Author SHA1 Message Date
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
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
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
Umherirrender 62cf2e94c0 SkinVector22: Minor cleanup
- Remove unused override of getDefaultModules
- Call getActionName() directly
- Remove some use of empty()
- Fix line indent
- Call some functions only once
- Write query parameter as array
- Have all parent:: at function top

Change-Id: I4c807b0a170eef0742586beb87b80eaade4bb4c5
2024-01-11 22:57:41 +01:00
Umherirrender 4fcd95bcb4 FeatureManager: Avoid $this assignment
Just make the callback non-static

Change-Id: I409857dffdbcdd80dfbbe2fb8c64858e9a8f80ef
2024-01-11 22:36:03 +01:00
James D. Forrester 1c93d0514b build: Upgrade eslint-config-wikimedia from 0.25.1 to 0.26.0
Bug: T345100
Change-Id: I51fdef33d517ce4f2f50930bc46dddb2f497677c
2024-01-11 14:19:57 -05:00
James D. Forrester 8a0961c815 .nvmrc: Update now we're using Node 18
Change-Id: I0daaa2bbe2dd7f29601be9fb99ec4e379bb0534a
2024-01-11 10:51:48 -05:00
jenkins-bot cb96b7b379 Merge "Remove cache related FIXMES for CSS" 2024-01-11 12:52:34 +00:00
Translation updater bot 52eba4f4c4 Localisation updates from https://translatewiki.net.
Change-Id: If830007e1f012c46db6449d189f2fc309ff76798
2024-01-11 10:12:02 +01:00
Esanders 651b7aea6f Reapply "mw.notify: Limit width of overlay to max-width-page-container"
Limit this change to fixed width 2022, as it isn't necessary in full width mode.

This reverts commit 45ded33a4c.

Bug: T349622
Change-Id: Iba1c26dd6b1039bfd11764585ed43064aa886403
2024-01-10 20:33:53 +00:00
Translation updater bot 792f3f3733 Localisation updates from https://translatewiki.net.
Change-Id: Icf8f38208eea496b117083f461a1a1ac23e6e24e
2024-01-10 08:34:43 +01:00
Moh'd Khier Abualruz 0d7f38ccc2 [Zebra] Remove !important
- Complying to fix me comment

Bug: T347712
Change-Id: Iacd0065b5a736249046ba89bb618bb13f7c0250a
2024-01-09 19:21:20 +01:00
Jon Robson 0ec9d2ecd6 Remove cache related FIXMES for CSS
Change-Id: I0b8bff3e880bef3e97341c24e40405401381006a
2024-01-09 09:48:06 -08:00
Moh'd Khier Abualruz f83cca3cc5 [Zebra] Merge skins.vector.zebra.styles module into skins.vector.styles
Merges all of the styles in the Zebra module into the default styles.

- skins.vector.zebra.styles ResourceLoader module is removed.
- FIXME's related to Zebra styles are removed.
- Top-level "&" that were used for scoping to feature-flag are removed.
- `$wgVectorZebraDesign` feature flag is removed.

Bug: T347712
Change-Id: I0177541ae87a5d070d5317629ca38de93613d620
2024-01-09 15:46:11 +01:00
Translation updater bot 2e1d67a81c Localisation updates from https://translatewiki.net.
Change-Id: Iabccc0ea1e3fb22139967678a796a34d2dbc02cf
2024-01-09 09:02:59 +01:00
jenkins-bot 8232b6dcc1 Merge "Support conditional user defaults" 2024-01-09 04:43:06 +00:00
Steph Toyofuku 02681c150f Rename "Theme" to "Appearance" in reading accesibility preferences
Appearance better communicates this section than theme, so let's change
the heading to reflect.  Note this only updates the english heading and
the qqq remains unchanged at this time

Visual diff in english as it updates text on all pages

Bug: T354371
Change-Id: I6824d1d970a3fd4e6d7292d8a493abbcb736bd5d
2024-01-08 14:12:12 -08:00
Translation updater bot e781eed47c Localisation updates from https://translatewiki.net.
Change-Id: I78eed7d0bed354de3ec79186feb8f454344c8a81
2024-01-08 11:34:10 +01:00
Translation updater bot b620b7083a Localisation updates from https://translatewiki.net.
Change-Id: Ic1a0e553f5b2c52971767a69cba267ca1295e3aa
2024-01-05 09:16:31 +01:00
Martin Urbanec aa13694fea Support conditional user defaults
Thanks to T321527, MediaWiki makes it possible for default
values of user properties to vary by user.

Depends-On: I1549c3137e66801c85e03e46427e27da333d68e2
Bug: T354329
Change-Id: Ib7c80f0b065617f9e76315eb4a652486681247cc
2024-01-04 13:12:03 +01:00
Translation updater bot 7cd24be30e Localisation updates from https://translatewiki.net.
Change-Id: I5a677358d867c2c031e4ceaa355c9fee61784ef7
2024-01-04 09:57:59 +01:00
Volker E 60607a3daf build: Update 'oojs-ui' to 0.48.3
This also includes the replacement of WikimediaUI Base with Codex tokens
in OOUI – all backwards-compatible.

Bug: T334934
Change-Id: I2e05852424ab5db90b94c65a6c409cb40b66d04c
2024-01-03 21:46:40 +00:00
Umherirrender f8ffcd20d2 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statements done manually

Change-Id: I9b8f447ea4d715bc815cc782184bca288ee001a0
2024-01-02 20:54:08 +01:00