Commit graph

4488 commits

Author SHA1 Message Date
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
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
Ammarpad 6a655ccb2b main menu: show login link (for anon) on private wikis
Bug: T376975
Change-Id: I6e40fa531b98a00fc4bb69446d45db3a26258c06
2024-10-28 16:34:22 +00:00
Translation updater bot c4f9350a46
Localisation updates from https://translatewiki.net.
Change-Id: I81be52701f1e87a23591e4c6a8c31e708b62f9f1
2024-10-28 08:27:15 +01:00
jenkins-bot 6deafc4d64 Merge "Use '' instead of false for parameter $className" 2024-10-28 06:29:16 +00:00
jenkins-bot 67136c0350 Merge "Partial Revert "Make sure contributor's name is on its line"" 2024-10-28 05:04:50 +00:00
Jdlrobson b130c93b8f Partial Revert "Make sure contributor's name is on its line"
This partially reverts commit f8d410fb98.
and replaces the selector with a selector that considers spans which have link inside them. This ensures the whole row remains clickable
and takes the user to the diff.

Reason for revert: Caused
https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Recent_changes_on_mobile

Bug: T378142
Change-Id: Iff944817d9fe1664a60ec30413c159247706a5e7
2024-10-27 21:35:04 +00:00
Translation updater bot 3bb2ed1c7c
Localisation updates from https://translatewiki.net.
Change-Id: I8728358c51baf5ec9329804f9e4dbf2f7991a8a6
2024-10-25 09:58:46 +02:00
matr1x-101 29219736a6 Allow IP information popup to overlay on top of "compare selected versions" box
Set bottom "compare selected versions" box to use z-index zero so IP information popup goes over "compare selected versions" box

Bug: T304944
Change-Id: Id78e643f73dbba740501c67912c869621786a4b3
2024-10-23 19:56:18 +00:00
Fomafix 9e4d83ec4f Use '' instead of false for parameter $className
SingleMenuEntry expects string|array for the parameter $className.
Currently the ltrim converts a false to a ''.

Change-Id: Icac8d41c01331cf7550e3592ee0366bdc561b547
2024-10-22 09:36:35 +00:00
Translation updater bot f20a565158
Localisation updates from https://translatewiki.net.
Change-Id: I9eca66886394b2e125f74df1479a347a7e3bfbf2
2024-10-22 09:31:20 +02:00
Ebrahim Byagowi f8d410fb98 Make sure contributor's name is on its line
There was an overlooked usecase in T377503 which regressed
by change of hidden characters in the core, this change
makes it possible to remove the last hidden character
there in I3f08595d654fbfe18627b44839eaa5c9fd38274c
and fix that overlooked usecase.

Bug: T377503
Change-Id: Ifb458f80f08d9c6f717f4c035c7d5120cccb04cf
2024-10-21 23:26:41 +00:00
Fomafix c12f61709b Use array instead of string for class list
This change avoids manual handling of the class separator spaces.
The rendered HTML doesn't contain multiple spaces in sequence anymore.

Change-Id: I1614281c704558fe2536951975a860ee406d9079
2024-10-21 21:28:20 +00:00
Fomafix 229a610ae7 Use PHP type hints in PHPUnit tests
* Add PHP type hints to private functions.
* Remove @param and @return if redundant to type declaration.

Change-Id: I40df9579af92ad1af820d3706a8cd907e9950ce2
2024-10-21 19:20:00 +00:00