Commit graph

3492 commits

Author SHA1 Message Date
Umherirrender 5bd834e0c7 build: Updating npm dependencies
* stylelint-config-wikimedia: 0.13.0 → 0.14.0

Run stylelint fix to fix the new stylelint rule

Change-Id: I7738ae421e84dd3171355391ebc82dd812b39ca4
2023-03-31 21:50:36 +02:00
Func a5b815903d Remove jquery.tablesorter modules form the dequeue list
Preload via Skin::getDefaultModules() should be allowed to avoid
the separate load request in a fresh environment.

Also, cleanup the code and comments, 'sortable' => true is the default,
no need to specify again.

Bug: T233340
Change-Id: Icc04d2cd2dc85efab64e5c8de68e606cfad61480
2023-03-31 17:31:27 +00:00
jenkins-bot cf5572aeb0 Merge "Remove storybook and update nvm version" 2023-03-31 17:16:54 +00:00
Jon Robson 0dbe68f974 Remove storybook and update nvm version
The Minerva storybook only has 2 stories which look broken.
Given we never actively began using it, I suggest we remove it
from the repo.

Bug: T310004
Change-Id: I42ce4248f376c683ddbbf3f1ec0e275906f6ab45
2023-03-31 09:39:56 -07:00
Translation updater bot 52d8702ee7 Localisation updates from https://translatewiki.net.
Change-Id: I62d72dfe3d443ae6fae817348646c65adaad1b09
2023-03-31 10:00:58 +02:00
Translation updater bot ae1d39ab07 Localisation updates from https://translatewiki.net.
Change-Id: Ia7ae9f321764bdc5958e607523ccf47c08b24e30
2023-03-30 09:04:58 +02:00
jenkins-bot 9ac43daf8e Merge "Remove redundant styling in Minerva" 2023-03-29 21:00:34 +00:00
Translation updater bot 23a5d3078c Localisation updates from https://translatewiki.net.
Change-Id: I5ac53a177086c0c8d7ad9ebcf324e22378c8e07e
2023-03-29 09:06:20 +02:00
suecarmol dfabe839fa Remove redundant styling in Minerva
Removed redundant CSS rules in Minerva. They were duplicated from core.

Bug: T325574
Depends-On: I66682ea78c796bd587e3fa002b4176cbdd1ccd0d
Change-Id: I89d66406cea65ff94819ac70c0ee54a7aa6bf6ba
2023-03-28 13:42:05 -06:00
Jon Robson 831e3d93b7 Drop dead code relating to Minerva-specific messages in overflow menu
Remove an unnecessary line as follow up to
Ifd10da690a33e7fc5790a7b444b62fbfd1b95d98

Change-Id: I6f279d116d94c9840d453a3b50ea8ac6b66e7433
2023-03-28 16:31:21 +00:00
Translation updater bot 7995bfd7ad Localisation updates from https://translatewiki.net.
Change-Id: I4c079c951c0869caff8f94e7321b1e7bfb7c3f7d
2023-03-28 08:42:56 +02:00
Translation updater bot 482d0d238e Localisation updates from https://translatewiki.net.
Change-Id: I381c439ac714804387b9bbabb30b8ade475557ba
2023-03-27 08:44:11 +02:00
jenkins-bot b09264b1f9 Merge "Make toolbox and actions menu more flexible to extension" 2023-03-24 16:25:02 +00:00
Translation updater bot 9714a824c0 Localisation updates from https://translatewiki.net.
Change-Id: I7f1f0a3e4d847302e5e44d7ecc1ea10336b7c07e
2023-03-24 09:32:40 +01:00
Jon Robson 666ebaae96 Make toolbox and actions menu more flexible to extension
Adjust the behaviour so the existence of an icon is all that is
needed to populate this menu. This will allow discussion tools
to extend the menu with their own item(s)

Depends-On: If2972da4456705f4a2f0cea90e73d0207a36a306
Depends-On: Ia9a9a08c68be652c16692db30e0efbe02fbfba0d
Depends-On: I2b85b9ac6997d07ed4ff995693f083d0ad1216dc
Bug: T332730
Change-Id: Ifd10da690a33e7fc5790a7b444b62fbfd1b95d98
2023-03-23 17:25:50 +00:00
Jon Robson a923e702d5 Enable core interface styles on mobile
Per ResourceLoaderSkinModule disabling these styles is not
recommended. Enabling them is also now needed to support IP masking.

