Commit graph

248 commits

Author SHA1 Message Date
Umherirrender 88aa29cb72 Replace deprecated Http::get
Bug: T305813
Change-Id: Ief91d92c556244c36dfcec23f770319bd2f2c537
2022-12-11 14:18:17 +01:00
Translation updater bot 0a06382d72 Localisation updates from https://translatewiki.net.
Change-Id: I389f0439c283fca1a2c1aca9b2aea5117aa43ddf
2022-12-08 08:28:41 +01:00
Umherirrender fd816a2a7c tests: Replace assert(Not)Empty with assert(Not)Same
assertSame avoids use of loose comparisons and
allows to check the expected type

Change-Id: Ia6f0cc449f42ef078eb69667d0ce1706022de19b
2022-11-25 10:29:22 +00:00
libraryupgrader 5b754dc615 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 40.0.1
  The following sniffs are failing and were disabled:
  * MediaWiki.PHPUnit.AssertEmpty.AssertEmptyUsed

npm:
* grunt-stylelint: 0.16.0 → 0.18.0
* stylelint-config-wikimedia: 0.11.1 → 0.13.1

Change-Id: I79f223a3bcded9652083d1c1c6034f7829fa3c4c
2022-11-16 04:38:44 +00:00
libraryupgrader fcb8bee942 build: Updating dependencies
composer:
* 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:
* grunt: 1.5.2 → 1.5.3
* grunt-banana-checker: 0.9.0 → 0.10.0
* grunt-eslint: 23.0.0 → 24.0.0
* minimatch: 3.0.4 → 3.0.8
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: Icf47aa812c06c22052f3cfdc23e60d83668599eb
2022-11-11 01:11:47 +00:00
Umherirrender 8e79666f18 build: Remove syntax option from stylelint
Error: The "syntax" option is no longer available. You should install an
appropriate syntax, e.g. postcss-scss, and use the "customSyntax" option

Change-Id: Ia752c3825981ec2e38a8d8996b438fbfd8a02ec6
2022-10-27 00:10:08 +02:00
Translation updater bot 3d6512ec7a Localisation updates from https://translatewiki.net.
Change-Id: I5512b5f16ac5b5386ca4f1236bec4d57d14995e8
2022-10-24 08:22:30 +02:00
Translation updater bot 0771c9e43b Localisation updates from https://translatewiki.net.
Change-Id: I1903d627a1a2cd49109058b5f9dcf9a6619fec99
2022-10-17 08:20:54 +02:00
Universal Omega 03d6d20179 tests: replace deprecated phpunit methods
Bug: T243600
Change-Id: Ib7bb66a1e853a413aa3cb02b45b2e7f5ef2e20e2
2022-10-10 16:10:24 +00:00
Translation updater bot 20b915ad0d Localisation updates from https://translatewiki.net.
Change-Id: I80deea97f271bfa8bc30dd51f71e67b5d10ff771
2022-09-01 09:33:33 +02:00
Translation updater bot e4c53e1e18 Localisation updates from https://translatewiki.net.
Change-Id: I0ddaa42263b6fb5f555742251bdb3941de607957
2022-07-05 08:38:00 +02:00
libraryupgrader 8b1897d141 build: Updating grunt to 1.5.2
Change-Id: Ib16aaf1ae949c60446e287d6837a0c3f740c7460
2022-04-27 09:18:41 +00:00
libraryupgrader 05f7ce101c build: Updating npm dependencies
* eslint-config-wikimedia: 0.21.0 → 0.22.1
* async: 3.2.0 → 3.2.3
  * 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: Ie88a2b06fb4e1e263e23650de6d9b7063a6817ee
2022-04-15 01:49:41 +00:00
Translation updater bot a227aaf18f Localisation updates from https://translatewiki.net.
Change-Id: Ife995031e16debde5c8a30f720434989568c05bb
2022-04-01 08:26:31 +02:00
libraryupgrader a91b78000f build: Updating npm dependencies
* eslint-config-wikimedia: 0.20.0 → 0.21.0
* grunt: 1.4.0 → 1.4.1
* nanoid: 3.1.25 → 3.2.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2

