Commit graph

4831 commits

Author SHA1 Message Date
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
jenkins-bot 8b0ae93581 Merge "Deploy VectorClientPreferences to beta" 2024-01-02 16:50:26 +00:00
Fomafix 981555e528 Use MediaWiki\ResourceLoader\Context instead of ResourceLoaderContext
ResourceLoaderContext is deprecated since 1.39.

Change-Id: I466cd4d0c9dcd17fe7de95959a64db5459e288e1
2024-01-02 10:44:10 +00:00
Translation updater bot 04019da168 Localisation updates from https://translatewiki.net.
Change-Id: I2517ca295eee209c0ef2e203351db0b746f038c6
2024-01-02 10:20:03 +01:00
Translation updater bot 300f67078f Localisation updates from https://translatewiki.net.
Change-Id: Ib24c8e3223625bed14139614ddf23b941684a646
2023-12-28 14:52:15 +01:00
Translation updater bot 224c34326d Localisation updates from https://translatewiki.net.
Change-Id: I3145f384bdfa98e639264144c695864836e51a5a
2023-12-26 14:45:38 +01:00
Translation updater bot 34f6d93d37 Localisation updates from https://translatewiki.net.
Change-Id: Icf89f60a84cb2c7d42803b1d1f9bc2d5cf9a29f0
2023-12-22 17:49:26 +01:00
Translation updater bot 997e291c54 Localisation updates from https://translatewiki.net.
Change-Id: I1915d6b93e8c79827a4187e4a93f979436770a9c
2023-12-21 19:47:50 +01:00
Translation updater bot 994e21da72 Localisation updates from https://translatewiki.net.
Change-Id: Id0bea5a7abc15e2a2b776d71aa1ae0580a388892
2023-12-20 14:07:10 +01:00
Jan Drewniak a749da6e6d Change client preferences beta config
Change the default value for client preferences
config to beta=true.

Bug: T351339
Change-Id: Ia2adf58cc2461685162f57410cca499390c6c0e5
2023-12-19 18:08:47 -05:00