Commit graph

1200 commits

Author SHA1 Message Date
Reedy 5143076231 Stop trying to return the result of a void return value
Change-Id: I27d9f2bc55d12764b526d226293ff8743a6cb668
2021-09-03 01:27:29 +01:00
Translation updater bot c832445968 Localisation updates from https://translatewiki.net.
Change-Id: I67ac391180dcb6a918e59f266543b851f790de8e
2021-09-02 08:26:34 +02:00
Translation updater bot 85ec729219 Localisation updates from https://translatewiki.net.
Change-Id: Id0747bb76560b0dbcb3052e364c4319716732a90
2021-08-23 09:04:12 +02:00
TChin e95a74035d Replace deprecated CentralIdLookup::factory
Bug: T288836
Change-Id: Iac0492405951d9c6bb21151f2b70f1989bdec027
2021-08-13 12:57:52 -04:00
libraryupgrader 27575de215 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I7f2bb65e6acb9517fdc96fd42b9e4fc4737eb5b1
2021-08-12 05:48:06 +00:00
Translation updater bot c20216ea8f Localisation updates from https://translatewiki.net.
Change-Id: I1b45a6c01d9adb91376664210619edf2e49b2f88
2021-08-09 08:24:42 +02:00
libraryupgrader 852e0fb201 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.1 → 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: I40e9581dfdc8a0e7865c3059287ea9f6b1e26a0a
2021-07-23 05:14:49 +00:00
Translation updater bot 219817fc22 Localisation updates from https://translatewiki.net.
Change-Id: I4c103ec4d9ce750aec29527a19e3bf3732168d1a
2021-07-20 08:20:47 +02:00
Translation updater bot 0096cd7b57 Localisation updates from https://translatewiki.net.
Change-Id: I6e846fbe7675c756077e2fdd170356a361492d18
2021-07-15 08:12:26 +02:00
Translation updater bot 8aa06fb546 Localisation updates from https://translatewiki.net.
Change-Id: I16d6b7bdef5ed0e046e74e58f709307cf5379fc8
2021-07-13 08:11:54 +02:00
jenkins-bot 005dc5a364 Merge "Remove $wgOATHAuthSecret" 2021-07-01 00:22:02 +00:00
Reedy ec3c499138 Remove $wgOATHAuthSecret
It's unused

Change-Id: Ia62672c36a8241e0f25c69444b3db693aaea9db7
2021-07-01 00:48:17 +01:00
Translation updater bot ac2dd16780 Localisation updates from https://translatewiki.net.
Change-Id: I50e1330c79e8f8e3929883e450d812e0df1e9b86
2021-06-14 08:37:54 +02:00
Translation updater bot 3e5a974e51 Localisation updates from https://translatewiki.net.
Change-Id: I8048105b877bc0a8b8b792ac37fdb840c852b75a
2021-06-04 08:37:00 +02:00
Translation updater bot fd6469ec3b Localisation updates from https://translatewiki.net.
Change-Id: Ifb687fac039ca7c96fb151bc64a4497820daccf8
2021-05-31 08:32:06 +02:00
Translation updater bot b569d0aebc Localisation updates from https://translatewiki.net.
Change-Id: I6f6020da13d56ff1c63e3a0e1b5b54c18844857b
2021-05-28 09:05:38 +02:00
Translation updater bot 8116a70e8a Localisation updates from https://translatewiki.net.
Change-Id: Ib06ba3eded8c7444443a17911ca932f83e22a023
2021-05-27 12:05:50 +02:00
Translation updater bot 3dd337b1d5 Localisation updates from https://translatewiki.net.
Change-Id: I7f1b469ae788cb5221510912cb83970eecd501e4
2021-05-26 09:05:08 +02:00
libraryupgrader f6fe7e3ed5 build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: Ife64a3434adc97256842ac44b0352e2615c0f4d0
2021-05-26 00:01:25 +00:00
Translation updater bot 982ed29762 Localisation updates from https://translatewiki.net.
Change-Id: I3ba1a0f1f5ce2f94bfdd8b8811a11fd1d457478d
2021-05-25 08:53:16 +02:00
Translation updater bot 1e0e25283b Localisation updates from https://translatewiki.net.
Change-Id: I33f4b65fe2da84e51cbd5fd38b653e24fffd917b
2021-05-20 09:11:02 +02:00
Translation updater bot 4b9eaa64fc Localisation updates from https://translatewiki.net.
Change-Id: Ic56eedd5b931abad4b3a2d466d74643e0922f158
2021-05-17 08:42:57 +02:00
Translation updater bot 8d95d7a227 Localisation updates from https://translatewiki.net.
Change-Id: I8bd35961052a81e15b2ddcc3bb37b9caa6dd1604
2021-05-14 08:44:58 +02:00
vladshapik bae40b8b5e Replace uses of the deprecated setters of AbstractAuthenticationProvider
Since AbstractAuthenticationProvider ::setLogger, ::setManager,
::setConfig methods had been soft deprecated,
so its uses were removed.
* Also bump required MW version to 1.37.0

