Commit graph

6401 commits

Author SHA1 Message Date
Translation updater bot 1111c5b39e Localisation updates from https://translatewiki.net.
Change-Id: I1e18613346913d9ed640a69bd68ca0432dbe6fd7
2022-06-06 09:25:39 +02:00
Umherirrender c81dad3efc Replace deprecated WikiPage::factory/newFromID
Replaced WikiPage::newFromID with newFromTitle,
because a Title object exists and could be reused

Bug: T297688
Change-Id: Ide30f259477ed8e0b48df31f5a23cafeb38d7316
2022-06-03 23:25:37 +02:00
Translation updater bot a5f5710aff Localisation updates from https://translatewiki.net.
Change-Id: Ica375b59b249ced376b5bf8681d2d6523dad8b15
2022-06-03 08:57:31 +02:00
Translation updater bot e00c4dace1 Localisation updates from https://translatewiki.net.
Change-Id: I7a90b03c101b88d216ea891867cc5680098fe30a
2022-05-30 09:23:00 +02:00
Translation updater bot b030223432 Localisation updates from https://translatewiki.net.
Change-Id: I09aea889be9d0add16367e07209d60a37cf51985
2022-05-27 10:25:44 +02:00
libraryupgrader 867ff0b67c build: Updating grunt to 1.5.3
Change-Id: I7935ef106f04fe2303b3b89fe84a03ea34ff6561
2022-05-26 10:21:32 +00:00
Translation updater bot de73e09394 Localisation updates from https://translatewiki.net.
Change-Id: I7daf85562f41b62174a84d7fd2a17835fee8131d
2022-05-26 08:51:18 +02:00
jenkins-bot 75087f51f5 Merge "Use new ResourceLoader namespace" 2022-05-25 12:05:36 +00:00
Translation updater bot 52232d6a14 Localisation updates from https://translatewiki.net.
Change-Id: Iec54e9a6d8d25742edcc0f82a47e9c5363657483
2022-05-25 08:32:00 +02:00
Željko Filipin 6ee782b218 selenium: Use @wdio/spec-reporter
Dot reporter provides no information on which tests suites and tests are
executed. Spec reporter is more verbose but it also provides much more
information that is useful in general, but especially when debugging.
For example, which tests are executed and which tests are skipped.

Bug: T280331
Change-Id: Ib1746654a4844f26e060b4e687337de2d8c4928a
2022-05-23 13:17:20 +02:00
Translation updater bot 7f718163c3 Localisation updates from https://translatewiki.net.
Change-Id: I950860f497bf99cbb04ffe201fee08c50930ebc1
2022-05-23 08:16:43 +02:00
libraryupgrader a9583da558 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.PHPUnit.AssertEmpty.AssertEmptyUsed

* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* async: 2.6.3 → 2.6.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

Change-Id: Ic8e0ff8ae5be3f40a596b1bc9150b8029bab1624
2022-05-21 03:08:16 +00:00
Translation updater bot 47466daed0 Localisation updates from https://translatewiki.net.
Change-Id: I16654f915a91e495c0fe4f28c64c8f05ec2395c2
2022-05-20 08:36:25 +02:00
libraryupgrader eccb023a94 build: Updating npm dependencies
* async: 2.6.3 → 2.6.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 3.1.6 → 3.1.8
  * https://github.com/advisories/GHSA-phwq-j96m-2c2q
* jake: 10.8.2 → 10.8.5
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h

Change-Id: I43c52af4c1a448d4786d3b6364c28d42f56c2afc
2022-05-20 05:45:48 +00:00
Tim Starling 60e2f04942 Use new ResourceLoader namespace
Extensions using Phan need to be updated simultaneously with core due
to T308443.

Bug: T308718
Depends-On: Id08a220e1d6085e2b33f3f6c9d0e3935a4204659
Change-Id: I08d1a4122d1c8052d1cdfc6f8249abdaa80067a7
2022-05-20 13:12:43 +10:00
Aaron Schulz ef06fb78aa Remove redundant call to JobQueueGroup::deduplicateRootJob()
Change-Id: Ibef15fa9f0b4ba2f6092565df2b99b0f5596c435
2022-05-18 23:46:51 -07:00
Nicholas Ray 8fb87e32a8 Prevent layout shift of the notification icon in the mobile site
The notification icon was previously server rendered without the
`mw-ui-button` and `mw-ui-quiet` classes and then these classes were
added when the JS kicked in which resulted in a 1px layout shift as
`mw-ui-button` applied a 1px border. `mw-ui-quiet` is needed to make the
border transparent.

