Commit graph

7259 commits

Author SHA1 Message Date
jenkins-bot 3f26904026 Merge "Pass Echo configuration to mobile" 2022-06-13 17:08:14 +00:00
Jon Robson 6767e52d8c Pass Echo configuration to mobile
When Echo moved to packageFiles it broke the mobile
unread counter behaviour

Follow up to I03f9a3953aa97ead1a29c13a992a02404a6d0b68
which presumably happened when Minerva's Echo code was
in a different code repository.

Bug: T310358
Change-Id: Ife6705d69d248bcd4efde1a996dbcc0353c7f40d
2022-06-13 16:01:05 +00:00
Translation updater bot 393fc5e459 Localisation updates from https://translatewiki.net.
Change-Id: I244916cdd162dd109112015851bb9fd6abcaafe3
2022-06-13 08:27:58 +02:00
Umherirrender 0a387990a5 schema: Move all sql files to own folder
Change-Id: Icb227fb5c23eabba8df9e06833779d009218755b
2022-06-11 08:26:48 +02:00
Translation updater bot e515e47392 Localisation updates from https://translatewiki.net.
Change-Id: I4b284e770c8a49db794602b2884f0e9a537d43a6
2022-06-10 08:49:32 +02:00
Translation updater bot 5ce2cd5fd8 Localisation updates from https://translatewiki.net.
Change-Id: I3ae1c3ffc449a63b3d8265da9baf8c2144d225cb
2022-06-08 08:26:58 +02:00
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
Kosta Harlan cd96b697db
WatchlistChange: Include namespace in presentation
Bug: T203941
Change-Id: I50d9e8ae3f243c053f19aa6bf5092315c4d7f94e
2022-06-03 09:38:27 +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
Umherirrender b0f33729d9 Bump minimum required version for upgrade to 1.31
Change-Id: Ib02f8b37f22238b878dafacc1337dc371ea9d192
2022-05-27 19:20:29 +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