Bug: T281991
Change-Id: Ifd6ed1bc60d8a7fe6d10af1f08b6670a96ca2851
2021-05-13 17:50:15 +03:00
Ppchelko eda093497d Merge "Replace uses of DB_MASTER with DB_PRIMARY" 2021-05-13 14:47:03 +00:00
Umherirrender 2d0a3409b1 Merge "build: Updating dependencies" 2021-05-13 13:44:04 +00:00
ZabeMath 7820be3326 Replace uses of DB_MASTER with DB_PRIMARY
Change-Id: Ifd3c5b97b0f519b7f61c8fd76149b1bcd53796d1
2021-05-13 01:25:56 +02:00
Translation updater bot 88feccc5ea Localisation updates from https://translatewiki.net.
Change-Id: I76cde514b41f1fd0c1835298057cf84a3b168d4e
2021-05-12 09:22:35 +02:00
libraryupgrader c54975b884 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

npm:
* grunt: 1.3.0 → 1.4.0
* 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)
* postcss: 7.0.35 → 8.2.15
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: I0ad0eba98f23846f5baa3a10433331356229fca8
2021-05-12 03:37:53 +00:00
Translation updater bot dfdc112727 Localisation updates from https://translatewiki.net.
Change-Id: Ide6957afec87d0c1c047702b1bc5a5b69d3ef2a0
2021-05-11 09:07:28 +02:00
Translation updater bot 111c3801b0 Localisation updates from https://translatewiki.net.
Change-Id: Iac1860d60984f7b9b04f39e0493626a413b1b033
2021-05-10 08:52:53 +02:00
Translation updater bot 7b3434b534 Localisation updates from https://translatewiki.net.
Change-Id: I3fd848ab6a0cfdce071a55c32dab00592d8f5359
2021-05-07 08:42:35 +02:00
Translation updater bot 4764d3b5c3 Localisation updates from https://translatewiki.net.
Change-Id: I0ffd1c85d0ebe9868fd9fdf6034401d09c902948
2021-05-05 08:38:47 +02:00
Translation updater bot 5a096bb8d6 Localisation updates from https://translatewiki.net.
Change-Id: Idb4f700eb198e493b7b9d9f13b003310a743a290
2021-05-04 08:52:35 +02:00
Translation updater bot 9e83c737bb Localisation updates from https://translatewiki.net.
Change-Id: I92741cf00e3822116e6cca3deba69d82e488593b
2021-04-23 08:37:05 +02:00
Translation updater bot c12560388e Localisation updates from https://translatewiki.net.
Change-Id: I8b5050687d6ff49be85a0eaf6e1fe3df870107ec
2021-04-16 09:50:44 +02:00
libraryupgrader 960f048a8a build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: Id70a7ae70911ee063eaa7ab73a1fea4d9808c495
2021-04-13 18:17:10 +00:00
Translation updater bot 9bb97a9a43 Localisation updates from https://translatewiki.net.
Change-Id: I79c7f6f21e3fafa11ceb0555c60e87738f5b795c
2021-03-30 08:33:22 +02:00
Timo Tijhof 6b106fe10c TOTPKey: Use foreach instead of for-i-length and remove dead code
Follows-up c943f75.

