Commit graph

234 commits

Author SHA1 Message Date
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
Florian Schmidt 7ad4b888d0 Remove freegeoip.net as default geo ip service
The service was shutdown in 2018 and is not reachable anymore. Having a
default value in the extension to a service that doesn't exist anymore
seems awkward.

Bug: T201752
Change-Id: I998926f17a462909773f7121771deaa4b4b1c2c7
2021-01-05 19:56:21 +01:00
Translation updater bot f8960e0b82 Localisation updates from https://translatewiki.net.
Change-Id: I6891edb893ef61d27a78621ffb77e9aa79376650
2020-12-14 08:41:21 +01:00
libraryupgrader bec5e5218d build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: I1b34a0dfeb24d2a8b32cdd0511c15f5755c58c4f
2020-12-13 00:50:58 +00:00
Translation updater bot 1aaaf9cccb Localisation updates from https://translatewiki.net.
Change-Id: I745e8b77de5487978e2dd9664711eb9f82fa9a7d
2020-12-08 08:20:58 +01:00
Translation updater bot 3584d892af Localisation updates from https://translatewiki.net.
Change-Id: I6ad90167830d954dd8f7a7fd14ce2540400f6b60
2020-12-07 08:44:08 +01:00
libraryupgrader dc0dbd823c build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: I03e6f9bb4684afc5f42be4c25f2a9a29e979ea33
2020-12-06 05:07:48 +00:00
Paladox 0dc0e795a1 Replace deprecated hook
Bug: T254302
Change-Id: I140af90b5f175974eb20873f2c1c6449be5a6669
2020-11-22 15:48:59 +00:00
libraryupgrader ffdc375793 build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: I2b54969813fb05709c116750511e86fefe940afa
2020-11-22 00:49:54 +00:00
libraryupgrader 2a68ccabdd build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
Change-Id: I2c68f5d29ba5d2135c830314124efca114102640
2020-11-03 16:06:58 +00:00
libraryupgrader d01963f06e build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate

Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).

Change-Id: Ibaf2ade250d030974492a05c839ad2adf9765572
2020-10-29 09:50:58 +00:00
Translation updater bot b55c007807 Localisation updates from https://translatewiki.net.
Change-Id: I57ac3fd8e9766087098a663647706b4a4d4ec24b
2020-10-21 08:26:44 +02:00
Translation updater bot 6ad6a81db6 Localisation updates from https://translatewiki.net.
Change-Id: I84eb43ccd4f775802233ae2313537b58d45f1107
2020-10-02 08:24:04 +02:00
Translation updater bot e56eefac31 Localisation updates from https://translatewiki.net.
Change-Id: Iaa76bca0eb9a60a491184cf79cc3ea74ddeff8c4
2020-09-21 08:29:13 +02:00
Translation updater bot 7de67ef4bd Localisation updates from https://translatewiki.net.
Change-Id: I1c37385f3a1176aa071a450eb34c221c389392c8
2020-09-14 09:13:48 +02:00