Commit graph

3098 commits

Author SHA1 Message Date
Umherirrender f6303d4315 build: Updating mediawiki/mediawiki-codesniffer to 45.0.0
Change-Id: Iab3636d2b551283278d2ee5358cf35822472204b
2024-11-02 17:32:07 +01:00
lmora ab5c9fe83a Add background color for images in dark mode
Adding a grey background color in dark mode so transparent images are readable

Bug: T375045

Change-Id: I168cd8b48359e59acb038a6909b77f6c38600c79
2024-10-30 21:44:02 +00:00
Translation updater bot 8ae9a02b98
Localisation updates from https://translatewiki.net.
Change-Id: I59a1d93bc1824ea95c3fdd5bf82197aa4f44255e
2024-10-25 09:51:48 +02:00
Umherirrender 7b7063ed48 Use namespaced ExtensionRegistry class
Change-Id: I3918af0ae84c9304e64c64f800e28b51e59b1136
2024-10-20 11:15:48 +02:00
jenkins-bot a5c01f6813 Merge "eslint: Enforce no-var" 2024-10-15 19:13:04 +00:00
Umherirrender 58cdc04ac0 build: Upgrade stylelint-config-wikimedia to 0.17.2
Uninstall explicit postcss-less as the version is managed by
stylelint-config-wikimedia

Change-Id: Iabbb4c86c4f73249770820caf0ca086bd8b80c6f
2024-10-12 14:12:21 +02:00
jenkins-bot 6a850ec1ea Merge "build: Remove explicit install of eslint-plugin-no-jquery package" 2024-10-10 21:43:09 +00:00
WMDE-Fisch 0f9e9522c1 Remove ReferencePreviews EventLogging schema from Popups
The usage moved to the Cite extension some time ago.

Bug: T355194
Depends-On: Ie2f161a9be19734f540935c6b5c0de95002f065d
Change-Id: Ie1911fbd944f3011f7ebc58b3d470ecf765d6a62
2024-10-10 22:11:01 +02:00
Umherirrender 12e432bbeb build: Remove explicit install of eslint-plugin-no-jquery package
The version is managed by eslint-config-wikimedia package

Change-Id: Ic686730cdb033740078add39a5cf38bc0801e8dc
2024-10-10 21:01:46 +02:00
jenkins-bot bb61d544f2 Merge "Remove obsolete ReferenceTooltips gadget checks" 2024-10-09 19:38:54 +00:00
WMDE-Fisch 14aff8189c Remove obsolete ReferenceTooltips gadget checks
The checks are part of the Cite extension now and have no relevance
for page previews. The config is also obsolete by now due to the
copy in Cite and a mapping in mediawiki-config.

See Ie6e8bc706235724494036c7f0d873f5c996c46e6 and
Ia028c41f8aaa1c522dfc7c372e1ce51e40933a5e for reference.

Bug: T362771
Change-Id: I51311a099b21c3c1af39bbfbde1d2c2044958421
2024-10-07 20:03:03 +02:00
WMDE-Fisch 5db2622939 Remove test and doc leftovers from ReferencePreviews
The code for that is implemented in the Cite extension now.

Bug: T355194
Change-Id: Id0bb508e6a7dbc56ef5e5717aa84eb7f63285c02
2024-10-07 19:28:53 +02:00
Erik Bernhardson a3af7c91b5 Record canonical special page names in virtual pageviews
When analyzing event data special pages are a bit unique. They
are the same across all wikis, but the name is typically
localized to the wiki itself. The localization is relatively
constant, but can change in ways that the canonical special page
names do not. Simplify analyzing virtualpageviews from special
pages by recording the canonical name of the page, rather than
the localized name.

Changes the VirtualPageViews event submission to provide
wgCanonicalSpecialPageName when appropriate.

