Commit graph

3098 commits

Author SHA1 Message Date
jenkins-bot a7263c6219 Merge "Prevent popups text from being cut off and make bottom spacing for vertical page previews consistent" 2023-09-07 16:01:49 +00:00
Translation updater bot 19aa1cd82c Localisation updates from https://translatewiki.net.
Change-Id: Ide484cc409bf445c28714350b3273fb15b444215
2023-09-07 11:13:03 +02:00
bwang 821002fdc8 Prevent popups text from being cut off and make bottom spacing for vertical page previews consistent
Bug: T330570
Change-Id: Iab91d4a99df3d5ae23f36b7e47da0e96eb0e189d
2023-09-01 13:49:03 -05:00
Translation updater bot b0d1ce6d75 Localisation updates from https://translatewiki.net.
Change-Id: Ic153b0b3b6e503ed1a1ec8cbd30b9707e5a44e96
2023-09-01 09:03:22 +02:00
Translation updater bot fd40fa4e4d Localisation updates from https://translatewiki.net.
Change-Id: I2d6faf1be13ace5b5c76fa0ebc2dc78100d4895c
2023-08-29 08:28:59 +02:00
Translation updater bot 49f48cddbd Localisation updates from https://translatewiki.net.
Change-Id: I3f20611d17aa99629746d57845fe68f592a58882
2023-08-28 09:30:42 +02:00
Translation updater bot 9c30ebe7d2 Localisation updates from https://translatewiki.net.
Change-Id: I5da99b6cde2716c19bd8e4002a01ef841698cd04
2023-08-23 08:40:07 +02:00
jenkins-bot 7e88a55e10 Merge "Replace mediawiki.ui.icon with Codex, update preview markup and styles to be more consistent" 2023-08-21 20:09:27 +00:00
bwang b78cfe50c9 Replace mediawiki.ui.icon with Codex, update preview markup and styles to be more consistent
- Removes .mw-ui-icon and .mw-ui-icon-element
- Aligns markup/styles between generic and disambiguation previews
- Update padding for generic and disambiguation previews to be the same as other popups, results in minor visual changes

Bug: T341899
Change-Id: I9a58fc6a93160d07452ea6f903e1797dd9421d92
2023-08-21 19:53:51 +00:00
Translation updater bot f073d69f9e Localisation updates from https://translatewiki.net.
Change-Id: Ifd416dbb0010efd56d8b43bf815950d6ea1393c0
2023-08-21 08:48:22 +02:00
gerritbot 2da869fa58 Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: Ia3b739ceacc035d64ec6d13de9d3e6de102dbb20
2023-08-19 12:22:49 +00:00
James D. Forrester 30b5e96d53 build: Update MediaWiki requirement to 1.41
All extensions in Wikimedia production are expected to track MediaWiki's release directly.

Change-Id: I96d945aece8546af7037bd0758224f3fa67f6b11
2023-08-19 14:00:56 +08:00
Translation updater bot fc89fbd0ff Localisation updates from https://translatewiki.net.
Change-Id: Id86ae6972f8efee85acf05aa01b865820f739d97
2023-08-15 08:26:25 +02:00
Translation updater bot 81b0668269 Localisation updates from https://translatewiki.net.
Change-Id: Ia268465b57fffedd58c326580f6e83986f1003b7
2023-08-11 09:01:33 +02:00
Umherirrender 97b9e453e2 build: Use quotes for paths in package.json
To make it working on Windows

Change-Id: I432091107356682f4d6bc8613922b908a6c2e6ea
2023-08-10 08:47:16 +00:00
jenkins-bot 0c1fc73908 Merge "Avoid using TestUser in non-Database tests" 2023-08-10 08:45:46 +00:00
Translation updater bot 39db791d9d Localisation updates from https://translatewiki.net.
Change-Id: I4856badc1a72f1251fb64bf63bb1521c818096b6
2023-08-10 09:41:49 +02:00
Daimona Eaytoy c581aab15e Avoid using TestUser in non-Database tests
TestUser is expensive and requires DB access because it creates the user
in the test database. That is not needed here. For these tests, a mock
is enough.

