Commit graph

3493 commits

Author SHA1 Message Date
Translation updater bot 02af2f559c Localisation updates from https://translatewiki.net.
Change-Id: I5b3d8965f14c90c7bfac7e5e64df0d8f9616a9a5
2023-01-13 08:54:55 +01:00
Translation updater bot a96f9607a2 Localisation updates from https://translatewiki.net.
Change-Id: Id86ae61b44b20543f43b930a9a788db3c4163e7d
2023-01-12 08:41:44 +01:00
jenkins-bot 63e6f270f3 Merge "Enable visual enhancements on all talk namespaces" 2023-01-12 00:25:07 +00:00
Ed Sanders 5c5073b5ba Enable visual enhancements on all talk namespaces
Bug: T325417
Change-Id: I099a7d03f059f08595dec43ff0205fd5ba765885
2023-01-11 18:35:51 +00:00
jenkins-bot 029d8d6d66 Merge "Track callers of parseRevisionParsoidHtml." 2023-01-11 18:23:50 +00:00
daniel b15aecc68c Track callers of parseRevisionParsoidHtml.
We are seeing a lot of parser cache writes coming from
parseRevisionParsoidHtml. We should find out what is causing them.

Change-Id: I25440e0d759e19cc9769404beb6911c64d37d3e3
2023-01-11 19:01:45 +01:00
Translation updater bot 8c620473fb Localisation updates from https://translatewiki.net.
Change-Id: I85bdc31125b173661a54d6b8cdfdc0d32ba4f488
2023-01-11 09:01:39 +01:00
Bartosz Dziewoński f7104b350f SpecialFindComment: Use new FormSpecialPage helpers
Depends-On: I14c0ebc017aa7387d03dac1ee0021d52d8ba3d0e
Change-Id: I023a701091afa06ef545e18f672e95ea6ee9b575
2023-01-11 04:30:29 +00:00
jenkins-bot d81886c5ce Merge "Enable collapsible content in mobile talk page lede content" 2023-01-10 16:37:11 +00:00
Translation updater bot cfdeadfdb8 Localisation updates from https://translatewiki.net.
Change-Id: Iebb3397c20d01a1533c566a90176f799aa1fb30e
2023-01-10 08:24:31 +01:00
Bartosz Dziewoński 3a9997d6ea Improve handling for comment separators
* Detect comment separators at the end of comments too
* Consider TemplateStyles associated with ignored templates

This unexpectedly improves a lot of cases other than T313097 too,
mostly where <br> or {{outdent}} was used within a paragraph:
splitting comments that were previously jumbled together, or restoring
content that was previously ignored for apps / notifications.

Bug: T313097
Change-Id: I9b2ef6b760f2ffd97141ad7000f70919aeab7803
2023-01-10 01:59:52 +00:00
Bartosz Dziewoński 56dcaa833b Add another test case for {{tracked}} template
Bug: T313097
Change-Id: I3ac1bfe40d808eee32f9b713dc40f502a6e54f8a
2023-01-10 01:59:46 +00:00
Bartosz Dziewoński 2a38098785 Flip the reply button icon on RTL
Bug: T325664
Change-Id: Id254420db317848e4894c9c683a3b27a98931155
2023-01-10 00:38:17 +00:00
Translation updater bot 97160052b0 Localisation updates from https://translatewiki.net.
Change-Id: Ia17a9460858563a4e9a0968c1dbb765c5f08fae1
2023-01-09 09:26:05 +01:00
jenkins-bot d7fe1c7979 Merge "Delay API requests for preloading metadata until user interaction" 2023-01-06 21:46:34 +00:00
Translation updater bot d00504bf0e Localisation updates from https://translatewiki.net.
Change-Id: I7a05d9e5fd14b3b6b92f08be7efce24897ad4a52
2023-01-06 08:54:34 +01:00
Bartosz Dziewoński 360e3584c6 Delay API requests for preloading metadata until user interaction
Instead of doing them right after page load, only do them on
hover/touch/focus, when we can expect that the user is about to
click/tap/activate a reply link, but which lets us start the work a
fraction of a second earlier.

