Commit graph

4511 commits

Author SHA1 Message Date
jenkins-bot b266667f0b Merge ".nvmrc: Update now that CI is using Node 20" 2024-12-17 21:12:36 +00:00
James D. Forrester 698fa8fdb8 .nvmrc: Update now that CI is using Node 20
Bug: T343827
Change-Id: Id5de39e9d89169f2cca3ed6c18230dbc9c71d961
2024-12-17 20:11:01 +00:00
jenkins-bot 2034407d23 Merge "build: Updating dependencies" 2024-12-17 02:06:15 +00:00
Translation updater bot d9536c915e
Localisation updates from https://translatewiki.net.
Change-Id: I4bfd13e6f56e8a3c8c9fb2d7a3fc109385d0c803
2024-12-16 08:26:28 +01:00
libraryupgrader 4e4dd6ece3 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.14.0 → 0.15.0

npm:
* mocha: 10.2.0 → 10.8.2
  * https://github.com/advisories/GHSA-mwcw-c2x4-8c55
* nanoid: 3.3.3, 3.3.7 → 3.3.8
  * https://github.com/advisories/GHSA-mwcw-c2x4-8c55

Change-Id: I82b9a8d6bb1f85c5aacf6a82687a1e919f298481
2024-12-15 11:01:11 +00:00
Translation updater bot 532e410be2
Localisation updates from https://translatewiki.net.
Change-Id: Ie732f9cce5a8306e6a1e800e9cca6fae23e8c281
2024-12-13 08:37:42 +01:00
jenkins-bot 06ff907507 Merge "Move VE hacks into VE extension" 2024-12-11 16:40:05 +00:00
Translation updater bot 40daf40556
Localisation updates from https://translatewiki.net.
Change-Id: Ia16f45c1f0b8a45b662683a6ab78ab6faec1c203
2024-12-11 08:27:51 +01:00
lwatson 6e9dcd10c8 Increase bundlesize limits
Codex v1.18.0 added 8 new tokens and styles for various components.

Refer to changelog for more info:
https://github.com/wikimedia/design-codex/blob/main/CHANGELOG.md#1180--2024-12-10

Bug: T381787
Change-Id: I58401027164c50a7eab694789597678e13392561
2024-12-10 18:20:04 -05:00
Translation updater bot 3486e8de73
Localisation updates from https://translatewiki.net.
Change-Id: Ia923cb5a4ec3cdc3dd14169e93f4e7062d3d5d3e
2024-12-09 08:24:24 +01:00
Translation updater bot ff6c425966
Localisation updates from https://translatewiki.net.
Change-Id: Ie9133f38c681e6f78cbe25c46d94cb8904bff594
2024-12-06 08:19:53 +01:00
jenkins-bot ab22b1400d Merge "Migrate page issue overlay to ES6 to fix display" 2024-12-05 20:11:55 +00:00
Jon Robson ab1b4873df Migrate page issue overlay to ES6 to fix display
In ES5 you can override getters via prototype but not
with ES6.
Rather than patch MobileFrontend just for this use case
its easier to patch Minerva.

Bug: T380314
Change-Id: I69ccdb93287dc5e080a0d5a8faa9d208dc67779d
2024-12-04 17:32:03 -08:00
lmora 9b48993728 Reduce ResourceLoader modules
Delete the following deprecated modules:
skins.minerva.base.styles, skins.minerva.mainMenu.styles,
skins.minerva.icons.wikimedia and skins.minerva.mainMenu.icons
And reorganize files for skins.minerva.styles

