Commit graph

4216 commits

Author SHA1 Message Date
Translation updater bot 2842317fc1
Localisation updates from https://translatewiki.net.
Change-Id: Ibfe7f09e392069292f3a1e0a80e5f0b68c78141c
2024-12-17 08:17:10 +01:00
libraryupgrader c6b8e8e14c build: Updating mediawiki/mediawiki-phan-config to 0.15.0
Change-Id: I845d2fb6f6b8f0a57a81a57f7e6c39c4f578446b
2024-12-16 15:41:43 +00:00
Bartosz Dziewoński 5c9389db15 Replace unneeded isset() with !== null
The PHP `global` statement actually creates a global variable if it
does not exist yet, setting it to null. Who'd have thunk.

This is reported as a new issue type 'MediaWikiNoIssetIfDefined' by
mediawiki/mediawiki-phan-config to 0.15.0.

Change-Id: Ia1c3a08f399257ede41920beafa9f1864206c94e
2024-12-16 16:41:02 +01:00
Translation updater bot cfdd9b1a48
Localisation updates from https://translatewiki.net.
Change-Id: I0424e23a94b79e0528923de8a40e6a716620de7d
2024-12-16 08:22:27 +01:00
Translation updater bot 8a20a854f7
Localisation updates from https://translatewiki.net.
Change-Id: Iba1038a58e86f510a192c2a47593fe3e4cb1048f
2024-12-13 08:35:05 +01:00
Translation updater bot 804661b583
Localisation updates from https://translatewiki.net.
Change-Id: I0a34f76f329b18365e6dc58022c499022143809b
2024-12-12 08:16:28 +01:00
jenkins-bot 454e217ded Merge "Fix overflow menu in Parsoid output" 2024-12-11 11:54:14 +00:00
jenkins-bot b7ff22a06a Merge "Fix hiding "actions" bar (subscribe button) in Parsoid output" 2024-12-11 11:53:24 +00:00
jenkins-bot b3e64596d5 Merge "Fix lede section button in Parsoid output" 2024-12-11 11:53:23 +00:00
jenkins-bot 1627c6d637 Merge "Fix border on first section in Parsoid output" 2024-12-11 11:53:22 +00:00
jenkins-bot caeaab2a5a Merge "Fix positioning of collapse/expand button in Parsoid output" 2024-12-11 11:53:21 +00:00
Ed Sanders eb178b55a3 Fix overflow menu in Parsoid output
We need to use a different test for $uneditableSections.

Change-Id: I0249634e20c1115150bd8824de15c62388656718
2024-12-11 12:22:44 +01:00
Translation updater bot a5a8b7b7eb
Localisation updates from https://translatewiki.net.
Change-Id: Ibc84b06750a4eeae713313a01d6808bcfadf8de9
2024-12-11 08:24:43 +01:00
libraryupgrader 514532640d build: Updating nanoid to 3.3.8
* https://github.com/advisories/GHSA-mwcw-c2x4-8c55

Change-Id: I6fd9c59a59820176e28e170232440b2fa656a055
2024-12-11 05:04:16 +00:00
Ed Sanders f1ed4ad8f7 Fix hiding "actions" bar (subscribe button) in Parsoid output
This doesn't fix the FOUC issue yet.

Change-Id: Idcb59c985bb8cce6b77db4eabfb23b23ebe9eab0
2024-12-09 14:54:11 +00:00
Ed Sanders 74f2635026 Fix lede section button in Parsoid output
Change-Id: I3807984a3c57de7a41e06fb4b12cc4732343e39f
2024-12-09 14:54:11 +00:00
Ed Sanders cd7b389bce Fix border on first section in Parsoid output
Change-Id: Ibff7eb4919d9f8c937f9d635d60731db5a39c1aa
2024-12-09 14:54:11 +00:00
Ed Sanders 8992839787 Fix positioning of collapse/expand button in Parsoid output
Change-Id: Ie0437f4e00f69b3088bbd2810c7cc6ceda644684
2024-12-09 14:54:10 +00:00
Translation updater bot 03cb39c4f4
Localisation updates from https://translatewiki.net.
Change-Id: Iccdba9c377d3950cb5fa7c423fc8b1937cca5c86
2024-12-09 08:21:37 +01:00
Ed Sanders f895d9426e Add !important rule to mobile margin overrides
An upstream change in specificity caused a bottom
margin of 0.5em to start applying.