Bug: T325598
Change-Id: Ida4cb70d8e9ab423ad2dabca7258f92e9fca3157
2023-01-06 01:24:00 +00:00
jenkins-bot 6d52132754 Merge "Clean up ApiDiscussionToolsPageInfo hack" 2023-01-05 23:28:04 +00:00
Translation updater bot d326fa4671 Localisation updates from https://translatewiki.net.
Change-Id: Id7868796caad0b0440ed00abdf619446e64a17bb
2023-01-05 09:08:02 +01:00
Translation updater bot c7353aa27d Localisation updates from https://translatewiki.net.
Change-Id: I4dba5cc5da07059676143fbcef0f9e2cf5943551
2023-01-04 08:28:56 +01:00
Bartosz Dziewoński af7097f02f Enable collapsible content in mobile talk page lede content
Bug: T323639
Change-Id: I3cfc8e7337172b44156a7f3bed9ff134c0851475
2023-01-03 18:16:15 +00:00
Translation updater bot 2c9ec88c0f Localisation updates from https://translatewiki.net.
Change-Id: Iadf53f11e3a7f58448fdd14f3b4263b9a3752795
2023-01-03 08:20:34 +01:00
Translation updater bot 38bc50a710 Localisation updates from https://translatewiki.net.
Change-Id: Iab8a194dac195e19ea87de5594162575ac417400
2023-01-02 08:42:52 +01:00
Translation updater bot 96787594a7 Localisation updates from https://translatewiki.net.
Change-Id: I9f5e3236ed55aa2103fcc9e4d0ff58972de49ea1
2022-12-29 10:01:23 +01:00
Translation updater bot e92112ea27 Localisation updates from https://translatewiki.net.
Change-Id: I8df95dfd389d86cb4256d0c78e49f1b6d4afdcf6
2022-12-26 09:09:38 +01:00
David Lynch d3a44b1092 Language code for zh-yue wiki is just yue
Bug: T323537
Change-Id: Ia6563b15ac92afc79eb3507bdd69bc4bf3000e33
2022-12-22 14:04:49 -06:00
jenkins-bot 8070ce8a57 Merge "a/b test anonymous ID was being reset because of cookie prefixes" 2022-12-22 15:12:25 +00:00
Translation updater bot dc936b87d8 Localisation updates from https://translatewiki.net.
Change-Id: Ib6ed325af35c475f7ba5d03140995a6b42f88b08
2022-12-22 11:03:18 +01:00
Translation updater bot 15474764f9 Localisation updates from https://translatewiki.net.
Change-Id: I607cae84983e66fb75ab3840c6aafb76847bbff4
2022-12-21 09:15:01 +01:00
Tim Starling ef7213a3d3 Clean up ApiDiscussionToolsPageInfo hack
Treat non-talk pages as empty ContentThreadItemSet objects, instead of
returning early from execute().

Exclude non-talk pages even if only the rev_id is specified.

If both rev_id and title are specified, use the title from the
database.

Bug: T325477
Bug: T325598
Change-Id: I3947ac94bb7c9a3d24b73c95f0df2cf847c955f2
2022-12-21 00:57:34 +00:00
Translation updater bot 075593343d Localisation updates from https://translatewiki.net.
Change-Id: I40a8ce11c927c0586881b6d641c5d5f59315ee76
2022-12-20 09:29:25 +01:00
jenkins-bot 477917e7e7 Merge "Only preload getPageData if there's thread data for the page" 2022-12-19 10:08:58 +00:00
David Lynch 013872ae22 Only preload getPageData if there's thread data for the page
This should avoid hitting the API if the DT JS is loaded off of talk
pages. At worst, if this is overly restrictive, later calls should still
load it when someone actually interacts with a reply widget.

