jenkins-bot
936883572c
Merge "CommentFormatter: Fix TOC info being repeated for subsections"
2022-09-06 22:23:51 +00:00
jenkins-bot
0632bfc92e
Merge "Refactor thread summary getters"
2022-09-06 22:17:26 +00:00
jenkins-bot
014ff9f8da
Merge "Hooks: Inject VisualEditorParsoidClientFactory to ParsoidHelper"
2022-09-06 21:28:24 +00:00
Bartosz Dziewoński
d7b6100c28
CommentFormatter: Fix TOC info being repeated for subsections
...
(And don't display it for empty top-level sections)
Bug: T309463
Change-Id: Icc69a248bca0be4945e07051e667b87af28927f7
2022-09-06 23:19:13 +02:00
Ed Sanders
e24550fae9
Refactor thread summary getters
...
Replace getThreadSummary with individual getters that call
calculateThreadSummary once.
Change-Id: Ie8a8b4d7cb5121847b78dbc20bca2c8d48c7d857
2022-09-06 23:19:13 +02:00
Derick Alangi
5168005373
Hooks: Inject VisualEditorParsoidClientFactory to ParsoidHelper
...
Since it will be made a required field in VE, just inject it.
Change-Id: If682af406c0fc7a9eca106eb3ebd95e6c14baddd
2022-09-06 21:15:13 +01:00
Ed Sanders
09d9b179f7
Content*Item: Use more specific Content*Item classes within functions
...
We can't use these is class method function signatures, but we
can use within the functions themselves.
Change-Id: Ic24e47d6647226172a3bfacd81398d26143d98e4
2022-09-06 20:00:55 +00:00
jenkins-bot
23a5647ff4
Merge "Hooks: Remove injecting MainConfig to ParsoidHelper"
2022-09-06 17:53:11 +00:00
Translation updater bot
43f4a50df6
Localisation updates from https://translatewiki.net .
...
Change-Id: Id5c3838eb4214ca68b08eed30e8e7b0ad67ede75
2022-09-06 09:39:24 +02:00
jenkins-bot
1c624210f4
Merge "Table of contents style tweaks"
2022-09-05 21:43:06 +00:00
Derick Alangi
c1c1cee267
Hooks: Remove injecting MainConfig to ParsoidHelper
...
Will fallback to MainConfig gotten from services in VisualEditor.
VE will remove this complete soon.
Depends-On: I787c0afb227308aab56770d14d62e08eb0084a6c
Change-Id: I4b9e7362a1bf1b4f224c8c652d40851a18c19824
2022-09-05 14:36:25 +01:00
Ed Sanders
5c7cf02457
Table of contents style tweaks
...
* Make "X comments" appear on a new line deliberately
* Remove parentheses around "X comments"
Bug: T309463
Change-Id: I803eee9db59c633f129f15e436242a12bcc627f0
2022-09-05 12:57:31 +01:00
jenkins-bot
f5b7f72a38
Merge "Inject services into API classes"
2022-09-05 11:44:04 +00:00
Translation updater bot
c09f2f1a10
Localisation updates from https://translatewiki.net .
...
Change-Id: I0f7690590d449b31ec07a933d2243648e18c22c5
2022-09-05 10:10:33 +02:00
jenkins-bot
cb4eb9f9e9
Merge "ReplyWidget: Ignore pending updates after tearing down"
2022-09-03 20:23:22 +00:00
jenkins-bot
2ce1822484
Merge "Use cheaper getRawVal/getCheck instead of getVal where possible"
2022-09-03 05:33:08 +00:00
Thiemo Kreuz
62ddb8bceb
Use cheaper getRawVal/getCheck instead of getVal where possible
...
getVal/getText can be expensive because they do Unicode normalization.
We can skip this when we know we aren't going to do anything meaningful
with the value anyway.
Change-Id: I9d939a44df6b67bcd8429096d89600ce1566ca39
2022-09-03 05:27:20 +00:00
Bartosz Dziewoński
9b317c6f22
ReplyWidget: Ignore pending updates after tearing down
...
When using ReplyWidgetVisual, this would just crashes in #getValue.
When using ReplyWidgetPlain, if the timing is right, this might update
our auto-save after the value was cleared in the teardown code,
breaking the way we restore the reply after showing new comments.
Bug: T316074
Change-Id: I23c5f17a6ff9a6ec9c73a176e4cc60e3ad96e7f1
2022-09-03 06:55:42 +02:00
jenkins-bot
f8b5ada93d
Merge "Remove clear:both from topic containers"
2022-09-03 00:25:27 +00:00
Bartosz Dziewoński
14b01e101a
Only hold on to a Config instead of ConfigFactory when injecting
...
The config is currently unused in some classes, but this is okay since
it might be used in the future.
Change-Id: Ie25fc52cc5d3476c9445e182975d229991316bd3
2022-09-03 00:39:51 +02:00
Bartosz Dziewoński
dc07d802a9
Inject services into API classes
...
This replaces the remaining uses of MediaWikiServices::getInstance()
in API classes.
Change-Id: I5f602a7e7b5a21a7d40023571018604528ea8edb
2022-09-03 00:23:41 +02:00
Ed Sanders
664d5d041a
Fix fetching of oldest comment in a thread
...
The implementation in Parser doesn't descend into sub-thread.
Re-use the getThreadSummary method in ThreadItem and traverse
the thread properly.
Bug: T298617
Change-Id: I318d9012eb83f37ccbe463923524ef2e9f995ced
2022-09-01 21:22:09 +00:00
Translation updater bot
01ae9bf8f9
Localisation updates from https://translatewiki.net .
...
Change-Id: I2a531dc12f2a77ff84f9f4089af399f3e06bd5bb
2022-09-01 18:34:59 +00:00
Ed Sanders
2883829678
highlighter: Use upstream getTargetFromFragment
...
Bug: T315872
Depends-On: I605a24c708e60ccffde9dce524485f61fd5c7b06
Change-Id: Ie689c57ce23b6298e089c7bf9bc53409abc45016
2022-08-31 13:10:10 +00:00
Translation updater bot
4810a30197
Localisation updates from https://translatewiki.net .
...
Change-Id: I7abbc49f3ebdda3a935d7411e34adb7c619b52ab
2022-08-31 09:35:04 +02:00
jenkins-bot
988b076760
Merge "API: always output ISO8601 in the timestamp field"
2022-08-30 20:16:45 +00:00
jenkins-bot
cbe48c04e5
Merge "ThreadItem jsonSerialize: make sure callback is applied last"
2022-08-30 20:14:39 +00:00
David Lynch
76919822fb
API: always output ISO8601 in the timestamp field
...
Bug: T315400
Change-Id: Iac4ad334ca41197cb0b36217468113bec331aaac
2022-08-30 11:04:19 -05:00
jenkins-bot
5326f060de
Merge "Notify users when a topic they are subscribed to is removed from a page"
2022-08-30 15:59:33 +00:00
David Lynch
4b370a8971
ThreadItem jsonSerialize: make sure callback is applied last
...
This changes a vast number of test expected-outputs because it affects
the order of the keys when serialized.
Bug: T315400
Change-Id: I6ad2cded6ba7cb2cc5e5ba37ea60f4b18ecc26be
2022-08-30 09:11:46 -05:00
Ed Sanders
b4eaa05c1c
Update mw:tocplace CSS hack
...
Bug: T311502
Depends-On: Ie63eed07b9bca1bfa07d4c256aba3728cedd8f93
Change-Id: I989e178419aec75b673308ca26f967176116e260
2022-08-30 14:41:34 +01:00
Translation updater bot
2763830145
Localisation updates from https://translatewiki.net .
...
Change-Id: I26b17ab1bba64a37587567d91d1ad301a581369b
2022-08-30 09:29:46 +02:00
jenkins-bot
4480ffbc83
Merge "Fix boilerplate in maintenance scripts for WMF production"
2022-08-29 15:37:26 +00:00
Bartosz Dziewoński
1cdb3df12a
Fix boilerplate in maintenance scripts for WMF production
...
We run MediaWiki from directories like "php-1.39.0-wmf.26",
whose names include dots, making these scripts impossible to run.
Bug: T316548
Change-Id: Ic318939cea6eafb1a0cd3105517e45c9fca52f4b
2022-08-29 14:14:09 +00:00
Translation updater bot
6f5bcf2c09
Localisation updates from https://translatewiki.net .
...
Change-Id: I50ea8055b542d460577ed20a71247c9cab84d6f6
2022-08-29 09:13:54 +02:00
jenkins-bot
e680735d63
Merge "Remove all stuff about legacy IDs"
2022-08-27 05:34:48 +00:00
jenkins-bot
b9e3043415
Merge "Enhance vector-2022 table of contents"
2022-08-26 20:57:39 +00:00
jenkins-bot
f9dc5dd135
Merge "Support nested-directionality content"
2022-08-26 18:46:57 +00:00
jenkins-bot
22fbe139d4
Merge "percentDecode: Pre-escape query string separators (&,=)"
2022-08-26 16:54:52 +00:00
jenkins-bot
7b8d272e7c
Merge "persistRevisionThreadItems: Allow processing current revisions only"
2022-08-26 16:45:55 +00:00
Ed Sanders
4a092df740
percentDecode: Pre-escape query string separators (&,=)
...
Change-Id: I1f648f192749fdd1d9d1217a87bd0a78ba064f7d
2022-08-26 13:33:38 +01:00
Ed Sanders
c232df01a4
Support nested-directionality content
...
Bug: T315037
Change-Id: I93f258a5d5fea174902b77d5d0728cfd68a66867
2022-08-26 12:46:26 +01:00
Translation updater bot
a216e450a3
Localisation updates from https://translatewiki.net .
...
Change-Id: I62bda49f95fc5141f7139030844885412d3e66d0
2022-08-26 08:22:39 +02:00
jenkins-bot
d8213624df
Merge "ApiDiscussionToolsEdit: etag is optional"
2022-08-25 19:50:37 +00:00
Bartosz Dziewoński
9b10b9c282
ApiDiscussionToolsEdit: etag is optional
...
Bug: T316234
Change-Id: If283af8e3f96c12d65e75dc88343a80f20e0f3ee
2022-08-25 21:18:09 +02:00
Ed Sanders
40bd58859e
Prefix browser title while replying/starting a new topic
...
We already do this while editing so that users can quickly see which
tabs they are actively working on.
This extends the functionality to the reply and new topic tools.
Bug: T262066
Change-Id: Iae662ad26072617aad71e519bb6c3cbb19ef1246
2022-08-25 16:12:54 +01:00
jenkins-bot
22825f06e6
Merge "Fix subscribe button appearing for unsubscribeable sections with visualenhancements"
2022-08-25 14:59:46 +00:00
Translation updater bot
221374fef0
Localisation updates from https://translatewiki.net .
...
Change-Id: I455afc4bd48c4ec4ff37c3593388d98a4135380a
2022-08-25 08:26:07 +02:00
Bartosz Dziewoński
d33996f8b4
Notify users when a topic they are subscribed to is removed from a page
...
In the future the notifications can be improved to look up
the new location of the comment, using the permalinks data.
Depends-On: Ia8a21749a8edc20f34b2a3e445278ea6922b9109
Bug: T299657
Change-Id: I5f5e7b73fb84ff0d31fb8260b24066a17da71628
2022-08-25 03:52:58 +02:00
Ed Sanders
776fca861f
Update categories list when reloading page
...
Change-Id: I0f6b61eec33dca26e128bd60bb027a5a42a3f9ee
2022-08-24 13:13:12 +01:00