Bug: T381651
Change-Id: If68464b431202b657102223b61342eaa4c50f24a
2024-12-06 11:35:49 +00:00
Translation updater bot 09c2d1c782
Localisation updates from https://translatewiki.net.
Change-Id: I1dd387b1d096e529e5dad33cf07a1e342b27af49
2024-12-05 08:20:37 +01:00
Translation updater bot b22c3fda9b
Localisation updates from https://translatewiki.net.
Change-Id: I82567bb49d6337d09bc175454604e6d08917d400
2024-12-04 08:22:04 +01:00
Translation updater bot 1c0484a0b8
Localisation updates from https://translatewiki.net.
Change-Id: If76652931e23f6cc46b9fabdcb1d2036b911c2fe
2024-12-03 08:16:32 +01:00
Lucas Werkmeister 3e6c953530 tests: Fix expected data for ckb
Bug: T381256
Depends-On: I08343ad8b4e2e86e0f17beb6056a1715942dc495
Change-Id: I5d843b9e90497ae6b15027db81c93e77fceeb955
2024-12-02 12:07:10 +01:00
Translation updater bot e767d6979e
Localisation updates from https://translatewiki.net.
Change-Id: Ifc50c22865cf39cb268d75409895d1502ab45f03
2024-12-02 08:21:53 +01:00
Translation updater bot aefccfec8b
Localisation updates from https://translatewiki.net.
Change-Id: I8a04322206e7eb3b562ecf72c083be74de8ed11e
2024-11-29 08:31:05 +01:00
jenkins-bot 8c5dad68a2 Merge "Don't prevent default on mobile heading clicks" 2024-11-28 21:43:37 +00:00
jenkins-bot 5e3f6020b5 Merge "Add azerbaijani special page aliases and magic words" 2024-11-28 15:08:50 +00:00
Translation updater bot 35e1c06807
Localisation updates from https://translatewiki.net.
Change-Id: I1d492caa6df7799b9ce88dcd04d5160ea324e7d9
2024-11-28 08:15:42 +01:00
jenkins-bot cf73396835 Merge "Improve handling of Parsoid resource limit exceeded exceptions" 2024-11-28 04:42:43 +00:00
libraryupgrader 24e5e18bd1 build: Updating cross-spawn to 7.0.6
* https://github.com/advisories/GHSA-3xgq-45jj-v275

Change-Id: Ib5bf2336d84fa1fe308fddba2a66c537c2fa12ab
2024-11-28 04:25:32 +00:00
Bartosz Dziewoński 0b1919af0c Improve handling of Parsoid resource limit exceeded exceptions
Follow-up to 3d9585acbe.

* Avoid deprecated method StatusValue::getErrors()
* Don't use exceptions for control flow
* Don't re-use Parsoid's ResourceLimitExceededException,
  it seems unexpected to me and might limit future refactoring
* Use dieStatus() instead of dieWithException(), which will produce
  better localised error messages
* Add missing error handling in ApiDiscussionToolsThank

