Commit graph

850 commits

Author SHA1 Message Date
libraryupgrader be6d67fa23 build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)

Change-Id: I635ab056b48d4b0ed47922d2588455c794af776f
2021-05-11 06:27:13 +00:00
Translation updater bot 8f8b56fb58 Localisation updates from https://translatewiki.net.
Change-Id: Icd1562e0edf926cd6c474d89b56bcf59e529c2e4
2021-05-10 08:52:22 +02:00
Translation updater bot e62b95500b Localisation updates from https://translatewiki.net.
Change-Id: I8424d4205dbb6e9dd4a8bc1338152bd0af0ffe0a
2021-05-07 08:42:03 +02:00
libraryupgrader 577a074b69 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: Ib1e2319da19d8c5589d1d41d3c0fe8f882792721
2021-05-05 06:09:03 +00:00
Translation updater bot 1cd748a666 Localisation updates from https://translatewiki.net.
Change-Id: I8721ed3715ce4d7234c178a6bafed7636e21b7f1
2021-05-04 08:52:20 +02:00
Translation updater bot 7874516b69 Localisation updates from https://translatewiki.net.
Change-Id: Ifa1cc340bca3a36820a7047b6d6f603737e21566
2021-05-03 08:37:14 +02:00
jenkins-bot 46aa330369 Merge "Make Linter category counts more accurate when counts are low" 2021-04-27 18:00:36 +00:00
sbailey 201b47e01d Make Linter category counts more accurate when counts are low
* The code now produces an accurate count if the number of
   errors for a category is below the threshold set by a
   public constant MAX_ACCURATE_COUNT (currently 20).
   The database record count limit was originally set to 1,
   to determine accurately, if there were actually 0 errors
   in a category as the estimate code would never report 0.
   If not 0, it would use the estimated count which does not
   produce an accurate count for any other number of errors.
   For low error counts this is annoying to editors and
   unnecessary. The additional CPU/disk activity to accurately
   check for low error counts is not significantly more than
   checking for 0 or 1, as checking for 0 likely requires
   a complete table scan which is probably expensive compared
   to a low count that early outs when it hits to record limit.

 * An improvement to consider is recording the accurate count in
   a separate tiny table, and maintaining an accurate count there
   which is used in preference to doing the select with row limit
   based on say a 30 second TTL, to prevent a stampede of requests
   from doing extraneous database operations.

 * Added unit test coverage for accurately counting low error
   conditions that are lower than the threshold and also verify
   that the estimate is inaccurate beyond the error count
   threshold.

Bug: T194872
Change-Id: I4f74cfe3bf9601baa0dc8fa6464a68030ac2bc4b
2021-04-27 10:38:24 -07:00
jenkins-bot ba7dcbba7d Merge "Localisation updates from https://translatewiki.net." 2021-04-26 07:15:41 +00:00
Translation updater bot 563371c1b7 Localisation updates from https://translatewiki.net.
Change-Id: I6619d255ded44f176807a1894e44ae51ef131e35
2021-04-26 09:10:30 +02:00
Translation updater bot c069a95f65 Localisation updates from https://translatewiki.net.
Change-Id: I083469356c0152cf516661f02f50270c289a4204
2021-04-26 08:56:57 +02:00
Translation updater bot 1d8b3c879c Localisation updates from https://translatewiki.net.
Change-Id: I4dbd31ad400851e596d354fd012dd6d6269083ef
2021-04-22 09:31:47 +02:00
Translation updater bot ce12f9b81a Localisation updates from https://translatewiki.net.
Change-Id: I1052058b3284a7b81b10e3f974508c0d8f8963b8
2021-04-19 08:50:47 +02:00
jenkins-bot 0e78237815 Merge "Fix bunch of PHPCS errors" 2021-04-17 12:19:30 +00:00
zoranzoki21 63e3150ab6 Fix bunch of PHPCS errors
Change-Id: I58b4f8b951d3bb7ce73ce2f14faf6a0f76963345
2021-04-17 13:42:01 +02:00
libraryupgrader 8c9a0d7e00 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I2642ad986057e2d1d9068e14e3901197fa8084d7
2021-04-17 01:54:39 +00:00
Translation updater bot 0990c3aa7f Localisation updates from https://translatewiki.net.
Change-Id: I4ee66bd5fd91c4d5aea05905343fc61d29c0287e
2021-04-12 08:38:01 +02:00
Kunal Mehta cb9329672a Update Legoktm's email address
Change-Id: Iceef061f4882b83661e5be6a931d85628b566f4c
2021-04-11 19:08:44 -07:00
Translation updater bot 077c30220e Localisation updates from https://translatewiki.net.
Change-Id: Id79a687a444c4d90f422776354f7443ff5daa04e
2021-04-06 12:02:40 +02:00
Translation updater bot 23811b6bf7 Localisation updates from https://translatewiki.net.
Change-Id: I7fc20223cc28ccaf769d808f614cb55f11abd9d7
2021-04-01 08:37:37 +02:00
Translation updater bot d191605beb Localisation updates from https://translatewiki.net.
Change-Id: Id69aa4187bcfd6761d4eeaedb1d6b1e0f4fede22
2021-03-29 08:36:28 +02:00
jenkins-bot ef5fb20dd3 Merge "Convert LintErrorTest to pure unit tests" 2021-03-27 02:43:48 +00:00
DannyS712 830f879e22 Convert LintErrorTest to pure unit tests
No integration needed.

Requires bumping minimum version of mediawiki to when
MediaWikiUnitTestCase was introduced in 1.34.

