Commit graph

7277 commits

Author SHA1 Message Date
jenkins-bot 85866a9a66 Merge "Remove unnecessary context variables" 2024-06-05 14:18:51 +00:00
jenkins-bot a078a96835 Merge "Use variadic args" 2024-06-05 14:06:53 +00:00
jenkins-bot d23833a072 Merge "ESLint: Prefer arrow callbacks (autofixed)" 2024-06-05 14:05:58 +00:00
jenkins-bot 89b10113e9 Merge "Remove unnecessary item.disconnect" 2024-06-05 13:33:48 +00:00
jenkins-bot da63ac5122 Merge "ESLint: Manually fix no-var and prefer-const errors" 2024-06-05 13:33:47 +00:00
jenkins-bot 5de8e070d5 Merge "ESLint: Autofix no-var errors" 2024-06-05 13:21:22 +00:00
Translation updater bot a602310f17 Localisation updates from https://translatewiki.net.
Change-Id: I6fdd3de2f6d262e8abb0ecd7b6017d9d76267475
2024-06-05 09:22:54 +02:00
Ed Sanders f830764f11 Remove unnecessary context variables
Change-Id: I3c5e4e2093b1fceb575d345b04f390a0dfec5f66
2024-06-03 14:49:40 +01:00
Ed Sanders d79f8858aa Use variadic args
Change-Id: I4c12dfbbfa86aace78ad6cc1d154e46ca0707072
2024-06-03 14:49:39 +01:00
Ed Sanders 2dd3780966 ESLint: Prefer arrow callbacks (autofixed)
Change-Id: I01da3714b1f5d9b1926ee4394c15f594efb01245
2024-06-03 14:49:38 +01:00
Ed Sanders 573e7c74ee Remove unnecessary item.disconnect
This button doesn't have any events connected, and
the wrong `this` is used anyway.

Change-Id: Idbb407d63921c19c596268ad4fe274c423ea81c7
2024-06-03 14:14:08 +01:00
Ed Sanders e164a32afe ESLint: Manually fix no-var and prefer-const errors
Change-Id: I9d1588ac4d414b5e7d65d14aa26d2c3eb79878ad
2024-06-03 13:25:03 +01:00
Ed Sanders 1d3be2c605 ESLint: Autofix no-var errors
Keep the rule and prefer-const disabled as they will
require manual fixing.

Change-Id: Idd31eb7d7a456b10c07b905b4b837dd4c890eb71
2024-06-03 13:22:48 +01:00
Translation updater bot c2a6d1ff8a Localisation updates from https://translatewiki.net.
Change-Id: I3f6cafcd41767f3ebc58069252487a2a1e9629ae
2024-06-03 09:31:32 +02:00
Derk-Jan Hartman 8e1d5c978b Echo: Add missing dependency on mediawiki.user
When loading with ?debug=true, I experienced issues with
mw.user.isTemp not being defined. Seems the dependency on
mediawiki.user module was not declared when calls to this function
were added over a year ago.

Change-Id: Ic496ae384ff7f3d312a164b973c0ef74eab04da9
2024-06-02 22:15:47 +02:00
jenkins-bot fe4a13cad6 Merge "Don't assign echo-create right to bots by default" 2024-05-31 20:01:40 +00:00
jenkins-bot 55fd760f68 Merge "maintenance: Add caller when running query builder" 2024-05-30 23:45:09 +00:00
Umherirrender 69eea92d2d maintenance: Add caller when running query builder
Change-Id: Ib86db407516a6ccf73442eb3e5724b4c36af5123
2024-05-31 00:26:05 +02:00
jenkins-bot b2d397dea9 Merge "Simplify Special:Notifications layout using flexbox" 2024-05-30 18:18:25 +00:00
Translation updater bot ca500a3937 Localisation updates from https://translatewiki.net.
Change-Id: Id44627f241510084f042fc48a1ff3bf4f5154e78
2024-05-30 09:36:21 +02:00
Translation updater bot cea4c4c337 Localisation updates from https://translatewiki.net.
Change-Id: I0f480dab8b262946ed44196f6903454e357595c0
2024-05-29 09:31:20 +02:00
jenkins-bot 6275711ea1 Merge "JSDoc: convert @cfg to @param" 2024-05-28 09:13:51 +00:00
Siddharth VP 16c261dfb4 Don't assign echo-create right to bots by default
Bug: T58362
Change-Id: I7beb24631a7437f87c72665c2e7ad0e89bb1ef76
2024-05-28 00:00:33 +05:30
jenkins-bot 63736536f5 Merge "hooks: remove use of IBufferingStatsdDataFactory" 2024-05-27 11:49:47 +00:00
jenkins-bot b721cc23df Merge "configure main hook handler to pass StatsFactory service" 2024-05-27 11:48:12 +00:00
jenkins-bot a538b2025a Merge "hooks: add StatsFactory support" 2024-05-27 11:44:28 +00:00
Translation updater bot 7e08e8c7ad Localisation updates from https://translatewiki.net.
Change-Id: I8b9c8dcdc9f20bff85a347e9111aeece5e9dfef7
2024-05-27 09:28:44 +02:00
Novem Linguae 030bc26ae9 JSDoc: convert @cfg to @param
- convert @cfg to @param
- in mw.echo.dm.NotificationItem.js, add backticks around
  a block of code in a docblock so that it renders nicely
  in the generated /docs/