Bug: T325477
Change-Id: If898dd4a21f1d2620c5a1e79908647070c441854
2022-12-19 03:03:02 -06:00
jenkins-bot 0a5397b4b5 Merge "Emergency: discussiontoolspageinfo return empty response in non-talk ns" 2022-12-19 08:55:49 +00:00
Translation updater bot 248f1e754c Localisation updates from https://translatewiki.net.
Change-Id: I0b76b5c79cbcf69b8cf2a6b8a1f1fe982425e3dd
2022-12-19 09:03:50 +01:00
Amir Sarabadani 00f5ba5db4 Emergency: discussiontoolspageinfo return empty response in non-talk ns
Bug: T325477
Change-Id: Ia7c8cca8051c800646c0f403065589f682d1ff17
2022-12-19 08:57:43 +01:00
David Lynch fcb6468805 a/b test anonymous ID was being reset because of cookie prefixes
Bug: T321961
Change-Id: Ie37d0dbefaf10bf48c32461cd7d5d1b4c7882725
2022-12-16 14:45:07 -06:00
Translation updater bot 92f31745c4 Localisation updates from https://translatewiki.net.
Change-Id: Iaf79a984603dff3f14813e356b84647748d6368c
2022-12-16 08:46:48 +01:00
David Lynch 0db7b997f3 Log an event when the lede button is clicked
Bug: T314596
Change-Id: Ifb5c9eb3cfac8b217546d4945e6f39ce38251e1e
2022-12-15 11:27:26 -06:00
Translation updater bot 9cc104cb88 Localisation updates from https://translatewiki.net.
Change-Id: I698db4062d0449b9e26a20244464b59727973fde
2022-12-15 11:35:42 +01:00
jenkins-bot 459554b18c Merge "Use new stable API for subtitle modification" 2022-12-14 04:09:58 +00:00
jenkins-bot 05e717f3ef Merge "VisualEnhancements: in some languages put an arrow by the reply button" 2022-12-13 19:47:12 +00:00
daniel a6a12730fc Don't write to parser cache from maintenance script
The parser cache for parsoid output isn't yet ready for full load.
Don't flood it when running batch operations.

Change-Id: I77f3de30b0500f0e5c593f4d31dceef7720f848e
2022-12-13 16:26:03 +00:00
Translation updater bot 9fd313fb38 Localisation updates from https://translatewiki.net.
Change-Id: Ie39a2262a390c2234c884a9b37346ca81e51e3b6
2022-12-13 08:16:50 +01:00
David Lynch c706562ce9 VisualEnhancements: in some languages put an arrow by the reply button
New config: DiscussionTools_visualenhancements_reply_icon_languages

Config is set up with a provide_default merge strategy so we can remove
items from it quickly if need be.

Bug: T323537
Change-Id: Ib748897a2162bb233000f7364e30b268932f4c4a
2022-12-13 00:11:08 -06:00
Jon Robson fbd951906a Use new stable API for subtitle modification
Bug: T324876
Depends-On: Id8436324e2ae2fd9f488b65b3b7bfc19611870d1
Change-Id: I4b178f67b6718fa9a84827e1804ec4eb1483f735
2022-12-13 01:13:29 +00:00
Translation updater bot cc91a40738 Localisation updates from https://translatewiki.net.
Change-Id: I2a0a2d66f1e2a467d62c0ec946fbad5a92f4353a
2022-12-12 08:22:17 +01:00
Translation updater bot 8cb138133f Localisation updates from https://translatewiki.net.
Change-Id: I21e25c8b787fc680b3ab724218d098b4a021a559
2022-12-09 08:45:59 +01:00
jenkins-bot beded3d29d Merge "Add 'collapsible-headings-collapsed' body class" 2022-12-09 01:34:09 +00:00
jenkins-bot ae323bf5e9 Merge "Deemphasize "Learn more about this page" link" 2022-12-08 17:03:35 +00:00