* Use foreach to iterate the list of tokens, instead of i-to-length.

* Remove the redundant 'retval = false' assignment, as this was
  within an `if (!$retval)` block where the only previous assignment
  to it was either retval = 1 or retval = false. Hence redundant.

* Remove the conditional that made the list only checked if the
  list was not identical to `[ 0 => "" ]`.
  It is unclear to me why this check existed.
  I can imagine one of two scenarios, neither of which appears
  to be the case:
  1. Maybe the scratch list contains 10 tokens plus an empty string,
     and if we see it only contains that, we know it's logically empty
     and don't "need" to iterate the list.
     Except... iterating the list is cheap, so why bother?

  2. Maybe the scratch list contains 10 tokens plus an empty string,
     and we don't want to allow the empty string to be considered
     a valid scratch token to we skip the loop if that's the only
     one left.

     Except... if that were the case we'd be in trouble as it
     isn't being disallowed when the list contains other items
     still. And again, afaik it never contains an empty string,
     and hopefully empty input is already rejected by now.

   Neither of these are good reasons to remove the code without
   knowing what it was for though, so I'd rather we figure this
   out before merging. I can restore the check if it's non-trivial
   to find out.

Bug: T256918
Change-Id: Ide4160bdc18bc47da9632791fb4321e44d6d115a
2021-03-29 21:42:56 +00:00
Translation updater bot 04522fa6f9 Localisation updates from https://translatewiki.net.
Change-Id: I1ce20e1cb0e8a89830b32284d233485c05629d2d
2021-03-29 08:36:41 +02:00
libraryupgrader 9e8171867e build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I03280687b9740a26c27319c15f3aea9d41c28674
2021-03-14 04:29:18 +00:00
libraryupgrader 60b1ad5283 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I27ddf85ef6aee2412e846d2002c3f0c5145c0ec0
2021-03-07 10:03:42 +00:00
Translation updater bot 58b26f743a Localisation updates from https://translatewiki.net.
Change-Id: I7e425648d4b3fccfe83af72efd859ea30a1a79aa
2021-03-01 08:52:49 +01:00
Translation updater bot ef2cf90e4a Localisation updates from https://translatewiki.net.
Change-Id: I4a48cfd4db9cb78b8840b84cde42d45b0a15355b
2021-02-26 08:57:10 +01:00
Translation updater bot aeae5e05a6 Localisation updates from https://translatewiki.net.
Change-Id: I763d31d0de05e414b537a2019b1c7628b11c0ab8
2021-02-24 08:51:51 +01:00
Translation updater bot 68e68b5d86 Localisation updates from https://translatewiki.net.
Change-Id: I78ba43882f6b0940def85d186ef4549fd4dfa96f
2021-02-15 10:05:56 +01:00
Translation updater bot 77407fc703 Localisation updates from https://translatewiki.net.
Change-Id: I3e70a53d9094d1ab6fe72fff43364a613b1bf479
2021-02-11 08:39:39 +01:00
Translation updater bot 8700272120 Localisation updates from https://translatewiki.net.
Change-Id: I0d620d18ca1315d15fb9a1cfd9f9604c35e93efc
2021-02-08 08:43:01 +01:00
Translation updater bot c7dd350664 Localisation updates from https://translatewiki.net.
Change-Id: I3df01abf770ced60b8156f227b9182dafbdec0ee
2021-02-02 08:39:36 +01:00
Translation updater bot 9a9aec9f7a Localisation updates from https://translatewiki.net.
Change-Id: I3a6b5943283e96f586760855732fefb6d1f87bd8
2021-02-01 08:48:16 +01:00