Commit graph

6927 commits

Author SHA1 Message Date
Jon Robson e3965f1c42 Drop targets from ext.echo.ui.desktop
This is redundant as the check is done on the client
inside the initDesktop method inside modules/ext.echo.init.js

Bug: T332836
Change-Id: Iccf42645a2773a17b94a8c694e29b14ad9fd5086
2023-04-11 13:23:37 -07:00
Fomafix f822514254 Remove .join( '|' ) for API parameters
mw.Api automatically joins parameters which are from type array.

Change-Id: Ie7e22f5fdf296c907a671925efd511f99523c0c7
2023-04-11 19:31:40 +00:00
Translation updater bot af9131df86 Localisation updates from https://translatewiki.net.
Change-Id: I77eb6661e1030a1af274b5be1f2daaea14ac42c8
2023-04-11 09:13:42 +02:00
Translation updater bot 71f0d347cd Localisation updates from https://translatewiki.net.
Change-Id: I81a8929463fe2509cb54e78d2931a09ddff4e828
2023-04-10 09:21:03 +02:00
jenkins-bot 96f5ec469c Merge "Use foreach ( $array as $key => $value )" 2023-04-08 21:22:35 +00:00
Fomafix 2862711ad2 Use foreach ( $array as $key => $value )
Use

  foreach ( $array as $key => $value ) {

instead of

  foreach ( array_keys( $array ) as $key ) {
      $value = $array[$key];

Change-Id: I3a75d3c7a2b41888998af37701ed9075380d286a
2023-04-07 11:58:33 +00:00
Fomafix 940a548caf Avoid tabs in comment blocks
Change-Id: I4a2d0afa229f095dbe8bcb919d832e701c2e447a
2023-04-07 11:57:46 +00:00
Translation updater bot 5ca4452348 Localisation updates from https://translatewiki.net.
Change-Id: I19bf0cdf31414651021707260a3956300b45ddba
2023-04-05 09:07:28 +02:00
jenkins-bot 8bd8c3011f Merge "build: Add quibble.yaml and enable early warning bot feedback" 2023-04-04 23:01:48 +00:00
Volker E d9302a50b7 build: Update 'browserslist-db' to latest
Latest version:     1.0.30001474
Installed version:  1.0.30001312

Change-Id: Ic818d45b8ab6a70efcbc333091dffbbf12f1615c
2023-04-04 01:33:50 -07:00
Volker E 7f6f792a3a styles: Replace 'mediawiki.ui/variables' call with skin variables
Replacing 'mediawiki.ui/variables.less' `@import`
with new skin-aware 'mediawiki.skin.variables.less' standard.
Also replacing and removing scattered WikimediaUI Base v0.15.0 variables
with new skin variables.

Also
- replacing several static values with new Codex design tokens featuring
  skin variables for following properties:
  - background-color
  - color
  - border-width, border-style, border-color and border shorthand
  - border-radius
  - box-shadow colors
  - outline-width, outline-style, outline-color and outline shorthand
  - opacity
- replacing equal-value Echo variables with new skin variables
- replacing `opacity: 0` with `opacity: 1px solid transparent`, which
  improves accessibility in Windows High Contrast mode

Bump required MediaWiki core version to >= v1.41.0.

Bug: T332541
Co-Authored-by: Volker E. <volker.e@wikimedia.org>
Depends-On: I04f9e48a1cf9dee915cf51e1e12b17ff0a595a06
Change-Id: If3863f07d7c3a8b58808fb03401c1060a92bc2ab
2023-04-04 01:26:11 -07:00
Translation updater bot 51777bc77f Localisation updates from https://translatewiki.net.
Change-Id: I0f472b2d9e77c75219c41f366f8a9032d7f744b1
2023-04-04 09:16:56 +02:00
Translation updater bot cb99730cd8 Localisation updates from https://translatewiki.net.
Change-Id: I1062792683b77c36af342baa3dde9caf2bf83272
2023-04-03 09:17:51 +02:00
jenkins-bot 3619a49d65 Merge "DiscussionParser: Clarify business rules comment" 2023-03-31 12:14:48 +00:00
Kosta Harlan 4277cb1303
build: Add quibble.yaml and enable early warning bot feedback
Bug: T323750
Change-Id: I1bc8d33fc4e7144ed07901c7b4abba86743e1acf
2023-03-31 11:42:44 +02:00
jenkins-bot a0eee370cf Merge "Add notification type for user page edits" 2023-03-31 09:41:35 +00:00
Kosta Harlan 1da878b9fb
DiscussionParser: Clarify business rules comment
Follows-Up: Ibe0092a96d96f6fa9d93991418b723f3e70e1b75
Change-Id: Iae5dcc709280ce90efd15886f9874347a11caa4a
2023-03-31 11:21:48 +02:00
Ed Sanders 91869f5708
Add notification type for user page edits
Creates a notification type to notify users when their
user page is edited.

Co-authored-by: Kunal Mehta <legoktm@debian.org>
Co-authored-by: Ed Sanders <esanders@wikimedia.org>
Bug: T3876
Change-Id: Ibe0092a96d96f6fa9d93991418b723f3e70e1b75
2023-03-31 11:21:48 +02:00
Translation updater bot 9d66afb388 Localisation updates from https://translatewiki.net.
Change-Id: I9cbbc55b58bbf50b214a0335d852397c2b378fa9
2023-03-31 09:57:45 +02:00
jenkins-bot 174b2a1ea4 Merge "Don't show preferences link to temporary users" 2023-03-30 16:55:26 +00:00
Kosta Harlan c7c9033685 Don't show preferences link to temporary users
Bug: T330509
Change-Id: I8e210d916c77e8914be3a06861fa04cf1153d56c
2023-03-30 16:35:13 +00:00
Umherirrender 03d44330a6 stylelint: Enable selector-pseudo-element-colon-notation
Via stylelint --fix

Change-Id: I14b992b0313f093325c9c6f5109bae9ce26ebc2c
2023-03-30 00:24:47 +02:00
jenkins-bot a08e5287ec Merge "List "Notifications" under "Account management" on Special:SpecialPages" 2023-03-28 11:06:21 +00:00
Translation updater bot 7ea9153b2a Localisation updates from https://translatewiki.net.
Change-Id: I95dfdc1756949d55ce6233e8cb3355432f36f96b
2023-03-28 08:40:14 +02:00
Bartosz Dziewoński 47fb0fdaed List "Notifications" under "Account management" on Special:SpecialPages
Bug: T333242
Depends-On: Ieba1631ca3c0562b784aa07d2b26c418448e70a1
Change-Id: Ibcc6b4b6bc618ee6b98e9d8784f079d356f65a37
2023-03-27 21:39:15 +00:00
jenkins-bot a255135164 Merge "Make page linked notification link to diff" 2023-03-27 14:05:41 +00:00
jenkins-bot b53e13b05a Merge "Echo: Special page aliases should not store in zh" 2023-03-27 13:36:12 +00:00
Translation updater bot 32460a2d31 Localisation updates from https://translatewiki.net.
Change-Id: I914b2c4c8affff0baddf8f2d3b1cd7c337dec4d6
2023-03-24 09:26:45 +01:00
libraryupgrader c280ff0947 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.0 → 0.14.0
  The following rules are failing and were disabled:
  * selector-pseudo-element-colon-notation

Change-Id: I4f3516417425a3cac273bb6c85b3195405ef5b3d
2023-03-23 22:26:26 +00:00
jenkins-bot 543f877684 Merge "Revert "Remove 50% opacity from notification badges when they are all read"" 2023-03-22 22:38:41 +00:00
Novem Linguae a7b56d2388 Revert "Remove 50% opacity from notification badges when they are all read"
This reverts commit 39c6e6f7b6.

Reason for revert: Caused a regression in Vector 2010 where notification icons are black instead of gray.

Bug: T331502
Bug: T329300
Change-Id: I3eb8c847feb67eb0abb08ee13a1071eb01bef9f9
2023-03-22 22:00:01 +00:00
Umherirrender 213f65e19d build: Remove unneeded inline stylelint-disable-next-line
modules/styles/mw.echo.ui.MenuItemWidget.less
 4:1  ✖  Needless disable for "no-descending-specificity"
--report-needless-disables

Change-Id: Ib8467edcd4cfb8f2a11b11872bddeecfdc9e5b04
2023-03-22 21:47:03 +01:00
Winston Sung 26ea547a9b Echo: Special page aliases should not store in zh
Bug: T286291
Change-Id: I5462120b1bc9dbf8935bf00751932426e5afad10
2023-03-22 12:26:58 +00:00
Translation updater bot 842b09ed97 Localisation updates from https://translatewiki.net.
Change-Id: I439c6d55540896cf8e9c466e33d7af145d594302
2023-03-22 09:15:20 +01:00
Translation updater bot 429380a608 Localisation updates from https://translatewiki.net.
Change-Id: I8548a7deb4838bcde0659f9242b070924a410a07
2023-03-21 09:16:30 +01:00
Gergő Tisza 79ee292ca4
Fix logging of cross-wiki API errors
Error messages included a non-existent 'code' parameter; use the
curl error message instead. Also log the error status (which is
there somewhere in 'response' but logstash doesn't manipulate JSON
fields well).

Bug: T328128
Change-Id: If295d7a3b397b22301986a226a54df908c2ccf4d
2023-03-19 16:48:10 -07:00
Translation updater bot 5f373567c5 Localisation updates from https://translatewiki.net.
Change-Id: If1609540f014a123b46db29c9099fb236015a7d1
2023-03-17 09:22:03 +01:00
Translation updater bot b737caf98c Localisation updates from https://translatewiki.net.
Change-Id: I03575e148fcaf3d5279ffccfeb0ddbd5e060b901
2023-03-15 08:49:42 +01:00
Translation updater bot 128ed65c06 Localisation updates from https://translatewiki.net.
Change-Id: Ic93cacf90113692cf7d33066f9c84959d97a703b
2023-03-13 08:38:49 +01:00
libraryupgrader c59fb68583 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 41.0.0

npm:
* http-cache-semantics: 4.1.0 → 4.1.1
  * https://github.com/advisories/GHSA-rc47-6667-2j5j
* ua-parser-js: 1.0.2 → 1.0.34
  * https://github.com/advisories/GHSA-fhg7-m89q-25r3

Change-Id: I1844dc37fc9aed2a3c921b6ae7bf1a0c3e952a18
2023-03-12 01:08:02 +00:00
Translation updater bot afbf95af3a Localisation updates from https://translatewiki.net.
Change-Id: I8c6e74d05f989d650161b5d761eb230faee33635
2023-03-09 09:04:40 +01:00
Translation updater bot c6dfeb81b8 Localisation updates from https://translatewiki.net.
Change-Id: I98d2048c408c448e5872d0d3561fb716751bd525
2023-03-07 08:44:36 +01:00
jenkins-bot e58ac35a2d Merge "icons: Support OOUI icons from editing-core bundle" 2023-03-07 02:23:25 +00:00
Ed Sanders 39c6e6f7b6 Remove 50% opacity from notification badges when they are all read
This was originally decided in T115845 and then the decision
was reversed in T329300.

Bug: T329300
Change-Id: Ife3ab7501af00420965282adc0a6ee31990a68b1
2023-03-06 14:41:35 +00:00
Kosta Harlan b2778d144c
icons: Support OOUI icons from editing-core bundle
Bug: T328288
Change-Id: Id3d3e447056316c01b240006905344543737cf27
2023-03-06 15:11:04 +01:00
Translation updater bot 6c9cb30ccd Localisation updates from https://translatewiki.net.
Change-Id: I9f920da598c6a679deb9388cb51cf870af9ea374
2023-03-03 08:47:42 +01:00
Translation updater bot fe705d8dee Localisation updates from https://translatewiki.net.
Change-Id: Idac3395bd9b4863c8f4583db7dd5d9cb4eb9fdc9
2023-03-02 08:42:39 +01:00
Translation updater bot 2505bd0f8b Localisation updates from https://translatewiki.net.
Change-Id: I1b0024b9523f8786ab442c87a9412d399dbf9453
2023-03-01 08:23:47 +01:00
Translation updater bot 95f98768eb Localisation updates from https://translatewiki.net.
Change-Id: Iafda47d6d051052ce4388f286efec995e75da62f
2023-02-28 08:28:51 +01:00
Translation updater bot abeb6cd069 Localisation updates from https://translatewiki.net.
Change-Id: I6525b0eb9ba5a06dc379dd1e685d2d059e353218
2023-02-27 08:27:27 +01:00