Change-Id: Ia032025f92f1c3cc0d62a0f45925dddba93fb42f
2024-11-28 04:09:44 +01:00
Nemoralis 11e35d8995 Add azerbaijani special page aliases and magic words
Bug: T381048
Change-Id: Icccf7039a62f0e4c49a813b5e3db6c3136402575
2024-11-28 02:55:42 +04:00
Translation updater bot a87996082f
Localisation updates from https://translatewiki.net.
Change-Id: I419fca67ddbc1deb0d6e01f92309ec1695cb7f18
2024-11-27 08:20:24 +01:00
jenkins-bot b26d84bfd6 Merge "CommentController/NewTopicController: Always use replyWidgetPromise" 2024-11-27 03:56:11 +00:00
Ed Sanders 042c0a1a40 Don't prevent default on mobile heading clicks
This greatly increases the size of the click target
for exanding a section, which is the most common
action to be taken.

Bug: T380896
Change-Id: Ib88e90f6eeee03f7559c78c0ef3dde3956cfd125
2024-11-26 17:20:34 +00:00
Ed Sanders a4a335e6a9 CommentController/NewTopicController: Always use replyWidgetPromise
Remove the replyWidget property so users always have to use the
replyWidgetPromise.

Assume that the controller is setup immediately and so the
replyWidgetPromise will always be available.

Change-Id: Ib63952d745033721cac448feda9310e691c60090
2024-11-26 11:58:03 +00:00
Translation updater bot 4f6273e442
Localisation updates from https://translatewiki.net.
Change-Id: Id5394d122121e10549768bbf49f6cd278d03e0de
2024-11-26 08:16:29 +01:00
Ed Sanders 61a79ecb5e Remove unnecessary context variable
Change-Id: Ibfc0fc82f13f8268b8f4d48fd7d5f435c2e402f6
2024-11-25 17:15:58 +00:00
jenkins-bot 3345f49cbd Merge "Separate tag help links from their labels" 2024-11-25 17:11:31 +00:00
Translation updater bot 7f6cf234af
Localisation updates from https://translatewiki.net.
Change-Id: I7a6b843eaa89f9a7417b2f90d684e49dbfd9e447
2024-11-25 08:23:12 +01:00
jenkins-bot ce05e417e9 Merge "Use faster DOMUtils::hasClass()" 2024-11-23 04:03:21 +00:00
Translation updater bot 1e74745ce0
Localisation updates from https://translatewiki.net.
Change-Id: I5d2c91a25025a388b5c0fab2415a2e41bdea6907
2024-11-22 08:41:25 +01:00
Translation updater bot 50e2a7ad38
Localisation updates from https://translatewiki.net.
Change-Id: I66e3a87c8d072c5eb745b3b8968720cb7c4771f8
2024-11-21 08:21:42 +01:00
jenkins-bot c049828dce Merge "Make use of the modern ??= operator in one more place" 2024-11-20 20:19:15 +00:00
jenkins-bot 4be9db5ef3 Merge "ApiDiscussionToolsPageInfo: Show nice error for deleted revisions" 2024-11-20 19:56:42 +00:00
Ammarpad 6e17c85409 ApiDiscussionToolsPageInfo: Show nice error for deleted revisions
This is similar fix as b8a28d6cfc.

Bug: T380351
Change-Id: I1b03a00c5627e1fa9e48aee9e2ed3d8b1ea332f7
2024-11-20 19:40:34 +00:00
jenkins-bot 86d42c6ef9 Merge "Fix mistakes in inline @var comments" 2024-11-20 14:56:03 +00:00
Translation updater bot b6496ab427
Localisation updates from https://translatewiki.net.
Change-Id: I11d824eaf9f88762cfc93414afac9416568fb629
2024-11-20 08:25:44 +01:00
thiemowmde 3cc4e00647 Use faster DOMUtils::hasClass()
I tried to benchmark this. It's not really a big bottleneck in this
codebase, but can still be seen. For example, the relative runtime
of the method CommentUtils::isCommentSeparator (the heaviest user of
this feature) goes down from 1.5% to 0.3%.

Depends-On: If9252a97562542e7a4bec29edcc6e8dee0fb8221
Change-Id: I6b94a2481b5c4f7983df78ee48d45c0d8a50e53b
2024-11-20 08:16:31 +01:00