Bug: T266361
Change-Id: I35b1d9461edd63a1a5d488a2fdc6939547fd29ad
2024-12-04 15:44:17 -06:00
Translation updater bot b1eab45061
Localisation updates from https://translatewiki.net.
Change-Id: Id3b97c3783ba9cdd430a92d303b86d65309a0d22
2024-12-04 08:24:59 +01:00
Translation updater bot fbb7dfc7c3
Localisation updates from https://translatewiki.net.
Change-Id: If580723c1f8e7a56610a58757540828029c9c157
2024-12-02 08:25:12 +01:00
libraryupgrader e290272466 build: Updating jsdoc to 4.0.4
Change-Id: Ie9fa987f13939a46c7f0b809362a7be2909284a3
2024-12-01 19:26:41 +00:00
Translation updater bot 9cf9d4cb8f
Localisation updates from https://translatewiki.net.
Change-Id: Idc3134c39cecf1b278c6d1dd8836b72bfab44247
2024-11-27 08:23:44 +01:00
Translation updater bot 921c5a6286
Localisation updates from https://translatewiki.net.
Change-Id: I4935ffb0d296098cf112bf3e1c848e898c80a685
2024-11-26 08:18:59 +01:00
jenkins-bot 6911cd4d8a Merge "Change donation link utm_key to wmf_key" 2024-11-25 15:43:27 +00:00
Translation updater bot 3411d2c1aa
Localisation updates from https://translatewiki.net.
Change-Id: Ie37e216903ce2db7b9226cbef2f60ae20552494a
2024-11-25 08:27:03 +01:00
Ed Sanders 97646eb20b Move VE hacks into VE extension
Depends-On: Ic2aca1e005c5d5f89a97372de40bd8aa6f4b2aa0
Change-Id: Idacb5990f29fea254c533b452ae279f227d7b56c
2024-11-22 13:08:35 +00:00
Translation updater bot a8df2c7dba
Localisation updates from https://translatewiki.net.
Change-Id: Ic316ca00b9a91975131a8d58d8b581a11ddce107
2024-11-22 08:45:49 +01:00
Volker E. 1b2923415f styles, images: replace outdated values with design system values
Replacing error colors with amended design system values.
Note, that error icon color is slightly lighter than the error
text color.

Change-Id: Ia25a9accff2c8ed643252c2cc609b9bb63db4c47
2024-11-21 17:22:53 -08:00
pcoombe d55077774e Change donation link utm_key to wmf_key
An increasing number of browsers strip utm_ parameters from URLs,
making it impossible for us to tell where a donation comes from. We
are gradually migrating donate links to use wmf_ parameters instead.

Bug: T367361
Change-Id: I98c0b96b84250e94d62424a05ce2f0fea92fef22
2024-11-21 21:05:53 +00:00
Translation updater bot 526b55aee7
Localisation updates from https://translatewiki.net.
Change-Id: If85966bdb6e9a32f23594929958ba27c1ed0ad66
2024-11-20 08:29:28 +01:00
Translation updater bot 3db8e08bb6
Localisation updates from https://translatewiki.net.
Change-Id: I9c2703239e2da69a5118ca44632d11e34a87ace1
2024-11-19 08:20:55 +01:00
jenkins-bot 1085d02bbe Merge "Update Apache config syntax in .htaccess files" 2024-11-18 17:09:33 +00:00
Translation updater bot 6ca75ed138
Localisation updates from https://translatewiki.net.
Change-Id: I02d6e025c3f01ed4af4642fe048e76b1fdcedf18
2024-11-18 08:27:55 +01:00
Fomafix 2b5e3b1b80 Update Apache config syntax in .htaccess files
"Deny from all" is deprecated; the replacement syntax has been
available since Apache 2.4 (originally released in 2012).

See <https://httpd.apache.org/docs/2.4/howto/access.html>.

Bug: T360850
Change-Id: I6b641c76f3229b70b07422295623deb5612b8030
2024-11-17 21:53:55 +00:00
jenkins-bot 769cf7f841 Merge "Drop message box styling modules from page load" 2024-11-15 15:59:55 +00:00
Translation updater bot 3355cb01bf
Localisation updates from https://translatewiki.net.
Change-Id: I6711c003d24e1d8bdcd5f243111cc912645e5e62
2024-11-15 08:49:06 +01:00
Translation updater bot 8cf1fa480c
Localisation updates from https://translatewiki.net.
Change-Id: If933c588a626cd5cc376992ae8584dd4a25a652e
2024-11-14 08:22:23 +01:00
Anne Tomasevich 268af9f826 Increase bundlesize limits
Codex v1.16.0 added new tokens and styles, in particular CSS-only icons
for table sort and pagination and ~12 new tokens.

Bug: T379636
Change-Id: If0108af217294bafe356072c7b13da00b99619d8
2024-11-13 19:54:57 +00:00
Translation updater bot fe0dcd86b6
Localisation updates from https://translatewiki.net.
Change-Id: Iad5ae710b2974d82ef4e7dc21386139e08effacc
2024-11-13 08:28:51 +01:00
lmora 469c7ad6f2 Merge Icon Style mergeIconStyleModules
Merging skins.minerva.icons.wikimedia and
skins.minerva.mainMenu.icons modules into
skins.minerva.icons