Change-Id: If44919798815eb6959e6dd9873db5f0bc533d742
2022-05-18 14:25:52 -06:00
Translation updater bot 28cc8c2fa7 Localisation updates from https://translatewiki.net.
Change-Id: I3eafb79325d76e6f857b0801c48a7e4737d5732a
2022-05-18 08:19:33 +02:00
Translation updater bot 55cc3ec310 Localisation updates from https://translatewiki.net.
Change-Id: I4e885079e32c79f5fe16269505aee957bef75d77
2022-05-17 08:27:58 +02:00
jenkins-bot 8ae621f8d3 Merge "Don't change width of Vector when more than 0 notifications" 2022-05-16 20:04:30 +00:00
Jon Robson 287c59be44 Don't change width of Vector when more than 0 notifications
Bug: T307134
Change-Id: I133162d06166bc2c3cabd58b61fc8437fdb3db1f
2022-05-16 12:18:48 -07:00
Translation updater bot bf9ce6c2b3 Localisation updates from https://translatewiki.net.
Change-Id: I7f5cef042068e7115421d1189e99cde98ac31f3f
2022-05-16 08:24:15 +02:00
jenkins-bot b3be350054 Merge "WatchlistChangePresentationModel: Place in "message" section" 2022-05-15 19:34:35 +00:00
jenkins-bot 90e30afcde Merge "Use watchlist-progressive icon for WatchlistChangePresentationModel" 2022-05-15 19:30:21 +00:00
Timo Tijhof 46484e8b53 tests: Use native QUnit.test.each(), ES5, and other cleanups
* Declare variables inline, as per the current code conventions.

* Convert ad-hoc cases objects into native QUnit.test.each().
  This makes for shorter and cleaner code, as well as for more
  detailed test reporting, and removes the need to manually construct
  assertion messages based on test case prefix string etc.

* Start adopting ES5 Array.forEach in a few places where otherwise
  ESLint would complain about variable name clashes.

* Future proof the test module names, by stripping the global variable
  namespace that some classes still use, matching packageFiles convention
  as used for NotificationBadge.js and its tests already, by specifying
  only the bundle name and the exported class name. Note that the
  QUnit UI does fuzzy matching so filtering works the same either
  way, e.g. "echodmfilter" will match "ext.echo.dm - FilterModel".

