Commit graph

6851 commits

Author SHA1 Message Date
libraryupgrader 8d397eb14a build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: I310d2a4ca1fdcb9f5492cb0c4cf67bfb24698f28
2023-04-29 02:45:29 +00:00
Jon Harald Søby 60748b0b25 Add PLURAL support for "mark all as read" buttons
Pass a relevant number of unread notifications to the messages
'echo-mark-all-as-read' and 'echo-mark-wiki-as-read' each time
they are used, in order to facilitate the use of PLURAL in
the messages. This allows translators to say e.g. "mark both as
read" when there are two unread notifications, for instance.

Bug: T321462
Change-Id: Ida65be2d7f2663d9802f71c7ea1eb588db8cd254
2023-04-29 01:31:14 +02:00
jenkins-bot 84966452f8 Merge "Don't send page-linked notifications for pages created by bot users" 2023-04-28 19:27:57 +00:00
jenkins-bot 66d96e80f1 Merge "Move edit-user-page to be adjacent to edit-user-talk" 2023-04-28 19:21:33 +00:00
Kosta Harlan 53efddc825
Don't send page-linked notifications for pages created by bot users
Bug: T318523
Change-Id: I704a2912e0a8b0e996d4e4e0a73f4ed3b9ccf6be
2023-04-28 12:13:04 +02:00
Kosta Harlan 016b25b43a
tests: Add namespace for UserLocatorTest
Change-Id: I329801c0f7fe47730174f533fb5df683f42a8566
2023-04-28 11:58:56 +02:00
Translation updater bot e7519e2e22 Localisation updates from https://translatewiki.net.
Change-Id: I1978c6c2658e2a7519992e44ee4fb6f583bbc2ed
2023-04-28 08:56:13 +02:00
Kosta Harlan ace96cbfcf
Move edit-user-page to be adjacent to edit-user-talk
... and have "edit-user-talk" appear as the first preference.

Bug: T334531
Change-Id: I52be2aa0dbc04849fa1ba1923f89333c443412cf
2023-04-27 21:07:47 +02:00
Translation updater bot 9a7bc48489 Localisation updates from https://translatewiki.net.
Change-Id: I7af2f6b6028c514b53455e3a933bb999785df0a6
2023-04-27 09:14:23 +02:00
gerritbot fd6bdf95af Update moved class WikiMap
See T321882. Moved in I60cf4b9ef02b9d5

Bug: T321681
Change-Id: Icf209fddd9367540352d935557881d7e6e5a1e4c
2023-04-25 09:53:21 +00:00
Translation updater bot c711e6a9a6 Localisation updates from https://translatewiki.net.
Change-Id: I352e4bcec374f4c3d15c293b91feb29c92cbd0b9
2023-04-25 08:47:54 +02:00
Translation updater bot 0533aec0b6 Localisation updates from https://translatewiki.net.
Change-Id: Ic0d3bf52e57d3234c15b16999d7ad616fe47b5e1
2023-04-24 09:16:05 +02:00
Translation updater bot a0b259d754 Localisation updates from https://translatewiki.net.
Change-Id: Ic49414807dfc51e5fc55f99d09ac131f5b51f86e
2023-04-21 08:59:33 +02:00
gerritbot 7ab2ea01a1 Update moved class TitleFactory
See T321882
Moved in Iac1688172ee457

Bug: T321681
Change-Id: I8c171d4cb1413d2acd20016f85220e9a33a006da
2023-04-19 16:55:32 +00:00
jenkins-bot e0da182083 Merge "styles: Replace 'mediawiki.ui/variables' call with skin variables" 2023-04-19 14:25:17 +00:00
jenkins-bot 64f74504a8 Merge "Exit overlay immediately if no transition" 2023-04-19 10:45:20 +00:00
Translation updater bot 25f297a343 Localisation updates from https://translatewiki.net.
Change-Id: Ic56c66789ff55a4d5190b59c87cceb71a819c54b
2023-04-19 08:26:40 +02:00
Translation updater bot 52e86184ce Localisation updates from https://translatewiki.net.
Change-Id: I3a658fe417b5c07af84ac0fb1cef79bdf1f4ba0d
2023-04-18 09:00:31 +02:00
Translation updater bot 29f8c3c8b5 Localisation updates from https://translatewiki.net.
Change-Id: I10695393714298355467b933179fd4e58fcdb186
2023-04-17 09:13:30 +02:00
Translation updater bot 2b6684b592 Localisation updates from https://translatewiki.net.
Change-Id: Id4d45256670f03f7e729ed7b0eea5c550f4d931b
2023-04-14 09:26:27 +02:00
Brandon Fowler a7232395b3 Exit overlay immediately if no transition
Bug: T334667
Change-Id: I45e976ca290d14287158f0558e01cd4e003d9eb3
2023-04-13 11:00:15 -04:00
jenkins-bot 901c4e30c8 Merge "Remove .join( '|' ) for API parameters" 2023-04-12 22:34:08 +00:00
Translation updater bot 2ab1343fdd Localisation updates from https://translatewiki.net.
Change-Id: Ic3f8779c55987177cb338e04139850fa75c38b7e
2023-04-12 08:43:38 +02:00
jenkins-bot 1c3ab2dc12 Merge "Drop targets from ext.echo.ui.desktop" 2023-04-11 20:44:18 +00:00
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