Commit graph

989 commits

Author SHA1 Message Date
libraryupgrader d892683d6e build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: I4e156df215bd0f990660fbe0f254824f1408119a
2021-09-09 02:35:37 +00:00
Translation updater bot ca3254fcf3 Localisation updates from https://translatewiki.net.
Change-Id: I12c030602ba5d457a5cc0766cba93a94c2b8d12d
2021-09-06 08:20:57 +02:00
libraryupgrader 9acb991531 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I7223ad1450f5793f1bdf468ceeab2845514958c1
2021-09-02 01:58:41 +00:00
Translation updater bot 669d05bc91 Localisation updates from https://translatewiki.net.
Change-Id: I28822026183dd533624bd1f279aeeb9d4a79127b
2021-09-01 08:16:25 +02:00
Translation updater bot 94dc5a7201 Localisation updates from https://translatewiki.net.
Change-Id: I73695a3070fe87538002281b80b8a338226f40e9
2021-08-30 08:20:19 +02:00
Translation updater bot 82dc29253d Localisation updates from https://translatewiki.net.
Change-Id: Ic309ada31d54683f8987ca8a4e5e6ac76e31ca5d
2021-08-27 08:43:55 +02:00
Translation updater bot a3ce024fe6 Localisation updates from https://translatewiki.net.
Change-Id: I9a41f91a981b0faf5cb32dbf58b9bd470781c87c
2021-08-26 08:36:27 +02:00
sbailey cc2e08546b Fix broken RecordLintJobTest
* Adapted other core phpunit test user, title and page creation
   code to avoid creating a MOCK title such that the job runner
   finds the page(title) in the database and runs the job without
   hackery of populating the title in the constructor of
   RecordLinkJob. When the getForPage() runs, it finds the
   page and its lint errors through the standard code paths.

Bug: T225337
Change-Id: Ibb57523ee2f066c7bd0465c14f0dcb2bab51286b
2021-08-11 15:39:49 -07:00
Translation updater bot 74d0b9abe2 Localisation updates from https://translatewiki.net.
Change-Id: Ibc80a091009c1349b8da1f78b77072e77e32c0d6
2021-08-10 08:06:40 +02:00
Translation updater bot dcaaef65b1 Localisation updates from https://translatewiki.net.
Change-Id: If58da3046679fb23f4517b0db5d5210241417506
2021-08-09 08:24:23 +02:00
Kunal Mehta 4f4b700fbd Fix off-by-one error around MAX_ACCURATE_COUNT
Currently we select 20 rows, and return the accurate count if it's less
than that, so up to 19 rows. Since we want to return an accurate count
if it's 20 rows or less, select one more row, 21, so we can differentiate
between only having 20 result rows or hitting the limit. This is the same
technique used in MediaWiki's Pager system.