Change-Id: I49858dd2c95d0869f2cd15693f05c38312a9f710
2022-05-13 19:18:28 +01:00
Timo Tijhof 4c9968c71b tests: Remove use of QUnit 1.x setup()/teardown()
Bug: T250045
Change-Id: I51ff05ca32f08fe29e5edf35bbcb332112228981
2022-05-13 18:23:51 +01:00
Translation updater bot 2166b5897e Localisation updates from https://translatewiki.net.
Change-Id: I6874ab82d5a17d8b8ec05081cb83aa239c98fa11
2022-05-13 08:25:50 +02:00
Translation updater bot e2f4c2ff57 Localisation updates from https://translatewiki.net.
Change-Id: Id9e308757be98986564205c78647cd88ffd7ad4b
2022-05-12 08:13:15 +02:00
Kosta Harlan 0abeb2bfeb
Use watchlist-progressive icon for WatchlistChangePresentationModel
Bug: T203941
Change-Id: I8c252c5a48296fd47f0e30462a9771baf7fd7804
2022-05-11 13:57:09 +02:00
Kosta Harlan aeffe917d6
WatchlistChangePresentationModel: Place in "message" section
Bug: T203941
Change-Id: I53da2f64e5f299bac4e355e858223dc91bdd3f57
2022-05-11 13:53:31 +02:00
jenkins-bot d8fc0cfc18 Merge "build: Update stylelint-config-wikimedia to 0.13.0" 2022-05-11 11:29:28 +00:00
jenkins-bot 0037984895 Merge "eslint: Use .eslintignore" 2022-05-11 11:26:36 +00:00
Translation updater bot b21fb63348 Localisation updates from https://translatewiki.net.
Change-Id: I52bbba7ed32566c1a976d191f2d07bb3f2650d9f
2022-05-10 08:09:25 +02:00
Ed Sanders 2af0c6d816 build: Update stylelint-config-wikimedia to 0.13.0
Change-Id: I60f34cb3c3c5c12cf1f9f38426a56c76dcf063fd
2022-05-09 14:05:59 +01:00
Ed Sanders 46a3b6d5de eslint: Use .eslintignore
Change-Id: I4db921d6d22f367a4c5647080e791ca5c9e6b3ce
2022-05-09 14:00:02 +01:00
Translation updater bot d99e647d2a Localisation updates from https://translatewiki.net.
Change-Id: Ifd2bd65567f06b00c693affc0755cbdd0847d93c
2022-05-09 08:11:38 +02:00
Jon Robson 5752542981 Prepare for removal of SkinMinervaReplaceNotificationsBadge hook
Bug: T301263
Change-Id: I7b9cf401936be2421d0ad4efe963486404d50e6a
2022-05-06 14:26:16 +00:00
Translation updater bot 65b467f1ab Localisation updates from https://translatewiki.net.
Change-Id: Iab521e04cc1cb8b6d862801605068abd617491e1
2022-05-06 08:19:09 +02:00
Translation updater bot 7dc3cd8807 Localisation updates from https://translatewiki.net.
Change-Id: Iedd6d6967b2d85bb69c496209327f86c5658fedd
2022-05-05 08:06:28 +02:00
jenkins-bot ddb3b68edc Merge "Use IteratorDecorator from core" 2022-05-03 15:23:04 +00:00
Translation updater bot 5bbbc3d502 Localisation updates from https://translatewiki.net.
Change-Id: I90fcfe47bfe772a131791eb9ab64cdf2a1a5603f
2022-05-03 08:45:14 +02:00
Aryeh Gregor 3af6a04c69 Use IteratorDecorator from core
As far as I can tell, EchoIteratorDecorator is functionally identical to
IteratorDecorator from includes/libs/iterators/ in core, so why have a
separate copy? (EchoIteratorDecorator does pass through the return value
of next() or rewind(), if any, but there shouldn't be any per the
Iterator interface.)

Change-Id: Ic763ec19c15f67d9c9b42ebffb88c52b9056ed22
2022-05-02 13:44:41 +03:00
Translation updater bot fcde0cc8a7 Localisation updates from https://translatewiki.net.
Change-Id: I3e380c6897217dc1924c5b49500d396cb6596107
2022-05-02 08:19:29 +02:00
Aryeh Gregor de4a85b7f8 Don't mention deprecated UserRightsProxy
Instead, prepare for UserIdentity being returned by the
UserGroupsChanged hook instead of a User
(If0b3533804aa750faed1d5f96bac98129639586d), check that the user is
local, and convert to User with a UserFactory.

Bug: T255309
Change-Id: I9e246022e7dd15ea1979dbe87b5ab0eedbbde117
2022-05-01 18:42:52 +03:00
Translation updater bot 48739c7c7d Localisation updates from https://translatewiki.net.
Change-Id: I3e2922775b77f6347367110db281988c73e614bb
2022-04-29 08:42:52 +02:00
jenkins-bot cfd9dbf9ca Merge "Replace deprecated Less .box-sizing() mixin with standard CSS" 2022-04-26 11:12:58 +00:00
jenkins-bot eb9b6bc7f0 Merge "Move EchoPush\Api namespace to MediaWiki\Extension\Notifications\Push\Api" 2022-04-25 23:07:57 +00:00
jenkins-bot f038b8e1c7 Merge "Move EchoPush namespace to MediaWiki\Extension\Notifications\Push" 2022-04-25 14:46:25 +00:00
jenkins-bot 16a1692988 Merge "Move EchoOOUI namespace to MediaWiki\Extension\Notifications\OOUI" 2022-04-25 14:46:23 +00:00
jenkins-bot 136ba5bc31 Merge "Namespace Hooks class" 2022-04-25 14:46:20 +00:00