Bug: T375387
Change-Id: Ia344d8d60058082fdf0715281d732e5c1f90a38a
2024-09-30 12:18:53 -07:00
Ed Sanders 0fd18bb233 eslint: Enforce no-var
Change-Id: I9853fde20dcd316d43f28b906bc501ca6329d138
2024-09-26 13:55:46 +01:00
Translation updater bot d6b589f50b
Localisation updates from https://translatewiki.net.
Change-Id: Ie0b6fc0bd826be0ed9ac5ec57307add227e7983e
2024-09-25 09:18:30 +02:00
bwang d9fff48280 Fix fade indicators when blockquotes are in popups
Bug: T375316
Change-Id: I738e07431de05564b1626c8950228c266713c642
2024-09-24 13:57:21 -05:00
Jon Robson fef3740fa5 Clean up preferences code
- Reference preview preferences should be defined inside Cite
- Don't use constants for seldom used strings to make the code
more readable.
- The lightweght ext.popups module is now always sent to the user
This was a micro-optimization and not necessary to do

Bug: T365538
Depends-On: Ic479c0a381ee16d1abcecfdd5ee48f0afccc1d3f
Change-Id: Ie8fa1672b9fdbb1c6b840dde5c9060a20a625adb
2024-09-20 19:06:38 +00:00
Translation updater bot 348697630e
Localisation updates from https://translatewiki.net.
Change-Id: Ia4356f0e4a168e586710a13af977fb35c7267cf3
2024-09-20 09:24:03 +02:00
Jon Robson 9b9a7ff739 Monitor bundle size of module added on page load
Bug: T360590
Change-Id: Icdd1e38fc6d4015a37a3adccdf6b18ee0c54b687
2024-09-17 20:51:33 +00:00
jenkins-bot e358e38591 Merge "Use UserFactory::newAnonymous instead of deprecated User::newFromId" 2024-09-09 20:36:59 +00:00
Umherirrender 67dc28dc73 build: Updating grunt-banana-checker to 0.13.0
Change-Id: I21f18ad0db53218e8719e701d6759c86672a083d
2024-09-09 21:29:05 +02:00
Fomafix fb573fdb2b Use UserFactory::newAnonymous instead of deprecated User::newFromId
Change-Id: I4ae99f1118ce23708a07b0dcc69ddba248dafb9f
2024-09-07 12:51:06 +00:00
Adam Wight 7a79602208 [cleanup] Remove unused configuration $wgPopupsReferencePreviews
This configuration is always enabled, so remaining conditions are dead
code.  Removing the flag in this code base simplifies moving the
remaining Reference Previews settings in a later patch.

Bug: T363162
Change-Id: I2b952f4203b6ffa040daad2aa288eb53d2ffd3b2
2024-09-05 20:26:31 +00:00
Translation updater bot 5868e55e1e
Localisation updates from https://translatewiki.net.
Change-Id: I173bd268f405f2d3d6d870968b1ad78422581ce5
2024-08-28 09:39:44 +02:00
James D. Forrester 6d643cd85a build: Update MediaWiki requirement to 1.43
All extensions in Wikimedia production are expected to track MediaWiki's release directly.

Change-Id: Ib2c344fe7beb7190f10ff3e1d2d5dcb22a2b2b62
2024-08-22 18:03:08 -04:00
Translation updater bot 28ed53768b
Localisation updates from https://translatewiki.net.
Change-Id: Iac01ff48324bf2bfaf61eae36f0087bb02dc279e
2024-08-19 09:24:33 +02:00
Translation updater bot 4617db582d
Localisation updates from https://translatewiki.net.
Change-Id: I849ccedbc958f21776f1c270106543e48d4d411a
2024-08-16 09:29:10 +02:00
Umherirrender 4f129f404f build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 43.0.0 → 44.0.0
* mediawiki/minus-x: 1.1.1 → 1.1.3
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

Change-Id: I803e7be965ca8759873ed48553d1a5eb7d42fc44
2024-08-15 22:16:19 +02:00
Translation updater bot 37f52b7d8d
Localisation updates from https://translatewiki.net.
Change-Id: Ia78dfa0ca8ba840aefa9ba7199ff371aa42e3c0a
2024-08-14 09:23:27 +02:00
Translation updater bot 2d7cce789a
Localisation updates from https://translatewiki.net.
Change-Id: I1ce378eef68abd8ae01b31073224a2838969e624
2024-08-13 09:51:53 +02:00
jenkins-bot 712a4da62c Merge "Prevent dark-mode styles from affecting print media" 2024-08-12 11:45:25 +00:00
Translation updater bot 9d34949bd1
Localisation updates from https://translatewiki.net.
Change-Id: I397fff83194ddea78a63076024cf5fc77f6aa4be
2024-08-09 09:36:40 +02:00
Jdrewniak b7cbd0dd4f Prevent dark-mode styles from affecting print media
Prevents dark-mode styles from affecting print media
by adding `@media screen` to dark-mode related styles.

