Commit graph

3828 commits

Author SHA1 Message Date
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
Translation updater bot 993c6fa242 Localisation updates from https://translatewiki.net.
Change-Id: Ifb12ca6f5b0fa477ec0e69fdf55635d4d7d7a11d
2023-02-09 10:15:00 +01:00
Bartosz Dziewoński bf9f3972d8 Remove unneeded CSS rule
This has no effect. I don't know why I added it in 2690ea3a9.

Change-Id: I078267dfef5fbe66abd6f632fe644e34769d5f1e
2023-02-08 20:36:58 +01:00
jenkins-bot a8135a8cff Merge "Remove the Group::insertAfter() function in Minerva" 2023-02-08 17:12:24 +00:00
ksarabia 23aa23b68b Remove the Group::insertAfter() function in Minerva
Bug: T311895
Change-Id: Ice77bac6fb6ba948f3054c18d558f79ffd46506d
2023-02-08 16:52:42 +00:00
Translation updater bot 707b2c0510 Localisation updates from https://translatewiki.net.
Change-Id: Ieacb259442626d983bf004b98fed944805d73fb6
2023-02-08 08:42:04 +01:00
jenkins-bot b35c9fb81a Merge "Make figure styling more specific to thumbs" 2023-02-07 15:32:39 +00:00
Translation updater bot fd1204cc07 Localisation updates from https://translatewiki.net.
Change-Id: Ic594ff2a9d6e744ddef78aaa6f276477721e1aec
2023-02-06 08:48:53 +01:00
Arlo Breault 0cd677dcec Make figure styling more specific to thumbs
This was requested to free up figure for proposed HTML format
change to galleries.

Bug: T268250
Change-Id: Id1ceac08a46fa1faeb9ac976a53da06e4f8f8c77
2023-02-03 21:45:25 +00:00
jenkins-bot 88240500a2 Merge "Use an attribute for disabling search input autocapitalization" 2023-02-02 16:36:52 +00:00
Translation updater bot f5b4993f71 Localisation updates from https://translatewiki.net.
Change-Id: I981b6ed93ea7feba852a437bb22401c8c0abc4c4
2023-02-01 09:20:30 +01:00
EpicPupper 7da801c69f Use an attribute for disabling search input autocapitalization
Bug: T328390
Change-Id: Ic64fb9864870f62a85e98d0a024570e00240ef6d
2023-01-31 17:55:31 +00:00
Translation updater bot 4ab2b26900 Localisation updates from https://translatewiki.net.
Change-Id: I992968ea8223e7773cba3db69d3ab7d6ac8fc7bb
2023-01-30 08:32:58 +01:00
jenkins-bot 3026fed182 Merge "Don't show download button if there's no window.print" 2023-01-26 18:09:00 +00:00
Translation updater bot d9594a899b Localisation updates from https://translatewiki.net.
Change-Id: Icb8cfe51a3966c94cf5141dfcc710c6b9fac7caf
2023-01-26 08:56:14 +01:00