Bug: T325768
Change-Id: Ia7f2eb6ba902ebfc9364147ec0692eaae124469e
2023-03-22 20:34:24 +00:00
Translation updater bot 8944fd90e6 Localisation updates from https://translatewiki.net.
Change-Id: I97d540112ae6023ec3998259aa4d9c94b052fd0c
2023-03-22 09:18:43 +01:00
jenkins-bot e1ebb4b196 Merge "Remove talk page tools" 2023-03-21 19:03:13 +00:00
Translation updater bot 8049f730a1 Localisation updates from https://translatewiki.net.
Change-Id: I13150c2938fffc4baebc67b027125e808692cbfd
2023-03-20 09:05:09 +01:00
jenkins-bot 06e046b03a Merge "Import Codex tokens into mediawiki.skin.variables.less" 2023-03-17 23:58:15 +00:00
jenkins-bot e5caabc136 Merge "Add languages to Minerva HTML" 2023-03-17 23:29:45 +00:00
Jon Robson b28d802693 Add languages to Minerva HTML
Bug: T331905
Change-Id: I55a25dfb8aba3d1b589a36ba4cba3bba0fe710a1
2023-03-17 20:37:32 +00:00
Roan Kattouw 221bfd981b Import Codex tokens into mediawiki.skin.variables.less
I04f9e48a1cf9dee915cf51e1e12b17ff0a595a06 provides neutral values for
the Codex tokens in mediawiki.skin.defaults.less in MW core, and expects
skins to import the appropriate Codex themes in their
mediawiki.skin.variables.less.

For MinervaNeue, import the Codex tokens for the “WikimediaUI” theme.
Remove variable assignments that are now redundant because their
values are the same as the Codex tokens.

After importing the Codex tokens, override some of their values where
necessary so that all variables' values stay the same(*). We should
consider whether to remove some of these overrides in a follow-up patch,
but keeping everything the same for now makes this change less
disruptive.

(*) As in the core change, one variable's value does change:
- @max-width-breakpoint-tablet from calc(719px) to 719px
This has no visual impact.

Bug: T325237
Depends-On: I3a8c89d8558022077be1f32c6a6f4733b6302948
Change-Id: Iafb3c60df0de87f7ba234b5972e75d85c046c4f9
2023-03-17 20:21:33 +00:00
Translation updater bot 4ed7594828 Localisation updates from https://translatewiki.net.
Change-Id: I29d5ddb80846ad3b9cde5ae8069897e2e157a67b
2023-03-17 09:25:37 +01:00
Translation updater bot c808b213b2 Localisation updates from https://translatewiki.net.
Change-Id: I2c10312bec06787a0d3f389ff4eb24f25c14762b
2023-03-15 08:52:25 +01:00
Bartosz Dziewoński 8c0f0c578e Remove talk page tools
Bug: T319145
Change-Id: Ib432564e1049f18334653e5eb3981f0f051582b3
2023-03-13 18:21:52 +00:00
Translation updater bot dd5b321384 Localisation updates from https://translatewiki.net.
Change-Id: I0ae9607969e9bc017b5850f6b85adf82679aaaa2
2023-03-13 08:41:58 +01:00
libraryupgrader 7e68633b54 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 41.0.0
* mediawiki/mediawiki-phan-config: 0.11.1 → 0.12.0

npm:
* grunt-banana-checker: 0.9.0 → 0.10.0
* decode-uri-component: 0.2.0 → 0.2.2
  * https://github.com/advisories/GHSA-w573-4hg7-7wgq
* deep-object-diff: 1.1.7 → 1.1.9
  * https://github.com/advisories/GHSA-653v-rqx9-j85p
* http-cache-semantics: 4.1.0 → 4.1.1
  * https://github.com/advisories/GHSA-rc47-6667-2j5j
* json5: 2.2.1 → 2.2.3
  * https://github.com/advisories/GHSA-9c47-m6qq-7p4h
  * https://github.com/advisories/GHSA-9c47-m6qq-7p4h
* terser: 4.8.0 → 4.8.1
  * https://github.com/advisories/GHSA-4wf5-vphf-c2xc
* ua-parser-js: 1.0.2 → 1.0.34
  * https://github.com/advisories/GHSA-fhg7-m89q-25r3