Change-Id: I6bc5ae815e4c6d5e14385672d6472e20450b0465
2022-02-06 08:46:23 +00:00
Jayprakash12345 37f46abdbb Use new Hook system
Change-Id: I9f45c6fafabe6d6f8dde7e894772d4f1b1c5bcd3
2021-12-04 19:18:52 +05:30
libraryupgrader d4d1707f01 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I135fe45cc501452e616447f11f2273af2ef21557
2021-10-24 01:42:04 +00:00
Translation updater bot 9ca3834b5d Localisation updates from https://translatewiki.net.
Change-Id: I2ebed112bf2f8b8e945e660668c42b59662868c1
2021-10-18 15:19:49 +02:00
Alexander Vorwerk 5ac97cf126 MediaWikiTestCase -> MediaWikiIntegrationTestCase
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.

Bug: T293043
Change-Id: I92d2b29501214f00e77c92149038b19d937dcabe
2021-10-12 21:30:58 +02:00
Translation updater bot b6f7f468f0 Localisation updates from https://translatewiki.net.
Change-Id: I16b8c0456080a03d382fcc9bdca35e1c37afa274
2021-10-08 09:20:37 +02:00
libraryupgrader d8686ca885 build: Updating dependencies
composer:
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

npm:
* ansi-regex: 5.0.0 → 5.0.1
  * https://npmjs.com/advisories/5197 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I703ff09cf1a8f28b08abe227164f9ad1e4d4b03d
2021-10-04 15:59:16 +00:00
Translation updater bot aacc004a98 Localisation updates from https://translatewiki.net.
Change-Id: I30063db4642ab48c6e82dc0d396beae92add3530
2021-09-29 09:01:40 +02:00
Translation updater bot f5829051df Localisation updates from https://translatewiki.net.
Change-Id: Ifc0ea6b5bef31337fcb88b7a18905713c579a33f
2021-09-27 08:34:36 +02:00
Translation updater bot a759acf20f Localisation updates from https://translatewiki.net.
Change-Id: Ie50df5b642337c00bf049e70756f4c303836bfe5
2021-09-20 08:18:46 +02:00
libraryupgrader 91c1a780a2 build: Updating stylelint-config-wikimedia to 0.11.1
Change-Id: Ifce1717776ccd848e116f6af456b2da8a2d61029
2021-09-04 19:19:34 +00:00
Translation updater bot d0771220e4 Localisation updates from https://translatewiki.net.
Change-Id: I22568acc77b4c08b82d83cb2bdeb90145e09c408
2021-08-30 08:20:01 +02:00
Translation updater bot 5a40bebbdc Localisation updates from https://translatewiki.net.
Change-Id: I236f2c4e88328fb539341d462e79eab777cdc808
2021-08-13 08:18:33 +02:00
libraryupgrader 53e0072396 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I5a1b3c4642e76112e4b69b663d90d2ccea12ec0b
2021-08-11 16:42:27 +00:00
libraryupgrader 8e712c4e2a build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.0 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: I85d018a0837ca36a024187539bd334ffd99a2f4a
2021-07-22 15:33:56 +00:00
libraryupgrader dacc3dec50 build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: Id09eb6ea324badee35c5b54bc272d6f9cef4b4b4
2021-05-25 10:04:22 +00:00
libraryupgrader bc45704601 build: Updating postcss to 8.2.15
* https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: Ibf0a8f972c3a515011cf807271d41fb3eddfa584
2021-05-15 13:17:27 +00:00
libraryupgrader d0b8df9083 build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* hosted-git-info: 3.0.8 → 2.8.9
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: I79e15690a3a8bbd53635df9bf8eefa751aced1a0
2021-05-09 11:00:35 +00:00
libraryupgrader f4deb1115f build: Updating npm dependencies
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 3.0.7 → 3.0.8
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: I5ce4d64e2c098758258e218f80da9e221e08ef28
2021-05-07 18:43:30 +00:00
libraryupgrader 66ba87913d build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

