Commit graph

3906 commits

Author SHA1 Message Date
Ed Sanders 6237d6068b Follow-up I80377881: Add missing Echo namespace
Change-Id: I3f94d8d91d78eba1eb16ac34b027cd2e9d66649d
2024-05-28 18:28:38 +01:00
Ed Sanders a86897f890 Comment thanking
Bug: T249893
Change-Id: I64f7abc26bfc3e7b226340934a637a555edf754f
2024-05-28 17:47:09 +02:00
Ed Sanders d1bffdee70 Use namespaced notification classes from Echo
Change-Id: I80377881e6aabf3014394c024fca6af50166aa1a
2024-05-28 15:48:56 +01:00
Translation updater bot de26956c55 Localisation updates from https://translatewiki.net.
Change-Id: I6c256c407a2c3ae1bd865e7c1f3a1de0b6ba78c6
2024-05-27 09:28:42 +02:00
Ed Sanders 177639f5be Use Array#push instead of Array#concat
Change-Id: I605e726fce1cf1acf39ffdcfe8c7cd51c032a372
2024-05-24 17:28:37 +00:00
Ed Sanders ea5639b20b ESLint: Enforce prefer-const
Change-Id: I5985d1b532988bb3b71ff1aa24eae57ac2e1b9c5
2024-05-24 16:50:13 +01:00
Ed Sanders 44303de9cf ESLint: Replace some lets with consts by moving declarations
Change-Id: I710bff5fe04268172a40af75eb6ff5910eaf0255
2024-05-24 16:50:13 +01:00
Ed Sanders dda9227947 ESLint: Manually fix remaining no-var violations
Change-Id: I4474bd0205e7a1ed8e60147e52675e3e0b93ccd9
2024-05-24 16:50:11 +01:00
Ed Sanders ca5157156a ESLint: Autofix no-var rule
Leave rule off for now as manual fixes are required.

Also temporarily disable prefer-const rule as that
will also require some manual fixes.

Change-Id: I8c3478f26f51287acb943bd38c9c1020c06b9f39
2024-05-24 16:49:36 +01:00
Translation updater bot 9f68ee30af Localisation updates from https://translatewiki.net.
Change-Id: I8ef6971d42a9a8c65b8b8dee5ff73b190428fdd7
2024-05-22 09:20:21 +02:00
Translation updater bot 95ce057e31 Localisation updates from https://translatewiki.net.
Change-Id: I1c0f5d1fbe1d3533e3ad08a26318774e994d4d86
2024-05-21 09:27:57 +02:00
Translation updater bot c31a61de30 Localisation updates from https://translatewiki.net.
Change-Id: I2c594b152c68bb364a3686e422b071ccf1f53220
2024-05-20 09:25:06 +02:00
libraryupgrader 3b39ba1d67 build: Updating grunt-banana-checker to 0.13.0
Change-Id: I5a377f71114359968c749bc882f422121d57b7ae
2024-05-18 06:16:42 +00:00
Translation updater bot 103209d418 Localisation updates from https://translatewiki.net.
Change-Id: I8d6a32fd272bc81992e12f4a23023927979d19a0
2024-05-17 09:48:38 +02:00
Translation updater bot 4332d3aedc Localisation updates from https://translatewiki.net.
Change-Id: Icd6aad45232c499a9b9d1a5c653c884e994e5cae
2024-05-16 09:26:02 +02:00
Translation updater bot 6aef635713 Localisation updates from https://translatewiki.net.
Change-Id: I6bfbc7140d8fd39ede5f9ef2cb1618fd8d6c8cf0
2024-05-15 09:21:30 +02:00
Translation updater bot cb74560514 Localisation updates from https://translatewiki.net.
Change-Id: I5acb04731107c734574079d9a281f214620a6d88
2024-05-14 09:25:57 +02:00
jenkins-bot 81433b0973 Merge "Fix static cache access" 2024-05-13 11:49:15 +00:00
Bartosz Dziewoński d91fea5df2 Revert "Localisation updates from https://translatewiki.net."
This reverts commit b0e39cb5c1.

Reason for revert: Trailing spaces causing build failures (T364727)

Change-Id: I42aa0820aa73e211e0362d6dd40b03d327a15caf
2024-05-13 11:29:29 +00:00
Translation updater bot b0e39cb5c1 Localisation updates from https://translatewiki.net.
Change-Id: I5e35cfcf925e05e0e228a137003dcb6a8b7059f1
2024-05-13 09:27:01 +02:00
Amir Sarabadani 320da37512 Fix static cache access
Currently, DT is making more than 30 exact queries back to back in every
request. It is clear the caching is completely broken.

It is because when the properties don't exist (majority of the cases),
it returns an empty array making the caching noop.

Tested in mwdebug1002 and it fixes the issue.

