Commit graph

7302 commits

Author SHA1 Message Date
bwang 781d532180 Enable dark mode for echo overlay
Bug: T366322
Depends-on: I01cdde979b2ddf64d54013466a3fe51a493860cc
Change-Id: I90f2c3c5098a418a7e40204c9b2384711b6ddce3
2024-06-20 14:40:17 -08:00
jenkins-bot 08136cbf03 Merge "Fix Special:Notifications" 2024-06-20 12:01:00 +00:00
Michael Große 6a9528fd11 Fix Special:Notifications
This was broken when replacing `$.extend` by `Object.assign` in
I1e603647c161bf940690f85f676edd7ebde7917d (commit 47ea647).

`Object.assign` fails when the first argument is `undefined`, but
`$.extend` doesn't.

Bug: T368029
Change-Id: I13025a783c7f4d173dce096efa47f659273f0dd5
2024-06-20 12:49:32 +02:00
Translation updater bot 9130865d56
Localisation updates from https://translatewiki.net.
Change-Id: Iae2eb56629cc34de5904b07aace5419182861946
2024-06-20 09:23:03 +02:00
Umherirrender f0a7879035 Use own namespaced classes in extension.json
Also write the callable as one string in extension.json,
the newline makes it hard to read as callable.

Change-Id: I6e670907aa36effa4b9485fafbb59918d62e2f2a
2024-06-19 21:53:16 +02:00
Translation updater bot 9e177c7149
Localisation updates from https://translatewiki.net.
Change-Id: I1f9965151594d1f4d6bfb3c047fb3bc8dc5c8009
2024-06-18 09:27:30 +02:00
Translation updater bot aa1bc8ac9a
Localisation updates from https://translatewiki.net.
Change-Id: I0628e7740ba5c7cfd79a1cf5b7283c9c2377b729
2024-06-17 09:30:44 +02:00
Translation updater bot 2a4e100a32
Localisation updates from https://translatewiki.net.
Change-Id: Id7f350f5b0abc8a9429776e1daa7407b4e9ca9ef
2024-06-14 09:48:51 +02:00
Ed Sanders c191982a81 build: Update stylelint-config-wikimedia to 0.17.2
Change-Id: Ide5b1395ea50e3d9fb15ca4690bce1cb9be90715
2024-06-13 16:12:07 +00:00
Ed Sanders 47ea647e45 build: Update eslint-config-wikimedia to 0.28.2 and autofix
Change-Id: I1e603647c161bf940690f85f676edd7ebde7917d
2024-06-13 16:11:59 +00:00
Ed Sanders 83024319a4 Convert some local functions to arrow functions
Change-Id: Ib16745cea5502e296d05255ec836c24779aeca64
2024-06-13 16:15:19 +01:00
Ed Sanders 45ba7840da Convert local function to arrow function to fix context
Bug: T367366
Change-Id: Ie6554c869ce804445b6678d74eee9550b9dc82f9
2024-06-13 15:59:19 +01:00
Translation updater bot dbb6e56eba
Localisation updates from https://translatewiki.net.
Change-Id: Ie84c53b051c3b654e11cdbaf7624693780fa0844
2024-06-13 09:28:00 +02:00
Umherirrender a51c944567 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I3d7a1ffe167b69d3f4ce51d0c248c758e1cdd70c
2024-06-12 20:31:47 +02:00
Translation updater bot a890a9a0d4
Localisation updates from https://translatewiki.net.
Change-Id: Icb0de30d5b63902180c0dfb04ae2175601ff72f0
2024-06-12 09:22:00 +02:00
Translation updater bot fe613f1fea Localisation updates from https://translatewiki.net.
Change-Id: Ibfda319503648c9579f7c0cae3d03b5fb3531fae
2024-06-11 09:54:15 +02:00
Ed Sanders e32df234c0 JSDoc: Use externals plugin
Change-Id: Id492d96318cb4b5c7abe99b81d077b3a5409bf3f
2024-06-10 16:04:02 +01:00
Translation updater bot 816be81d59 Localisation updates from https://translatewiki.net.
Change-Id: Ic0c2613d0a463b16f9717188489f49d191b493be
2024-06-10 09:55:15 +02:00
jenkins-bot 58e577c3a4 Merge "Allow sidebar to be slightly smaller" 2024-06-08 04:30:52 +00:00
jenkins-bot 7008980df0 Merge "Special:Notifications: Add additional wrapping" 2024-06-08 04:30:39 +00:00
Derk-Jan Hartman 7eec6f5829 Allow sidebar to be slightly smaller
This reduces the sidebar to 15em using flexbox when required. This
keeps the layout as columns just slightly longer, when compressing
which especially on vector-2022 will happen quite a bit.

This required making the lines in the optionwidget flex as well,
so that the ellipsis doesn't depend on a fixed value any more.

Bug: T337954
Change-Id: I8aadb1799da33161abc703344e9ab90bb747c604
2024-06-08 03:57:02 +00:00
Derk-Jan Hartman 1594089142 Special:Notifications: Add additional wrapping
Bug: T337954
Change-Id: Ia34e68eff3bcd52bd4ba0017bd5b8b271fd528c6
2024-06-07 20:35:15 +00:00
Translation updater bot b495cdbe95 Localisation updates from https://translatewiki.net.
Change-Id: I9f4efdaa2d86a966e994d31464fd3bbc3709effc
2024-06-07 09:44:49 +02:00
jenkins-bot 7954f54451 Merge "More specific type hints and type declarations" 2024-06-07 03:06:57 +00:00
libraryupgrader 0d8e740635 build: Updating npm dependencies
* eslint-config-wikimedia: 0.27.0 → 0.28.0
  The following rules are failing and were disabled:
  * modules:
    * no-jquery/no-extend

* grunt-stylelint: 0.19.0 → 0.20.0
* stylelint-config-wikimedia: 0.16.1 → 0.17.1

Change-Id: I45a64d80ef5aa50b4a1abd871605f52682ab9b5b
2024-06-06 16:47:09 +00:00
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