Bug: T138401
Change-Id: If7df2ab72fa835af662a8f01cc0c5edb1cb79c2b
2024-05-26 18:43:21 -07:00
Translation updater bot 900ce88dc9 Localisation updates from https://translatewiki.net.
Change-Id: Iba5698143796759d7d0af2baf2e8e8d6fe03185d
2024-05-24 09:43:30 +02:00
Translation updater bot d4c0e94fd3 Localisation updates from https://translatewiki.net.
Change-Id: I9eab4b3a8acc3e3b840cd1cd20c2ea1e540dae5f
2024-05-23 09:27:13 +02:00
jenkins-bot cbc403a098 Merge "i18n: Replace mw: interwiki with url to mediawiki.org" 2024-05-22 14:51:20 +00:00
Translation updater bot 293ea5b579 Localisation updates from https://translatewiki.net.
Change-Id: Ic495cf332d142edd9bd1e78cc975aa3472c058c1
2024-05-22 09:20:23 +02:00
Translation updater bot cbe9ba6495 Localisation updates from https://translatewiki.net.
Change-Id: Ib99f8105144d5ac0e988c5dfe01319fc0204eb45
2024-05-21 09:27:58 +02:00
Translation updater bot dedf4a4789 Localisation updates from https://translatewiki.net.
Change-Id: Id61e62729d40c0fb17f0e2dd2ab032a1a7cb235a
2024-05-20 09:25:09 +02:00
libraryupgrader 158a6dfde1 build: Updating grunt-banana-checker to 0.13.0
Change-Id: I43e13791ee164bb3c2b31fae2f7a4e8655fef61e
2024-05-18 06:35:39 +00:00
Translation updater bot a5076946a7 Localisation updates from https://translatewiki.net.
Change-Id: I8d6a32fd272bc81992e12f4a23023927979d19a0
2024-05-17 09:48:38 +02:00
jenkins-bot fa61b08243 Merge "Remove unused FooterNoticeWidget" 2024-05-16 20:52:15 +00:00
thiemowmde 7e3d73c11b More specific type hints and type declarations
Most notably:
* Use the much more narrow UserIdentity interface where possible.
* Make array type hints in PHPDocs as specific as possible.

Change-Id: Id189da4028b7874909277881dcf6539169dd13b6
2024-05-16 10:32:19 +02:00
Translation updater bot 40d6588415 Localisation updates from https://translatewiki.net.
Change-Id: I6807a9189ab0993620b225b4dfea4c73de307401
2024-05-16 09:26:05 +02:00
Bartosz Dziewoński b6b19e1a2f Simplify Special:Notifications layout using flexbox
Compared to the previous approach using table layouts, it is much
easier to control which elements are allowed to extend to maximum
available width, and to provide alternative layouts for mobile.
There should be no visual changes.

It doesn't require using `white-space: nowrap` to prevent elements
from being squished, which will help with T237244.

(These styles are only loaded on Special:Notifications, they don't
apply to the flyout.)

Bug: T237244
Change-Id: I09e692e427f61fabd53b3824a1ed7e4f8e76fad4
2024-05-15 23:41:59 +02:00
Umherirrender 73c6062703 i18n: Replace mw: interwiki with url to mediawiki.org
The interwiki table must not contains an interwiki link with prefix mw:

Change-Id: Ic94758aa2a3949edf325e840a27060c5ad0324da
2024-05-15 23:36:34 +02:00
Bartosz Dziewoński 9699c06f1a Remove unused FooterNoticeWidget
Unused since 1eef6eeee3. After 6 years
we can probably say we're not going to need them again ;)

Change-Id: I9bab88cf56a5ecbcf8e1557f1635dd42e29deefb
2024-05-15 22:10:22 +02:00
jenkins-bot 9187f261c1 Merge "eslint: remove redundant ruleset wikimedia/jsdoc" 2024-05-15 19:59:28 +00:00
Novem Linguae 08f8890055 eslint: remove redundant ruleset wikimedia/jsdoc
According to my testing, rulesets wikimedia/client-es6
and wikimedia/server already contain the ruleset
wikimedia/jsdoc. So I don't think it needs to be declared
twice.

Bug: T365047
Change-Id: I5d7fef0c9594cc4c8765877aa6f783543e8a00ed
2024-05-15 17:31:36 +00:00
Cole White b29a6ae0e5 hooks: remove use of IBufferingStatsdDataFactory
Bug: T363590
Change-Id: Ib35ec605bf1ce3c0c026513f1f4636f991d36ea3
2024-05-15 02:31:08 +00:00
Wandji69 37cac555b8 Use ObjectCacheFactory instead of deprecated ObjectCache method
Bug: T363770
Change-Id: Ib1aaa8fc3e6099bfaf33ec45645f6774addec711
2024-05-14 19:30:17 +00:00
Umherirrender 1c257ea377 Revert "Suppress phan errors caused by UserMerge undeploy"
This reverts commit e8cbb4d662.

Reason for revert: phan dependencies are restored

Depends-On: I0d07c9412bbb63c947255587a88020637e70b80a
Change-Id: Ib6c1709483e4d8518510c4477bf15699cafc1313
2024-05-14 08:40:50 +00:00
Translation updater bot 8c01d91669 Localisation updates from https://translatewiki.net.
Change-Id: Ie33747b32ed1cba261e0c0cda2239183d48e8f88
2024-05-14 09:26:00 +02:00
libraryupgrader d9d40d2a9c build: Updating grunt-banana-checker to 0.12.0
Change-Id: I51198ba993ef6b8d40b2d1a0d2496cbf1753a20f
2024-05-13 21:20:55 +00:00
Translation updater bot 13db5fa7ba Localisation updates from https://translatewiki.net.
Change-Id: Ic0c424e36f8eed5f2d3abcdbb9b00490459a5e5d
2024-05-13 09:27:03 +02:00