Change-Id: I9775b27f6006e48d928d852bf5c843132ceea867
2023-03-12 16:30:13 +00:00
Translation updater bot f375581c7e Localisation updates from https://translatewiki.net.
Change-Id: I847caa3ecc8c776ac8cd8443b7a3bb62bb8ebf2d
2023-03-09 09:09:05 +01:00
Translation updater bot cffd153285 Localisation updates from https://translatewiki.net.
Change-Id: Iba19abe390d56298a12888b71077892b02539eba
2023-03-08 08:44:56 +01:00
Translation updater bot 90dde88912 Localisation updates from https://translatewiki.net.
Change-Id: Ida3c7a7bfebd4c5cdba2a44771a466d42e6dae64
2023-03-06 08:36:24 +01:00
jenkins-bot f72f814619 Merge "build: Drop forked PHPUnit version for test:size convenience method" 2023-03-02 11:46:13 +00:00
Translation updater bot 34a965cba0 Localisation updates from https://translatewiki.net.
Change-Id: I3c8c82a755f162cd5e4834b44af11d88ac632e3f
2023-03-02 08:46:20 +01:00
Translation updater bot 8a504a8596 Localisation updates from https://translatewiki.net.
Change-Id: I6e97f213a154f82ea1410964bfe957b136c8b5f2
2023-03-01 08:26:50 +01:00
James D. Forrester c1f8df55c4 build: Drop forked PHPUnit version for test:size convenience method
This repo shouldn't have its own definition of what version of PHPUnit
the MediaWiki world is running.

This partially reverts I3a1f246c57f3021659c23299e151389c0ae77f87.

Change-Id: I2b52536be5c823d806fb089053f51a462449f1f8
2023-02-28 13:54:41 -05:00
Translation updater bot bfd3a7d392 Localisation updates from https://translatewiki.net.
Change-Id: I7a466f489d4962af3cc05342d334d3a327ad3fb0
2023-02-28 08:31:06 +01:00
jenkins-bot 274e32b2e4 Merge "Remove unused constructor params of MainMenuDirector" 2023-02-27 23:05:33 +00:00
Jon Robson 889543edcb Targets no longer needed
All match current default.

Bug: T328497
Change-Id: I9de21b59edc63bbe4b7d10891f469991dc5e80d4
2023-02-27 16:43:57 +00:00
Translation updater bot 6dfc0d767c Localisation updates from https://translatewiki.net.
Change-Id: I15fd3fc87412750b3541e85347c70131b63320dc
2023-02-27 08:30:16 +01:00
Func e1c51814ac Remove unused constructor params of MainMenuDirector
The code was simplified in commit 1f94dbb, and these params become
unused.

Change-Id: Ie830200dd5b5fa3472300a27abc77cf88a2be324
2023-02-26 20:30:07 +08:00
Translation updater bot fe8dbbb055 Localisation updates from https://translatewiki.net.
Change-Id: I1a9f661bd1bc2820c51490d1fd2466bdfbd824f1
2023-02-24 09:03:05 +01:00
Translation updater bot f12ac7cec7 Localisation updates from https://translatewiki.net.
Change-Id: I42249d7ed1af7e9a185f6badb1bf140eb3ea2f67
2023-02-20 09:49:51 +01:00
Translation updater bot ec7b33dd2d Localisation updates from https://translatewiki.net.
Change-Id: I120188159eb4e9ca9e3a856a35900c58cfab7636
2023-02-17 08:58:26 +01:00
jenkins-bot ed93523765 Merge "Remove unneeded CSS rule" 2023-02-16 23:12:29 +00:00
Translation updater bot 652c2fba0d Localisation updates from https://translatewiki.net.
Change-Id: Ief171badaaf63f91dbe40912fb5c8057409fbc06
2023-02-16 08:49:57 +01:00
jenkins-bot 395f4617fc Merge "Remove onBeforePageDisplay for Minerva" 2023-02-14 14:14:26 +00:00
Translation updater bot 14f2dda3a7 Localisation updates from https://translatewiki.net.
Change-Id: Ie8cdb330867271f59953a500f1fad81f24e59a6b
2023-02-14 08:33:26 +01:00
ksarabia 973c9486d7 Remove onBeforePageDisplay for Minerva
Removes onBeforePageDisplay hook. This is no longer needed because module style is added through Skin::getDefaultModules via SkinMinerva->getSkinStyles

Bug: T281421
Change-Id: Ie0610735c96476e66629815a6611d6b34356707c
2023-02-13 13:22:35 -06:00
Translation updater bot 71213ebf72 Localisation updates from https://translatewiki.net.
Change-Id: I302c42d03524abac72b248861cc681e30f6871de
2023-02-13 08:33:11 +01:00
Translation updater bot 175c01987a Localisation updates from https://translatewiki.net.
Change-Id: I439769d12ff733d4e1167b8c2aca152185b3549e
2023-02-10 08:46:17 +01:00