Commit graph

4500 commits

Author SHA1 Message Date
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
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
Sjoerd de Bruin e2d856355d Move the tablet thumb styles inside the content block so they get the correct priority when the page is loaded
Bug: T378874
Change-Id: Ie2ecdb8565f4d55175295f21abf75467edc62d1a
2024-11-04 17:39:51 +00:00
Translation updater bot 0d3cc66b95
Localisation updates from https://translatewiki.net.
Change-Id: Ic886c293ea08102477809353940c9684dd9e163e
2024-11-04 08:25:48 +01:00
libraryupgrader b3ca8c7ed9 build: Updating mediawiki/mediawiki-codesniffer to 45.0.0
Change-Id: I9bca0b60a2465afaeb6e07bc443e7bdbf9111524
2024-11-03 13:04:40 +00:00
Translation updater bot ee93dbba61
Localisation updates from https://translatewiki.net.
Change-Id: I66114f088d21a2e25026edaf517c25929bc1b40c
2024-11-01 08:39:08 +01:00
jenkins-bot e6fbd13fcc Merge "Revert "Use array instead of string for class list"" 2024-10-30 17:26:35 +00:00
Ammarpad 7ca5240292 Revert "Use array instead of string for class list"
This reverts commit c12f61709b.

Reason for revert: Does not work and broke the train

Bug: T378531
Change-Id: I3a91169276b8ebffbdf409aac4e3731298047196
2024-10-30 12:30:08 +00:00
jenkins-bot e5a54f9288 Merge "Use explicit nullable type on parameter arguments" 2024-10-29 18:15:45 +00:00
Translation updater bot c0c2ff2789
Localisation updates from https://translatewiki.net.
Change-Id: Icebd40c06cc4d168b86e4d0b200ad877ca6b3a89
2024-10-29 08:45:07 +01:00
Reedy ae6dc84fed Use explicit nullable type on parameter arguments
Bug: T376276
Change-Id: I646483668294133240d43a34ce74b6ca1060f848
2024-10-28 22:23:56 +00:00
jenkins-bot ecd660e0f7 Merge "Use array instead of string for class list" 2024-10-28 18:20:07 +00:00
jenkins-bot 3f733beaad Merge "Use PHP type hints in PHPUnit tests" 2024-10-28 18:20:06 +00:00