Bartosz Dziewoński
1bfd97580e
CommentController: Delay polling on error
...
Use exponential backoff.
Bug: T362814
Change-Id: I436a700de3b89abbfa1f991bcf6dc7aa52008cbd
2024-04-26 04:56:34 +02:00
Bartosz Dziewoński
b8a28d6cfc
ApiDiscussionToolsCompare: Show nice error for deleted revisions
...
Bug: T362814
Change-Id: Iecc3e3737fcc82a79e699fe0bc00f373ecabf0c2
2024-04-26 03:54:31 +02:00
Bartosz Dziewoński
f3e96a72fa
ApiDiscussionToolsCompare: Deduplicate 'from'/'to' param handling
...
Change-Id: I0351228f50e9ea5a599d11b37f684b8e66553a83
2024-04-26 03:54:05 +02:00
Bartosz Dziewoński
67bad433dc
Fix signature check not to look at the content of previous section
...
It needs to only look at the end of the added comments, and ignore
whatever is going on at the beginning, since the only thing it really
cares about is a functioning "Reply" button at the end.
Bug: T363285
Change-Id: Ia337be754deda741617d1343972f3e0a21c41b05
2024-04-25 23:15:18 +02:00
Bartosz Dziewoński
5def2227a2
Add more test cases for isSingleCommentSignedBy()
...
Inspired by the discussion at T363285, document some more intended
behaviors from 0ecc8a4c05
.
Change-Id: Id190318a98563f4064c20477bc17e929dd59d74a
2024-04-25 22:09:40 +02:00
Translation updater bot
1130ab2491
Localisation updates from https://translatewiki.net .
...
Change-Id: I0ae20abc8ddc7c73c4700a72771740ea46e7704b
2024-04-25 09:17:39 +02:00
Translation updater bot
94c7467722
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie39d1793f03615f4f6a13795621e5422e22c7c47
2024-04-24 09:18:42 +02:00
Translation updater bot
7b849b5210
Localisation updates from https://translatewiki.net .
...
Change-Id: I34938c66d2f58389d077080c84650e1e867f87f5
2024-04-23 09:28:22 +02:00
Translation updater bot
f3e596a8f0
Localisation updates from https://translatewiki.net .
...
Change-Id: I6a2a7a641492a8e7b8ea31d98f9f8d83be29048e
2024-04-22 09:28:08 +02:00
Bartosz Dziewoński
3cffe1190e
Clean up handling of <span class="mw-headline">
...
The PHP code should never see a `<span class="mw-headline">` node
since MediaWiki change If04d72f427ec3c3730e757cbb3ade8840c09f7d3,
but we have to support it for our old integration tests (T363031).
Improve code comments to explain this and move the handling to
one place, so that it can be deleted more easily in the future.
Follow-up to 08f61b2609
.
Change-Id: I5ab9d3373a6911c1456c30d844b66576b278a1b5
2024-04-20 00:16:45 +00:00
Bartosz Dziewoński
7445294b3b
Remove the "offset" from getHeadlineNodeAndOffset()
...
Since c6cd20f682
the offset is always 0.
Change-Id: I9c1c8230f897d8bb287ca47056f5fa9fb187d060
2024-04-20 00:34:32 +02:00
jenkins-bot
1f7d23e3d7
Merge "Remove unnecessary IIFE"
2024-04-19 22:12:34 +00:00
Bartosz Dziewoński
d4c5aebd8f
Prefer short arrow functions
...
When an arrow function body contains just a single `return` statement,
the braces can be omitted.
(Changes are mostly made by `grunt eslint --fix`, with only some line
breaks added by hand.)
Change-Id: I37f259f87085c8d20ed09cfa58a8456dd36cdc38
2024-04-20 00:08:51 +02:00
jenkins-bot
83d0eb5a23
Merge "Prefer arrow functions for callbacks"
2024-04-19 22:05:36 +00:00
Ed Sanders
f509f91c71
Remove unnecessary IIFE
...
Change-Id: I1f23cd134d830afdf4d6afee5f1a399743c9eaa6
2024-04-19 12:34:28 +01:00
Ed Sanders
a74c00ba8c
Prefer arrow functions for callbacks
...
This allows us to remove our `this` bindings.
Change-Id: Ie8c8c38d36af8a033b5181870c39f8981a57b939
2024-04-19 12:34:23 +01:00
Translation updater bot
e5a26f2111
Localisation updates from https://translatewiki.net .
...
Change-Id: I11fc74d8c7f9509f12ddef96ee007d4f8d65714d
2024-04-19 09:46:23 +02:00
Translation updater bot
0c123b0999
Localisation updates from https://translatewiki.net .
...
Change-Id: I7110d1160c56fe7e1fa5f4519b3b8fc168fd30a7
2024-04-18 09:20:21 +02:00
jenkins-bot
56b21c9032
Merge "Remove workaround for T357812"
2024-04-17 15:22:35 +00:00
jenkins-bot
03a3c4b42c
Merge "Remove DTSUBSCRIBELINK cached HTML compat"
2024-04-17 15:22:33 +00:00
Translation updater bot
02dfc0c895
Localisation updates from https://translatewiki.net .
...
Change-Id: Icebc3a320101ba521fb9caf9bfbdb5b25d2c6b4e
2024-04-17 09:27:58 +02:00
libraryupgrader
72ad138dea
build: Updating eslint-config-wikimedia to 0.27.0
...
Change-Id: I27208615069cff8291168cbaf0f2336d265544f6
2024-04-17 03:58:27 +00:00
jenkins-bot
bd71127d22
Merge "TopicSubscriptionsPager: Fix exception when no subscriptions"
2024-04-16 07:40:41 +00:00
Translation updater bot
15e93614e1
Localisation updates from https://translatewiki.net .
...
Change-Id: Icc8291bbfb8b013c23140e91b22fc0de8461e8a5
2024-04-16 09:27:51 +02:00
Bartosz Dziewoński
cf792094bb
TopicSubscriptionsPager: Fix exception when no subscriptions
...
Bug: T362507
Change-Id: I569fb2ae017edc9d8e49910faff85e8c9301077d
2024-04-15 21:03:55 +02:00
Translation updater bot
c7595b012b
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibde076f44c021390724f4bf176efa90efa460bf6
2024-04-15 09:27:51 +02:00
Translation updater bot
031ae024b9
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie0d74e1b40ba5154816eaf64500b0cdfb0867026
2024-04-12 09:42:02 +02:00
Translation updater bot
d4c36b42cc
Localisation updates from https://translatewiki.net .
...
Change-Id: If07e942ad9909e154539c9d1f1830e1b22dc0a7d
2024-04-11 09:21:19 +02:00
Translation updater bot
e450c6496d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia058430241a0d2c441b8207ff52eede967f8260c
2024-04-10 09:20:44 +02:00
Translation updater bot
337d1e6f62
Localisation updates from https://translatewiki.net .
...
Change-Id: I9abc7ebe49819d89f9accc7175b1ca145cd2e304
2024-04-09 09:26:30 +02:00
Translation updater bot
a4f4f33ace
Localisation updates from https://translatewiki.net .
...
Change-Id: I066211c751e43b6d2b029865eae97d85aadb4f9b
2024-04-08 09:25:34 +02:00
Translation updater bot
2996cab1c1
Localisation updates from https://translatewiki.net .
...
Change-Id: Iffdb24c464a48afd006173698c30d532271722b6
2024-04-05 09:38:02 +02:00
jenkins-bot
a071c62d83
Merge "Special:TopicSubscriptions: Use permalinks when available"
2024-04-04 14:06:49 +00:00
Bartosz Dziewoński
52ae0f3152
Special:TopicSubscriptions: Use permalinks when available
...
When permalink data is available, display a permalink using
the current page title, instead of a plain link to the section
at the time of subscription.
Consolidate and clean up some existing permalink code.
Bug: T306373
Change-Id: Ie2f63cbfdbfa703530205201dfcfb0e5ad053b35
2024-04-04 13:44:06 +00:00
Translation updater bot
3004ff5626
Localisation updates from https://translatewiki.net .
...
Change-Id: I072236b18450a895a2ee46dddc8dc40ce9dd2167
2024-04-04 09:37:50 +02:00
Translation updater bot
3b9e043e47
Localisation updates from https://translatewiki.net .
...
Change-Id: I9d7ce8baab44307e145b31434760d20103684fbc
2024-04-02 09:21:21 +02:00
jenkins-bot
409c2fb7e5
Merge "Replace deprecated ChangeTags method calls with ChangeTagsStore"
2024-04-01 11:11:40 +00:00
Translation updater bot
e1339d3b2a
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib8f8ca892aa182b69d1842cc9480010f473ad89b
2024-04-01 09:22:33 +02:00
Dringsim
afff10a932
Replace deprecated ChangeTags method calls with ChangeTagsStore
...
Bug: T360664
Change-Id: I14b676e74b277dfea62109fcca6881fea3763997
2024-04-01 09:00:39 +08:00
David Lynch
ebc884e217
Also don't check for moved topics on fragments starting with !/
...
Similar reasoning for our existing filter on just `/`; it's only really
used in state routing.
Bug: T361322
Change-Id: Ibcf1a58a884b953003012640041471d3bb5c9450
2024-03-29 10:07:43 -05:00
jenkins-bot
f3df3dfa0a
Merge "Setup grunt-tyops and fix"
2024-03-28 13:35:23 +00:00
Ed Sanders
a70f411ee1
Setup grunt-tyops and fix
...
Change-Id: I372c3cc5bedaf800716bff68cadb2846a399a42a
2024-03-27 14:01:18 +00:00
Bartosz Dziewoński
c44313a867
Fix autosubscribe on new pages with $wgDiscussionToolsAutoTopicSubEditor = 'discussiontoolsapi'
...
Broken by the introduction of 'nocontent' parameter in
6bf6105d2a
.
Bug: T359751
Change-Id: I60d9a6f51e897ecdc68525151990212ecc171548
2024-03-27 00:51:14 +01:00
Bartosz Dziewoński
e2309342ce
Remove DTSUBSCRIBELINK cached HTML compat
...
Follow-up to Ie3348671c486de5bbd9f286772a8d145e3609bd5.
Change-Id: Ia4cd4f5d26e95b3557cae6f80f49fa5da138890f
2024-03-26 23:39:53 +01:00
jenkins-bot
083900821e
Merge "Clean up subscribe links/buttons"
2024-03-26 18:39:11 +00:00
Ed Sanders
eb92db2b08
topicsubscriptions.js: No longer assume both buttons and links exist in DOM
...
Bug: T360942
Bug: T359751
Change-Id: I98d50a734dc9bd37d7d488ed97d5a47e65790587
2024-03-26 15:17:45 +00:00
James D. Forrester
30d911b649
Replace wfGetDB() in test with $this->getDb()
...
Not spotted in code search due to wrong case, which PHP forgives.
Whoops.
Bug: T360991
Depends-On: I73e4d3ab3158659b6a3c0a942f6bef10820b4248
Change-Id: I2d1cfd0f05c962f2d62dde911e4b0eed1ca02d83
2024-03-26 12:01:16 +00:00
Translation updater bot
9781b4f9a6
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie37486f1b59c37ea3724378c23d640cf84dd4460
2024-03-26 08:19:29 +01:00
jenkins-bot
29b4ec8b75
Merge "ReplyLinksController: url.searchParams -> searchParams"
2024-03-25 20:40:12 +00:00
jenkins-bot
ab9aae8172
Merge "Pass through dtenable from main request query string"
2024-03-25 20:16:46 +00:00