Bug: T364693
Change-Id: I182ae121999df1a04cfb7399bc49891587a37074
2024-05-12 18:23:41 +02:00
libraryupgrader 52ca3d408e build: Updating grunt-banana-checker to 0.12.0
Change-Id: I7c7aa4b43c6ececa055b011f1fd8d111e9c30e06
2024-05-10 03:48:35 +00:00
Translation updater bot fae27bf022 Localisation updates from https://translatewiki.net.
Change-Id: Ia3078d23501bc8d255efc6188aeb22c8a50a4e23
2024-05-09 09:38:23 +02:00
Translation updater bot 8c01e8bfb1 Localisation updates from https://translatewiki.net.
Change-Id: I5020be8531b30e0be64f5e80fcd82d54b48b6f62
2024-05-08 09:23:39 +02:00
Translation updater bot 64acb6b373 Localisation updates from https://translatewiki.net.
Change-Id: I290a1e69dfd546f8ac62f55ffbc132de89f9e621
2024-05-07 09:22:33 +02:00
Translation updater bot 30fd85efb9 Localisation updates from https://translatewiki.net.
Change-Id: I301411aa12c4427e942c812aebf0496928e87bcd
2024-05-06 09:25:34 +02:00
libraryupgrader e394dc7d4d build: Updating composer dependencies
* mediawiki/minus-x: 1.1.1 → 1.1.3
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

Change-Id: I6ad38345831f049a508288af043839d221201787
2024-05-06 05:16:37 +00:00
wfan 2b41719f96 Migrate MediaWiki.discussiontools.addReplyLinks to statslib
Bug: T359463
Change-Id: I93f7872818a27e5a5aac6ed4c44302bdc78b0613
2024-05-05 13:59:04 +00:00
jenkins-bot da1af07768 Merge "Use user_properties.up_value with string in database query" 2024-05-02 22:04:38 +00:00
jenkins-bot 5689650a6a Merge "Replace $.extend with Object.assign" 2024-05-02 21:42:02 +00:00
Umherirrender 186e79d41b Use user_properties.up_value with string in database query
The field up_value is a varbinary and should be provided as string,
not all rdbms implicit converts int/strings

Change-Id: Ideb28ad9cc475dad84d0f7dc45a0f3c286f4487c
2024-05-02 23:25:20 +02:00
Ed Sanders 1e0aa2171f Replace $.extend with Object.assign
Change-Id: Id559ab68451a1d767e92ed17b1ef0832a5f243af
2024-05-02 16:49:43 +01:00
Ed Sanders 2dd73f935c JSDoc: {Mixed} -> {any}
Change-Id: I78bdc1ec8767dca05e979d8c6ebfed72573acc6f
2024-05-02 10:36:24 +01:00
Translation updater bot 687284939c Localisation updates from https://translatewiki.net.
Change-Id: Id02593aa083f78769839f9d447f342f02dba98e0
2024-05-01 09:22:05 +02:00
jenkins-bot 28a529b31d Merge "CommentController: Delay polling on error" 2024-04-30 20:03:09 +00:00
jenkins-bot dcb8d7175b Merge "ApiDiscussionToolsCompare: Show nice error for deleted revisions" 2024-04-30 20:03:06 +00:00
jenkins-bot af74638d08 Merge "ApiDiscussionToolsCompare: Deduplicate 'from'/'to' param handling" 2024-04-30 20:02:59 +00:00
jenkins-bot 3c4b5364f2 Merge "Prefer short arrow functions" 2024-04-30 16:57:37 +00:00
jenkins-bot 8b9a813b11 Merge "Clean up handling of <span class="mw-headline">" 2024-04-30 16:48:56 +00:00
jenkins-bot 9f7de3e917 Merge "Remove the "offset" from getHeadlineNodeAndOffset()" 2024-04-30 16:48:54 +00:00
jenkins-bot 60031336b9 Merge "Remove unused styles for .mw-ui-icon" 2024-04-30 16:48:52 +00:00
jenkins-bot aec14751dc Merge "Fix signature check not to look at the content of previous section" 2024-04-30 16:34:58 +00:00
jenkins-bot 3c4c018a2b Merge "Add more test cases for isSingleCommentSignedBy()" 2024-04-30 16:33:38 +00:00
Bartosz Dziewoński ede626faa2 Remove unused styles for .mw-ui-icon
The mobile site no longer uses the .mw-ui-icon class.

Change-Id: I212c743997839eeca63a23bf618436787af32fa4
2024-04-29 18:55:43 +02:00
Translation updater bot 9935ffe481 Localisation updates from https://translatewiki.net.
Change-Id: I0cc0acbf764b5b6bba33af7b5cc7064afb430ec0
2024-04-29 09:23:10 +02:00
Translation updater bot 82eb045f07 Localisation updates from https://translatewiki.net.
Change-Id: Iacef5eef18aa06ba446629d7795586bee74601d7
2024-04-26 09:48:08 +02:00
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