Change-Id: Ibc0a1028cc61a7bdc149081aeaa1109de18ee119
2021-03-27 02:28:25 +00:00
Translation updater bot 8c3b5922f1 Localisation updates from https://translatewiki.net.
Change-Id: I6013a5bbe1565e1bece7dc89a91a6c9df5b7df69
2021-03-26 08:50:13 +01:00
Translation updater bot eba51e04ac Localisation updates from https://translatewiki.net.
Change-Id: I38f6f9b0b981976ddf917544d7f0e69b3cda3c04
2021-03-22 08:36:57 +01:00
Reedy 98047654bc Use neutral language
Bug: T277947
Change-Id: I1d8f01385f1528521b65e6fd23a7aa5661332a84
2021-03-20 04:11:12 +00:00
jhsoby 7947870abd Add Norwegian special page name translations
Add translations for Norwegian Bokmål [nb] and Norwegian
Nynorsk [nn].

Change-Id: I9641ea6fd6424a34573adcc33216f6baf531f1a8
2021-03-16 09:53:03 +01:00
Translation updater bot 4e1913f63e Localisation updates from https://translatewiki.net.
Change-Id: I50aeb0f7e50a8fbc6b01a3e9f03be517b02d88b6
2021-03-15 08:40:45 +01:00
libraryupgrader f7e9ac50e3 build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I02b5785042760e16a734248f1087b1c11f2f52fd
2021-03-14 00:44:51 +00:00
Translation updater bot bda8912589 Localisation updates from https://translatewiki.net.
Change-Id: I9c5d0793038e6e9814c0b9986e31ef67ede022e8
2021-03-11 08:37:44 +01:00
Translation updater bot 905a8ad23b Localisation updates from https://translatewiki.net.
Change-Id: Iba097e6d43187c3b2e12be84b637def9107a7016
2021-03-08 08:46:36 +01:00
libraryupgrader 25a864ce9d build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I04a456bba4275fac2b12b3bc1ddec99f32c38a25
2021-03-07 02:56:32 +00:00
Translation updater bot 791a0898f7 Localisation updates from https://translatewiki.net.
Change-Id: I705809fdbaa0b407633cba5497208543822770cb
2021-03-04 08:38:36 +01:00
Translation updater bot 44b9376b0f Localisation updates from https://translatewiki.net.
Change-Id: Ic7092cf682fb1205bf010a07e76ea22b226de885
2021-03-02 08:49:52 +01:00
Translation updater bot 24b1e608b1 Localisation updates from https://translatewiki.net.
Change-Id: Ie7044bdf0c9ecda624c27e87557b3d78c5958b1d
2021-03-01 08:52:11 +01:00
Translation updater bot fe87c77882 Localisation updates from https://translatewiki.net.
Change-Id: I8808fad27784d6da946332be2b2ee49dd68e1ce3
2021-02-24 08:51:41 +01:00
Translation updater bot 154e7da75b Localisation updates from https://translatewiki.net.
Change-Id: I5cd8bf933a0c2dc7f69f53cc41360770bbecda87
2021-02-19 08:32:12 +01:00
Translation updater bot c642d3bcf5 Localisation updates from https://translatewiki.net.
Change-Id: I304ed021148728a83628634c363eebf4ed399250
2021-02-15 10:05:38 +01:00
Translation updater bot 62f7c08099 Localisation updates from https://translatewiki.net.
Change-Id: I9cea789a81739b261b4f1be453f7ac8a6e774474
2021-02-10 08:38:41 +01:00
Translation updater bot f7a90cda80 Localisation updates from https://translatewiki.net.
Change-Id: I1431b6f179478afbcdbd733e4d0668491b92aeac
2021-02-09 08:40:38 +01:00
Translation updater bot e74802a3e4 Localisation updates from https://translatewiki.net.
Change-Id: I35262d820d43ad1cca64f3adbba7d776eaaa0f4a
2021-02-08 08:42:03 +01:00
Translation updater bot 0517710ca5 Localisation updates from https://translatewiki.net.
Change-Id: Ib213a2c8e2774d01ad72861f356f4056f58c07dd
2021-02-04 08:39:52 +01:00
Translation updater bot 7835d5d4d9 Localisation updates from https://translatewiki.net.
Change-Id: I62d1d9d5a6ba89907a18dbda1ac50fbdefdaa6f2
2021-02-01 08:48:02 +01:00
libraryupgrader 45c2f5e4cc 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

Additional changes:
* Added the "composer phan" command to conveniently run phan.
* Removing manual extensions for eslint.

Change-Id: I5258fbc9c96e63294f021e9e95f050d7fbd116a5
2021-01-30 03:48:34 +00:00
Translation updater bot a73b8c8a46 Localisation updates from https://translatewiki.net.
Change-Id: Ib6190f87987f86f824e637f5e6842b62e5c7eff2
2021-01-28 08:36:13 +01:00
Translation updater bot 90d4f8fe6b Localisation updates from https://translatewiki.net.
Change-Id: I4da7dc7cc4e643f39d8151d8daea7426fbfd3142
2021-01-27 08:34:48 +01:00
Translation updater bot c47864b936 Localisation updates from https://translatewiki.net.
Change-Id: Ie0bedef7de9304678ad439560fbecf8700132716
2021-01-19 08:19:32 +01:00
Translation updater bot ca5469a53d Localisation updates from https://translatewiki.net.
Change-Id: I48c2bbe8f8b8ea508ff5bc13bc7a7fd0bb7019fa
2021-01-18 08:38:35 +01:00
Translation updater bot f4f83b53ed Localisation updates from https://translatewiki.net.
Change-Id: I3db3410005661711abdc43d8567c1f68042f1753
2021-01-15 08:39:27 +01:00
Translation updater bot 7d014a583a Localisation updates from https://translatewiki.net.
Change-Id: Ib195ccf93fda573e43c947a104152777a2fca957
2021-01-14 08:50:34 +01:00