Change-Id: I50fa96238eb4c7178414ee92c53799fd69520926
2021-08-06 13:05:29 -07:00
Translation updater bot 2becc3fd28 Localisation updates from https://translatewiki.net.
Change-Id: I87cd01b5d22f3bb341ca05d513ebff4d431bb993
2021-08-03 08:11:48 +02:00
Translation updater bot cc23a9b5b2 Localisation updates from https://translatewiki.net.
Change-Id: I5cd7e35c098a900112853f88c43ccd4a8bf94ce2
2021-07-27 08:13:30 +02:00
Translation updater bot 20037f44ae Localisation updates from https://translatewiki.net.
Change-Id: I7f948a22c7a4f82f56d71fc393e21dfbd18a3ffd
2021-07-26 08:12:21 +02:00
libraryupgrader 0139c2a870 build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
Change-Id: I218e85f991357c07c45d0821f3c6bfafe7e015b5
2021-07-23 01:42:34 +00:00
Translation updater bot ebcbb387a2 Localisation updates from https://translatewiki.net.
Change-Id: I9c31cbeeb471a5f4ffb7b8f38e2ebaddc8db8014
2021-07-22 08:13:20 +02:00
Translation updater bot 0d4ee019ba Localisation updates from https://translatewiki.net.
Change-Id: I56b743d0390e1bba4b937a480c24fa826e654f7e
2021-07-21 08:05:43 +02:00
Translation updater bot 63e1b56a86 Localisation updates from https://translatewiki.net.
Change-Id: I8d6449943e004102f4efae70f983882769089f9b
2021-07-20 08:20:39 +02:00
Translation updater bot 6a70a459ca Localisation updates from https://translatewiki.net.
Change-Id: I7c207b396784b6d7e6a84f33dba04f433190e277
2021-07-09 08:07:01 +02:00
Translation updater bot ec5b62ef3c Localisation updates from https://translatewiki.net.
Change-Id: Ie40534fdcf5436e3537be696d5edd3c0bc3fedd7
2021-07-08 08:46:49 +02:00
Translation updater bot 84d6ce47ce Localisation updates from https://translatewiki.net.
Change-Id: I5a8d62ce07cf5f278d5486729fb996dde5650083
2021-07-07 08:07:58 +02:00
Translation updater bot 26dbcf9d2f Localisation updates from https://translatewiki.net.
Change-Id: Ie9ed322e9c56760ed27346a8dbfdba3a905a6a15
2021-07-05 08:07:00 +02:00
Translation updater bot d8b0be7c5b Localisation updates from https://translatewiki.net.
Change-Id: I6a1266c7278cf19c5965f4c08220a77cd5977e33
2021-07-02 08:31:18 +02:00
Translation updater bot 68989ddb30 Localisation updates from https://translatewiki.net.
Change-Id: I5a7bb38ad62ed7875a76cef85b0634f2834f4f52
2021-07-01 08:09:34 +02:00
Translation updater bot 00422a6a9d Localisation updates from https://translatewiki.net.
Change-Id: If94234c1f6904f41fac8191e6269292046a61127
2021-06-28 09:23:13 +02:00
Translation updater bot 20cc90ae97 Localisation updates from https://translatewiki.net.
Change-Id: I2106be986168e67cd64b2de666479e0777dd706c
2021-06-24 08:27:05 +02:00
Translation updater bot 108ec97fde Localisation updates from https://translatewiki.net.
Change-Id: I42faad95d9e227b749b15bef398d64ea211aa9bc
2021-06-22 08:09:33 +02:00
Translation updater bot 39b50fabd8 Localisation updates from https://translatewiki.net.
Change-Id: I2dd674572beba60200fb07894e9aaed6772f0709
2021-06-17 08:20:47 +02:00
Translation updater bot 46bcbeb3aa Localisation updates from https://translatewiki.net.
Change-Id: Ib6041447f3a5f4f15bfe6b5ddd34f70a3e445258
2021-06-11 08:33:48 +02:00
Translation updater bot 523cdaaef4 Localisation updates from https://translatewiki.net.
Change-Id: I2a6223aecd798eee43c233d87b4a1997a08714e4
2021-06-08 08:36:13 +02:00
Translation updater bot 397e51c067 Localisation updates from https://translatewiki.net.
Change-Id: I70069e00da44a9785e04633c64798d68628b2617
2021-06-02 14:35:22 +02:00
Translation updater bot ea13f09085 Localisation updates from https://translatewiki.net.
Change-Id: Ia1ff64eb3fcc88ae04abd208fe468926782e47ea
2021-05-31 08:31:39 +02:00
Translation updater bot 0ada482ea4 Localisation updates from https://translatewiki.net.
Change-Id: I77b8d75b32952cf0bd7b54d841696fd881ae706b
2021-05-27 12:05:35 +02:00
libraryupgrader 4c98b1ef09 build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: Idd1cd4d27e58cbdae07376085bc869c21bc387f0
2021-05-25 20:46:22 +00:00
Translation updater bot 0d91d7c02d Localisation updates from https://translatewiki.net.
Change-Id: I01daf830edc8b638e6820a5c2ae43f3d45aa5d84
2021-05-25 08:52:45 +02:00
Translation updater bot dbcc884e2b Localisation updates from https://translatewiki.net.
Change-Id: I65a6cfc798588750d98ebb5b251118523d3b1189
2021-05-19 08:43:15 +02:00
Translation updater bot 9e511067bb Localisation updates from https://translatewiki.net.
Change-Id: Ifbd169a5771667cf9360ecd8308a0e82aa1174bd
2021-05-17 08:42:32 +02:00
Translation updater bot aecc966f11 Localisation updates from https://translatewiki.net.
Change-Id: Ic89cbb1141e356ddbe6dc1db39ccd3bad0bd8fae
2021-05-14 08:44:35 +02:00
Translation updater bot c168916f1a Localisation updates from https://translatewiki.net.
Change-Id: I671da5b2d6a140eac9af21d76937d15d9a20d088
2021-05-11 09:07:00 +02:00
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