Bug: T266361
Change-Id: I4095da5a0c6d2cff8ccd1ff1504a2d54635d1828
2024-11-12 22:30:10 +00:00
lmora 627db0c8f0 Add module to bundlesize.config
Adding skins.minerva.styles to bundlesize.config.json

Bug: T266361
Change-Id: I2ad07a0a8253a7b98651b64aca6a816a90a384e9
2024-11-12 18:23:04 +00:00
Translation updater bot 5598908998
Localisation updates from https://translatewiki.net.
Change-Id: Ibe5c0707464cd2d15b4e3c8e55876e758b24fc8a
2024-11-12 08:20:57 +01:00
Translation updater bot 129edaa721
Localisation updates from https://translatewiki.net.
Change-Id: I5adfb1b06b5806c7fbcb15498199281de4abbf62
2024-11-11 08:26:02 +01:00
jenkins-bot 88ed01f827 Merge "build: Updating mediawiki/mediawiki-codesniffer to 45.0.0" 2024-11-08 20:13:03 +00:00
Translation updater bot af8f4410a5
Localisation updates from https://translatewiki.net.
Change-Id: Ica2bd580c55bb0c12db03f6f683f1812ca2c4989
2024-11-08 08:31:54 +01:00
lmora ee47c3d0bb Create new skins.minerva.styles module
This merges the existing modules skins.minerva.base.styles
and skins.minerva.mainMenu.styles into a new module
skins.minerva.styles which is named consistently with
Vector's style module.

The old modules will be kept for caching reasons
for at least one, and possibly two deploy cycles,
after which we will continue this task.

Additional change:
* drop .minerva-icon--{name}-base20 and .minerva-icon--{name}-disabled variants
since these are no longer utilized and only serve cached HTML

Bug: T266361
Change-Id: Iccf415a22e9535603befae25b8cea467f9905437
2024-11-07 22:40:28 +00:00
Jon Robson c5b6709e8f Remove transparent PNG icon handling
The existing code prevents a black square from appearing on late loading icons.
The problem with it is that if loaded late, it can override actual icon definitions
and make the icon invisible.

Since this typically applies in the case of icons loaded via JavaScript
this shouldn't be a problem on mobile web

Bug: T266361
Change-Id: Icee701761e9db69a6bffb7af4f608ec26c30f2be
2024-11-07 17:43:54 +00:00
Jon Robson e76d536733 Drop message box styling modules from page load
The skins.minerva.messageBox.styles module is loaded on pages with
old revisions, but this message box is already being styled by another
module added by core.

Skins are not responsible for styling Codex. This is the responsibility
of the code that adds the message box to the page.

In addition to this we were loading another set of styles for message boxes
on skins.minerva.codex.styles

Bug: T375287
Change-Id: I0cf5dc6baf2e447b4944f04365addd614d59cfbe
2024-11-07 09:33:56 -08:00
jenkins-bot d2be5ce88f Merge "Remove redundant closure for all modules with packageFiles" 2024-11-07 17:17:55 +00:00
jenkins-bot 8b34648983 Merge "Fix notification z-index in Minerva" 2024-11-07 16:53:56 +00:00
Fomafix bc81b04ecd Remove redundant closure for all modules with packageFiles
Modules loaded with packageFiles are always executed in module scope
(with a closure), even in debug mode.

The behaviour of non-packageFiles debug mode is the only reason files
have closures.

https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript#Closure

Change-Id: I14ac680eb67d892618bbc13be9298ec9b8e0e2e9
2024-11-07 08:39:58 -08:00
Translation updater bot 02f9430b69
Localisation updates from https://translatewiki.net.
Change-Id: Iab1dfcf4b652da56b749a3ddc775fa2562d1eed8
2024-11-07 08:21:35 +01:00
Saint Johann 51ac315a57 Fix notification z-index in Minerva
If you do not match the default value (10000), overlays display under OOUI popups.

Bug: T356513
Change-Id: I31cbd6c68652b1cb34c8dc589b1d3bc2ba750328
2024-11-06 16:15:59 +00:00
Translation updater bot 140ff7b20e
Localisation updates from https://translatewiki.net.
Change-Id: I457792a16cfa657886c015d2c6cc1ba06f8dfe2f
2024-11-06 08:27:06 +01:00