Also make PopupsGadgetsIntegrationTest an integration test, to fix a
local failure and in view of I0a04c82250582fed7a66c1e10868d9b4f3823a28.
If a test is testing the integration of X with Y, guess what, it's an
integration test ;-)

Change-Id: Ie8b3376ce97b9ddc67746f7754b92628c5ab9470
2023-08-10 00:08:49 +02:00
Translation updater bot 72121abf87 Localisation updates from https://translatewiki.net.
Change-Id: Iccca55542a0c44dfeffbaf7538461f80597a2863
2023-08-09 09:15:39 +02:00
Translation updater bot f19d84e2dc Localisation updates from https://translatewiki.net.
Change-Id: Iff9d942f6bdbba00ec4c94a3d9fb74b426533041
2023-08-08 09:01:29 +02:00
Translation updater bot c4079953a1 Localisation updates from https://translatewiki.net.
Change-Id: I3054337ad546420dcee00151e446a7f84a7d0291
2023-08-07 08:39:24 +02:00
Translation updater bot cb1642c6d8 Localisation updates from https://translatewiki.net.
Change-Id: Ifb65d596c47c0b7b3f18e6a25aeff601855ef1b8
2023-08-03 08:48:59 +02:00
Translation updater bot ef5ec5a723 Localisation updates from https://translatewiki.net.
Change-Id: I3218790f653b2a2c04ec78ea3739c81f0b1ab3fa
2023-07-31 09:00:19 +02:00
jenkins-bot 5c379bff07 Merge "Remove unnecessary codex button styles" 2023-07-27 18:36:17 +00:00
jenkins-bot 7e1e93c2b1 Merge "Scope rule to Popups" 2023-07-27 17:21:42 +00:00
Jon Robson 58156d2aa7 Scope rule to Popups
This rule is clashing with some special behaviour in Minerva
relating to labels being shown to desktop users

Follow up to I86972322ae34f1d1df8d79c66daa9e34091f9dd3

Bug: T319260
Bug: T340262
Change-Id: If6f8ee2793726306675a7e6c7de0495065644394
2023-07-27 12:13:41 -05:00
jenkins-bot 54191fe9a0 Merge "Model: Make dwell delay part of model and registration" 2023-07-27 13:33:10 +00:00
Translation updater bot ebb236113b Localisation updates from https://translatewiki.net.
Change-Id: I3939bb4281ea6cf56f6cc9987d29ed9e073afeea
2023-07-27 10:49:07 +02:00
Jon Robson 9aa07d0809 Model: Make dwell delay part of model and registration
Dwell delay varies between popup type so should be part of the
definition. Since this is needed by reference tooltips we should
make this part of the Page preview model. This will allow us to
separate concerns of the architecture and reference  tooltips
for better maintenance between WMDE and web team.

Bug: T326692
Change-Id: Ia021c8b90fd69d70c4b33744520bb963a65db036
2023-07-26 17:42:56 -07:00
bwang 1f5e249f96 Remove unnecessary codex button styles
Change-Id: Ic58d143af75e62b26c25904212aa07e3cdd1519e
2023-07-26 15:52:28 -05:00
Translation updater bot 970e7112a5 Localisation updates from https://translatewiki.net.
Change-Id: I935ec80d45477b42506a17f37eb384eeef2d1934
2023-07-24 09:39:21 +02:00
jenkins-bot 5edfaad0f0 Merge "Don't log for documentElement (nodeType 9)" 2023-07-18 21:37:44 +00:00
Jon Robson 5af31b5524 Don't log for documentElement (nodeType 9)
Follow up to Ia011aaf9f8b5b932695da3311f849682c0105cfe

Bug: T340081
Change-Id: Ibff26eb90fd650532a7e23ac16232366676c0d15
2023-07-18 20:34:47 +00:00
jenkins-bot 6b153fcc44 Merge "Add additional debugging closest bug" 2023-07-18 14:47:10 +00:00
WMDE-Fisch c2413c858b selenium: Refactor WebdriverIO tests from sync to async mode
I also removed the bool on the shouldUseReferencePopupsBetaFeature
method. It was always just used with `true`

Bug: T293072
Change-Id: I1a2d6f912fcac2ac77539581897e0feab489edf0
2023-07-18 09:34:47 +02:00
Jon Robson a80d2b1f56 Add additional debugging closest bug
Use the topic "error.web-team" - error prefix necessary
for it to be treated as an error, and 'web-team' moves
it off main channel.