Bug: T371331
Change-Id: Ide900a3e24a03d83f8e4ce51f89655cf5bb7e9b8
2024-08-08 17:24:33 -04:00
jenkins-bot 280e9fb6a7 Merge "Migrate bare division math to parens division" 2024-08-07 19:13:15 +00:00
Translation updater bot a9fc542699
Localisation updates from https://translatewiki.net.
Change-Id: I0a516f8bc7a2d066438796284e39492bb1bd18e0
2024-08-06 09:48:25 +02:00
bwang bfcb00583a Migrate bare division math to parens division
Bug: T369669
Change-Id: I69b4d9d13e5fef0c4030f27434ba2f60ba7e71ab
2024-08-05 11:17:32 -05:00
Translation updater bot 61d42c4e86
Localisation updates from https://translatewiki.net.
Change-Id: Idc7c4af0dd92dbe833064822a3aeedb6f7b602e6
2024-08-05 09:25:39 +02:00
Translation updater bot 13c328c6b0
Localisation updates from https://translatewiki.net.
Change-Id: I97b4e72b94adcc76c4e7ce7ff8909837fdf49b1e
2024-08-01 09:18:48 +02:00
Fomafix bdf44ea4f7 Use overrideConfigValue/overrideConfigValues instead of setMwGlobals
Also use MainConfigNames.

Change-Id: I8014b6ca5fdf79c98da05981967d98bbbbaeef98
2024-07-29 20:24:01 +00:00
Translation updater bot b99d4d3773
Localisation updates from https://translatewiki.net.
Change-Id: I46d4a7c1b5323bc9a577329955dc2fcc8e4949b4
2024-07-29 09:28:08 +02:00
Translation updater bot ebd3437fc6
Localisation updates from https://translatewiki.net.
Change-Id: If4573fed7625025b54a55e9a6ae9671fec8ef64d
2024-07-25 09:19:47 +02:00
jenkins-bot a5ab05be4e Merge "Directly access the properties with non-static functions" 2024-07-21 09:38:02 +00:00
jenkins-bot 319d1a14f7 Merge "instrumentation: Avoid user.sessionId() if possible, since it sets a cookie" 2024-07-18 13:47:53 +00:00
jenkins-bot 191fffbb5f Merge "actions: Remove unused sessionToken: user.sessionId()" 2024-07-18 13:47:50 +00:00
Translation updater bot 6b74af76c1
Localisation updates from https://translatewiki.net.
Change-Id: If0b6d8b537ebcd24adf6f2801fea1b172f0bc502
2024-07-15 09:24:38 +02:00
Bartosz Dziewoński 4ff08bd2fb instrumentation: Avoid user.sessionId() if possible, since it sets a cookie
Bug: T289780
Change-Id: I8d80f4e02c6b59087c88d42be671fa81b4d37ba8
2024-07-13 01:58:43 +02:00
Bartosz Dziewoński 0a3665e5f0 actions: Remove unused sessionToken: user.sessionId()
Follow-up to 8f5000f346.

Bug: T289780
Change-Id: Id01b1901428dada420296cd599058092834143a9
2024-07-13 01:36:07 +02:00
jenkins-bot d9fa26b4bc Merge "Use service 'GadgetsRepo' instead of deprecated GadgetRepo::singleton()" 2024-07-03 16:08:28 +00:00
jenkins-bot e4d39c1af9 Merge "PopupsContextTestWrapper: Remove null check for $gadgetsIntegration" 2024-07-03 16:08:27 +00:00
Fomafix 7e3a444a99 Use service 'GadgetsRepo' instead of deprecated GadgetRepo::singleton()
The service is optional to support with and without extension Gadgets.

Change-Id: I41d1516e185ceb5c49b38361360a3adad1a333de
2024-07-03 07:19:28 +00:00