Commit graph

3108 commits

Author SHA1 Message Date
Lucas Werkmeister 300e32b4d8 Kick bundlesize out of package.json
This pulled in ancient versions of brotli-size (unlikely to be fixed:
https://github.com/siddharthkp/bundlesize/pull/370#issuecomment-1038968845)
which broke CI on Node 20. IIUC, it shouldn’t even be needed anymore now
that bundle size can be tested via BundleSizeTestBase instead; but in
any case this can be figured out later, *after* CI is restored for the
many extensions that pull in Popups.

Bug: T382192
Bug: T360590
Change-Id: I86413a7707cbd33fd473f8a1daf6c7866fbb473f
2024-12-16 10:58:18 +01:00
Translation updater bot 6a9d62aa72
Localisation updates from https://translatewiki.net.
Change-Id: Ie26ab2a4df467e1785846c524c5503adba41706b
2024-12-16 08:23:52 +01:00
Translation updater bot 1bf62c41e0
Localisation updates from https://translatewiki.net.
Change-Id: Ic23bb62f4dad803856b69218658a5640720d04e5
2024-12-04 08:22:59 +01:00
jenkins-bot e2fdc4b129 Merge "selenium: Replace Node.js Assert library with WebdriverIO Expect library" 2024-11-27 11:40:47 +00:00
Željko Filipin eb1ddbb132 selenium: Replace Node.js Assert library with WebdriverIO Expect library
Assertions from Expect library are more readable that assertions from Assert library.

Bug: T325740
Change-Id: I9224c52975919a512ac3b0342bb3805edecec6b3
2024-11-26 18:05:18 +01:00
jenkins-bot 9277babd64 Merge "Stop using deprecated mediawiki.Uri module" 2024-11-22 22:28:34 +00:00
Jon Robson 7a9e8fd622 Stop using deprecated mediawiki.Uri module
Use native URI instead.

Bug: T380079
Change-Id: I7648562c0262076f6dc06f619ef39c106ea7b30f
2024-11-21 10:12:48 -08:00
Fomafix 7e4a6f6176 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: I42cea285b55efdce283568720a257d9610cdd41d
2024-11-17 21:58:32 +00:00
jenkins-bot e91ccd3aaf Merge "Documentation: Update README instructions for debugging" 2024-11-14 13:59:15 +00:00
Jon Robson b40a6b859d Documentation: Update README instructions for debugging
Change-Id: Iacd45a5849f4f22de229670bce43f12e7041511e
2024-11-13 15:04:22 -08:00
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