Change-Id: I11808cfb01de67037062e03f0db4268418e65b49
2021-05-04 03:05:13 +00:00
Translation updater bot 1f8b46ea35 Localisation updates from https://translatewiki.net.
Change-Id: Ica9a1cab4f74771d8a25c5ccfd99f6a2874158d4
2021-04-27 08:37:54 +02:00
libraryupgrader 8dc9d1c39c build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: Ia03b7fa4961eec102bbb12f5f32fa6c2190d853d
2021-04-16 07:35:47 +00:00
Translation updater bot 463c4756c2 Localisation updates from https://translatewiki.net.
Change-Id: I1d56296c9861d706720f51705d19fe179d1084f9
2021-04-14 08:38:02 +02:00
ZabeMath 80da86d44a Avoid using User::setOption()
User::setOption() is deprecated and should be replaced with UserOptionsManager::setOption()

Bug: T277818
Change-Id: I46dca703deb311d7c4e06b3001357fa602a40e0a
2021-04-14 00:46:28 +02:00
ZabeMath 7e23848ac9 Avoid using User::getBoolOption()
User::getBoolOption() is deprecated and should be replaced with UserOptionsLookup::getBoolOption()

Bug: T277600
Change-Id: I562b19ca41a7ef18be940ec398d58d6873b2555b
2021-03-30 20:31:57 +00:00
Translation updater bot 72c69e644a Localisation updates from https://translatewiki.net.
Change-Id: Ie5234281ec8763b1dba919c941e3d893c1c3d57c
2021-03-25 08:40:42 +01:00
Translation updater bot c81a9d0233 Localisation updates from https://translatewiki.net.
Change-Id: Ife6ef2e48d30375240f8052d1b38dbfcc8cd81dc
2021-03-22 08:36:13 +01:00
Translation updater bot e881421540 Localisation updates from https://translatewiki.net.
Change-Id: Ia478b2177059bc0ed502ca380f7e8c4e040c3414
2021-03-15 08:40:09 +01:00
libraryupgrader 79e70f3d0a build: Updating eslint-config-wikimedia to 0.19.0
Change-Id: I584dd3c1d0e902fca9a113eb1b125ecedf014f72
2021-03-13 09:02:34 +00:00
Translation updater bot b0a79bd241 Localisation updates from https://translatewiki.net.
Change-Id: Ie1457dceab2f96a8978f795e41d3a7a31e11b677
2021-03-09 08:32:18 +01:00
libraryupgrader 9085738a90 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I55933511011b2178f8b2738a94eaf2b7b9210607
2021-03-06 11:37:41 +00:00
Translation updater bot 4f6c27f235 Localisation updates from https://translatewiki.net.
Change-Id: I1e4722f28b97411a47611a63b48acb197a853502
2021-02-22 08:51:31 +01:00
Translation updater bot 002ca7a37c Localisation updates from https://translatewiki.net.
Change-Id: I0ce757b7ba15c5e5432619e781541c6f5be01991
2021-02-08 08:40:07 +01:00
Ostrzyciel edd0a7d949 Move the warning outside sitenotice, tidy up code
There's a lot of things going on here, so a quick summary:
* Moved the warning outside sitenotice to avoid reflows and all
  kinds of other issues, including those with dismissable notices.
* Placed the warning on the bottom of the page, on all skins, for
  consistency and to avoid obstructing vital UI elements such as
  site name, user tools, search box.
* Changed the UI to use OOUI for, again, consistency and to avoid
  reinventing the wheel with button styling.
* Removed the cookie emoji as it was only taking up valuable space
  on mobile and making designing a sensible layout much harder.
* Merged the mobile and desktop RL modules into a single, responsive
  one. The warning will work correctly for any skin and screen width.
* The integration tests are truly horrible, I tried to at least
  make them work. They deserve a proper rewrite, but that should be
  done after the extension switches to the new hook system.

I will post screenshots of this in action in the first of the linked
tasks.

Bug: T271047
Bug: T173335
Change-Id: I6e2a3d7aeccc0d4df1b3238e52c67e72099d27d8
2021-02-01 11:23:53 +01:00
libraryupgrader 1f5075224e build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Change-Id: I14d178b2b709c52e9ddd2ec0a3faa04d0cd77bd8
2021-01-29 08:09:27 +00:00
Translation updater bot 7027bd19ca Localisation updates from https://translatewiki.net.
Change-Id: I4535dbd01f4a6fc60b2698248ddc3b7a1c3d4a6d
2021-01-28 08:35:37 +01:00