Translation updater bot
1df44c5102
Localisation updates from https://translatewiki.net .
...
Change-Id: I6e315a582403ccb25c6250c5d4f672c9c408ca36
2022-02-18 08:40:35 +01:00
David Lynch
7094cc592c
Don't autosubscribe flagged bots
...
Bug: T301933
Change-Id: Icabee260a16ed2686a95250bad2aa1b92881566e
2022-02-17 11:54:14 -06:00
Translation updater bot
4f5293f5bc
Localisation updates from https://translatewiki.net .
...
Change-Id: I9a6247d859298451199ef0e457ff9b209268c496
2022-02-17 08:11:41 +01:00
Translation updater bot
77034e77c2
Localisation updates from https://translatewiki.net .
...
Change-Id: I2f0cac5dd1cefeb2af78920aa0096882bbcfb64f
2022-02-16 08:12:56 +01:00
Translation updater bot
881faf0788
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic91fe369d927fc079a64dec957ecd6fd7073c9a5
2022-02-15 08:17:11 +01:00
jenkins-bot
902a389474
Merge "Prevent floated content from leaking out of the preview container"
2022-02-14 21:07:53 +00:00
jenkins-bot
2645cf0757
Merge "Log talk_page_edit events for adding a new topic"
2022-02-14 21:06:41 +00:00
Bartosz Dziewoński
f9f7aeb295
Prevent floated content from leaking out of the preview container
...
Change-Id: Ic4c5267cbe44fa22537a708f66e08503d0c1f816
2022-02-14 20:47:39 +01:00
David Lynch
d1e62d364d
Log talk_page_edit events for adding a new topic
...
Bug: T301496
Change-Id: I618339f254c89db45891ee403f037c555afdda6e
2022-02-14 11:48:16 -06:00
Translation updater bot
b86c291422
Localisation updates from https://translatewiki.net .
...
Change-Id: I5939ff3e24d2d36268991ff3dda82e373b5415b0
2022-02-14 08:14:10 +01:00
Bartosz Dziewoński
e414d1acaf
Improve handling for comments after fake headings using wikitext ;
...
Bug: T265964
Change-Id: I77db68928c5426fd885a277eec52c6e164d559bb
2022-02-11 23:35:32 +00:00
Bartosz Dziewoński
62766e846c
Add test case for fake headings using wikitext ;
...
Bug: T265964
Change-Id: I31db66dc011b3d13dd46426f15286c5b3b5c9254
2022-02-12 00:35:02 +01:00
jenkins-bot
c49d518ff1
Merge "Update references to warningbox class"
2022-02-11 21:20:49 +00:00
Translation updater bot
0ded0d5bfb
Localisation updates from https://translatewiki.net .
...
Change-Id: I10d162707ecc233f37d3c7c6d5bc175b1a7eb00a
2022-02-11 08:41:25 +01:00
Bartosz Dziewoński
91e1bb15cc
Use Sanitizer::stripAllTags() when generating notification snippets
...
It adds white-space between block tags and strips invisible tags.
It may be slightly slower (it takes HTML as input rather than DOM, so
we need to serialize the HTML first and then call it, rather than only
find and concatenate text nodes), but the difference is negligible,
and it seems better to use this method than to try to re-implement it.
Test runtime went from ~9.0s to ~9.5s locally, when testing using:
php tests/phpunit/phpunit.php \
extensions/DiscussionTools/tests/phpunit/ThreadItemTest.php \
--filter getText
Bug: T219138
Change-Id: I0cb89ebd2160e1ef499b78573c6688f493a4c42f
2022-02-10 22:23:24 +01:00
Translation updater bot
92e3a5bb42
Localisation updates from https://translatewiki.net .
...
Change-Id: I1acdee01d5cfe2b22f99c73df8068f86a1f3529d
2022-02-10 08:41:31 +01:00
jenkins-bot
8bcaf75372
Merge "Replace use of deprecated OutputPage::enableClientCache( false )"
2022-02-10 07:01:26 +00:00
Bartosz Dziewoński
4ff65cf5e2
Update references to warningbox class
...
Bug: T301401
Depends-On: I632e42ee9065b38dca443beae1cb01ef714cae7b
Depends-On: I7a7046bf9b9765cbb82ec3caa1530de7f05e0da4
Change-Id: Ia42cf9cd5b63cfe679bdf90bfcbf528f14f9ebcc
2022-02-09 21:36:50 +01:00
jenkins-bot
548c0d12c9
Merge "build: Update eslint-config-wikimedia to 0.22.1"
2022-02-09 15:38:41 +00:00
jenkins-bot
aa64257169
Merge "Don't refer to non-existent fields when using 'hide-if'"
2022-02-09 15:37:30 +00:00
Bartosz Dziewoński
8b6ffc945f
Don't refer to non-existent fields when using 'hide-if'
...
Bug: T301317
Change-Id: I40577b41e0c957281a45b71802808ec535b65653
2022-02-09 15:38:47 +01:00
Ed Sanders
f0940557ee
build: Update eslint-config-wikimedia to 0.22.1
...
Change-Id: I18a5ceae9e8fdc6398cd27c24c1a97fe87e3c016
2022-02-09 13:50:55 +00:00
Translation updater bot
a88dafba19
Localisation updates from https://translatewiki.net .
...
Change-Id: I4e4ceaed5a09c6713c4669aba7a054dfc5113db9
2022-02-09 08:12:45 +01:00
jenkins-bot
9b2b887675
Merge "ThreadItem: Use DOMUtils to get HTML of DocumentFragment"
2022-02-09 00:53:43 +00:00
Ed Sanders
16c24d6f0a
ThreadItem: Use DOMUtils to get HTML of DocumentFragment
...
This fixes a warning this was thrown when the fragment
was empty (e.g. a placeholder heading).
Change-Id: I5d44993014280b210f48be6be8db0c58ab8e0352
2022-02-08 23:51:38 +00:00
jenkins-bot
362206e572
Merge "Improve check for HTML comments after multiple line breaks"
2022-02-08 20:17:26 +00:00
jenkins-bot
e8e9ba5f98
Merge "Fix some typos in comments"
2022-02-08 20:00:11 +00:00
jenkins-bot
4593a9fe91
Merge "Don't count leading/trailing whitespace against signature scan limit"
2022-02-08 20:00:08 +00:00
jenkins-bot
e82a4d86f3
Merge "Don't clear target comment highlight when Ctrl-clicking"
2022-02-08 19:49:44 +00:00
Ed Sanders
aa03dc971e
Add discussiontoolscompare API
...
For two given revisions, this API tells us which comments have
been added and which have been removed.
Can be used to highlight new comments, or check if the page
has been updated since we first loaded it.
Bug: T281624
Bug: T300504
Change-Id: Ia4d95ffe3b7cf2317cd8e7c0f034e09f64777ef3
2022-02-08 15:53:27 +00:00
Translation updater bot
f8c7887adf
Localisation updates from https://translatewiki.net .
...
Change-Id: I4baeb2087e91695285486af51734ac759eb88d59
2022-02-08 08:28:29 +01:00
Bartosz Dziewoński
fa01395acc
Improve check for HTML comments after multiple line breaks
...
In the example in T301214, there is a space character between the line
breaks.
Bug: T301214
Change-Id: Ia1a8279ba0c60f92c1a30463c2a39d9e954ae3ca
2022-02-08 01:38:56 +01:00
Ed Sanders
025130fcd2
Don't prompt to reload the page if the reply widget is open
...
Only show the reload prompt if the 'disappeared' error is detected
when the reply widget is loading. Don't show it if we failed
to save, as it suggests you will not lose content if you reload.
Change-Id: I106f274e180dc97b540d729e31aae575c43f29f0
2022-02-07 22:45:35 +00:00
Ed Sanders
3d0849112a
ReplyWidget: Factor out #createErrorMessage
...
Change-Id: Ie7e34154d74c24ce8379552fdf13feba31fd401f
2022-02-07 22:44:09 +00:00
jenkins-bot
4ac8e94084
Merge "ReplyWidget: Introduce a 'refresh' teardown mode that preserves auto-save"
2022-02-07 21:45:13 +00:00
Bartosz Dziewoński
909f1383d4
Don't clear target comment highlight when Ctrl-clicking
...
It annoys me when Ctrl-click clears it but middle-click does not.
Change-Id: I8636140df25d44ac79cb2bc0d1aebecc62c4db5d
2022-02-07 21:29:01 +00:00
jenkins-bot
6a23be0bb5
Merge "Move ApiDiscussionTools to ApiDiscussionToolsPageInfo"
2022-02-07 20:43:26 +00:00
jenkins-bot
283aa46865
Merge "extension.json: Sort ApiModules"
2022-02-07 20:43:24 +00:00
Ed Sanders
7cad692afa
Move ApiDiscussionTools to ApiDiscussionToolsPageInfo
...
Also remove 'paction' param, and instead make 'transcludedFrom' a
property of the result object.
Change-Id: I0a289f6d71e4708afff0b52066b1ed6faf76b9ae
2022-02-07 16:50:02 +00:00
Ed Sanders
ee2749d34a
extension.json: Sort ApiModules
...
Change-Id: I0fea49bd7f86dd6ca48fb1960e47c62abeaf41aa
2022-02-07 16:49:40 +00:00
Translation updater bot
413b7bd487
Localisation updates from https://translatewiki.net .
...
Change-Id: I0ad51f8f4a6c5501a5def55689fbcd5622031dac
2022-02-07 08:21:57 +01:00
libraryupgrader
faab80cd8d
build: Updating nanoid to 3.2.0
...
* https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
Change-Id: I397685f0d9b0f77fcfd6f9f9524136d718870320
2022-02-06 09:18:30 +00:00
jenkins-bot
c86029397e
Merge "Remove DiscussionToolsEnableTopicSubscriptionBackend config"
2022-02-05 00:49:17 +00:00
Bartosz Dziewoński
5945a4a0eb
Fix some typos in comments
...
Change-Id: I699d9d105b8706cef0800ccc086cde687de54078
2022-02-04 20:36:28 +01:00
Bartosz Dziewoński
13ab1db6da
Don't count leading/trailing whitespace against signature scan limit
...
It's an arbitrary limit, it seems harmless to relax it to support the
use case in the task, even if it's weird.
Bug: T300949
Change-Id: I7c895c7019726758bbae3183b9c3ecbd9eabcf38
2022-02-04 19:35:29 +00:00
Ed Sanders
0b42aea276
CommentParser: Cache variables in getUsernameFromLink
...
Change-Id: I625e6ded3badd75a7a658c8d000576d0d165a18b
2022-02-04 19:35:18 +00:00
Ed Sanders
8ad1df7dc8
CommentParser: Name parts of return value from findSignature
...
Change-Id: I3a5ad36df0afdedc0aa9a15e5d83c5426b03b790
2022-02-04 19:34:18 +00:00
C. Scott Ananian
fe35a7324c
Replace use of deprecated OutputPage::enableClientCache( false )
...
Replaced with the more readable ::disableClientCache() method, added
in 1.38. Minimum MW version for this extension is already at 1.38.
Depends-On: I7c89e20528a0d91173f0edcb997dcae631935ee5
Change-Id: Idf1cf2fac3311f50ed3cbc420f7772b5c71b1992
2022-02-04 14:30:33 -05:00
Ed Sanders
6d655dee0a
Remove DiscussionToolsEnableTopicSubscriptionBackend config
...
This is now deployed on all wikis, and going forward I don't think
we need to make this configurable.
Change-Id: I231976267ba6cdfeec622efaa15983a84c330649
2022-02-04 18:22:10 +00:00
jenkins-bot
37c09cd3ac
Merge "Improve CommentModifier::addReply() API for re-use and testing"
2022-02-04 18:12:59 +00:00