Error logs tagName and nodeType which should be sufficient
for us to understand this issue. Can expand with other
information later if need be. Cannot add to stack trace
as any non-standard stack trace would be dropped by the intake
code.

Bug: T340081
Change-Id: Ia011aaf9f8b5b932695da3311f849682c0105cfe
2023-07-17 14:54:12 -07:00
Translation updater bot 6ee797e897 Localisation updates from https://translatewiki.net.
Change-Id: Ic46bf1de6d9ef6d373c33b50d76609765d347a50
2023-07-17 10:18:29 +02:00
Jon Robson 36101004e7 Browser tests: Skip another test
Bug: T341763
Change-Id: I37d8c62c1e10160bc27ed9135fd3765cccf77be5
2023-07-14 09:57:28 -07:00
Jon Robson 3d627fe731 Skip flakey Selenium test for now
This test is failing regularly on the daily build. I manually
checked and could see no problems with the functionality:
https://integration.wikimedia.org/ci/job/selenium-daily-beta-Popups/

Bug: T341763
Change-Id: Id3a3a1c16c400796467496d8934fdff7a14be9fb
2023-07-13 15:15:34 +00:00
bwang 6b659443b5 Update popups to use codex buttons over mediawiki.ui.buttons
- Provides missing accessible label for the settings button

Bug: T340256
Change-Id: I86972322ae34f1d1df8d79c66daa9e34091f9dd3
2023-07-10 16:03:36 -05:00
Moh'd Khier Abualruz 67a718a5be TypeError: n.closest is not a function
- check if the element has the function in it before using it
- implementing a native code to get the same result based on polyfill examples
- fix Coverage Block

Bug: T340081
Change-Id: I1c2ce46a88cde6323ab862964062dd722ff5edcb
2023-07-10 11:48:40 -07:00
jenkins-bot b54ba6d10a Merge "When extract is a string treat it as HTML" 2023-07-10 18:40:04 +00:00
Translation updater bot 36308439b3 Localisation updates from https://translatewiki.net.
Change-Id: I59f5bb86e3dd34d20350c41328994cad888ceb11
2023-07-10 09:38:46 +02:00
Jon Robson 9ee816a919 When extract is a string treat it as HTML
According to the docs:
The Element.append() method inserts a set of Node objects or string
objects after the last child of the Element.
String objects are inserted as equivalent Text nodes.

When given a string we want to treat these as HTML

Also fix the storybook which hinted at this being a problem
(incorrectly fixed in 504eefcc1)

Bug: T341318
Change-Id: I415c9821a6a37b45cf0f8a65f58a41bc7d0a042d
2023-07-07 10:09:28 -07:00
jenkins-bot efd0a0c91e Merge "Fix storybook stories" 2023-07-03 14:00:05 +00:00
Translation updater bot 6a12bd85fc Localisation updates from https://translatewiki.net.
Change-Id: I5027df69f8cd3fe691602f7dd3438ee8eb9fd435
2023-07-03 10:16:04 +02:00
Jon Robson 504eefcc18 Fix storybook stories
This was broken when we switched from jQuery to native JavaScript

Change-Id: I318a51a7d8836370f795b1008b8a89b6ca0edb35
2023-06-30 09:41:53 -07:00
WMDE-Fisch 606475f80e selenium: run tests concurrently
Includes a bit untangling of the reference and page previews tests
and simplifies the setup.

Bug: T337862
Change-Id: Ia92cccb90fd79d10c5b33744520cb963a65db046
2023-06-30 08:52:47 +02:00
WMDE-Fisch e44c406ba2 Import theme-wikimedia-ui.less for storybook build
Not sure when this should have been added but the test were
failing because of this missing ressource.

Change-Id: I0267aae18d0f33ac3d607fb0b6013f108f2e5d83
2023-06-30 08:22:47 +02:00
Translation updater bot e8001c0c1a Localisation updates from https://translatewiki.net.
Change-Id: Ie9626aee24a078b648d78b77137e9846e79e9ac7
2023-06-26 12:40:35 +02:00