Commit graph

5696 commits

Author SHA1 Message Date
Daimona Eaytoy f673a04026 Add updateVarDumps to update.php
This shouldn't happen before the script has been tested thoroughly on
WMF wikis with --dry-run.

Bug: T213006
Change-Id: I51425c85bd6932a5c60eb870b02195aae1c24117
2020-08-25 12:49:00 +00:00
Translation updater bot c278553f31 Localisation updates from https://translatewiki.net.
Change-Id: Ib40d2f15f355180104bedff28fe5ee6ca9139c2d
2020-08-25 09:45:28 +02:00
Translation updater bot 235ff48f6b Localisation updates from https://translatewiki.net.
Change-Id: Ie2d5eaa07010d6c58668e8a812af55e25a0dfc31
2020-08-24 11:56:39 +02:00
jenkins-bot 14be09701b Merge "Use $user param when filtering edits" 2020-08-20 07:10:52 +00:00
Daimona Eaytoy 28ea0e525a Use $user param when filtering edits
This can be different from the User set inside the $context object, as
seen e.g. in Wikibase jobs. Given that the hook provides a $user param,
it makes more sense to use that, rather than extracting it from the
ContextSource kitchen sink.

Bug: T258717
Change-Id: Ib5961068d3df6ae2bfc3f9c6a7b9e555d248b332
2020-08-19 14:24:57 +02:00
Daimona Eaytoy 5faea5ee58 Add BC hack for some 2009 AbuseLog entries causing a fatal error
Some AbuseLog entries from 2009 are missing the 'timestamp' parameter
used to compute the old wikitext of the page. This was only used for a
short amount of time before
https://phabricator.wikimedia.org/rEABFd1d27eede6536067c5180b2515ea937d71525d4d.

Nowadays, it's causing a fatal error when we try to migrate the affected
entries, see T246539#6388362.

Since we only have a Title available, we cannot rebuild what the old
wikitext would look like, so a placeholder text is used (this should
hopefully be clearer than showing an empty string).

Bug: T246539
Change-Id: I5230f2fdc84da121728a5a75da458f1a4ef1ecd3
2020-08-19 12:37:40 +02:00
Translation updater bot cb9ed4a957 Localisation updates from https://translatewiki.net.
Change-Id: I27e8bdae0f21fed7bdfdf985d8db5dac92c69b4f
2020-08-19 08:37:32 +02:00
Translation updater bot 3cfdfdca3b Localisation updates from https://translatewiki.net.
Change-Id: I3eb0ac37f56a7688237fd1e367442221179da323
2020-08-18 08:36:31 +02:00
Translation updater bot 8e317c7bff Localisation updates from https://translatewiki.net.
Change-Id: Ifa0f7c74c2d4d71e98cd2abd795f333cf49ce580
2020-08-17 08:40:40 +02:00
Translation updater bot 7fe2bcac6d Localisation updates from https://translatewiki.net.
Change-Id: If2eed0bbb56e47cb52631b88b3ccfb6c14c457ac
2020-08-14 08:36:49 +02:00
jenkins-bot e13347804a Merge "Remove calls to ParserOptions::setTidy()" 2020-08-13 10:19:15 +00:00
Translation updater bot 75fa981ec9 Localisation updates from https://translatewiki.net.
Change-Id: I6793d77e191c7e80facbdd78bcb6c0e0f48ba915
2020-08-13 08:38:02 +02:00
C. Scott Ananian a135c2f4da Remove calls to ParserOptions::setTidy()
ParserOptions::setTidy() was already a no-op in MW 1.35, and
AbuseFilter already requires MW >= 1.35 in extension.json.
ParserOptions::setTidy() was deprecated in MW 1.35 and will be removed
in a future release.

Bug: T198214
Change-Id: I269e829cf1f33e233bfcf7f95388e041180c2556
2020-08-12 23:39:36 -04:00
Translation updater bot 4d22f68989 Localisation updates from https://translatewiki.net.
Change-Id: Ia06627a9fb1f7ed37eab5973afea3d5724739661
2020-08-12 08:18:38 +02:00
Translation updater bot 8127e4cff7 Localisation updates from https://translatewiki.net.
Change-Id: Iddb2ceb46bfab7a36690fedc50fcc93c9725faec
2020-08-11 08:20:18 +02:00
Translation updater bot 77e0e4fe8a Localisation updates from https://translatewiki.net.
Change-Id: Idc48c79edd472dcc7cf1932b208bd9782a3eae76
2020-08-10 08:59:27 +02:00
Umherirrender e10b7e4208 Fix broken PHPDoc comments not starting with /**
Change-Id: Id9579ad6ca4dc75921e8fd4aaaccdffd530c2e35
2020-08-09 01:04:29 +02:00
Translation updater bot 4dceef266b Localisation updates from https://translatewiki.net.
Change-Id: I8604833caf3968701b191cfd337edbc6ac1ab4c8
2020-08-06 08:26:57 +02:00
Translation updater bot ca4ae550b5 Localisation updates from https://translatewiki.net.
Change-Id: Ibd1e63d34c9c6d44d29595fee2f46bc59ed3695d
2020-08-05 08:21:43 +02:00
Translation updater bot c1b5a32159 Localisation updates from https://translatewiki.net.
Change-Id: I6fed17785973e3f7cd1ba704ee16833dee66f6bb
2020-08-04 08:31:22 +02:00
Translation updater bot d43b9a3672 Localisation updates from https://translatewiki.net.
Change-Id: I6876d0c776f88405797e81002f663ed7036deb1a
2020-08-03 08:30:37 +02:00
Translation updater bot 5d439599e9 Localisation updates from https://translatewiki.net.
Change-Id: I536734732e19009a6e49b772d51fd9de8cd961f8
2020-07-31 08:45:02 +02:00
Translation updater bot 5ac53bc9d3 Localisation updates from https://translatewiki.net.
Change-Id: I657ba4a2b5eddc9f54ac28998ea18e71df6e1090
2020-07-27 08:36:14 +02:00
Translation updater bot 92e0f2b52b Localisation updates from https://translatewiki.net.
Change-Id: I922766ed467b69900535177ac3aec2ca69565b0a
2020-07-24 08:26:09 +02:00
Timo Tijhof 314a1f419f Avoid use of unfiltered 'getTraceAsString' in debug logs
These render string arguments with potentially sensitive information
that we don't want to store in debug logs. Use the standard
'exception' field instead per T233342, letting the central
logic be in charge of creating 'exception.trace' with the normalised
trace rendering and filtering logic we have there.

Bug: T233342
Change-Id: I4620f36229fd5076b4370d20149c890030bf4c64
2020-07-23 22:41:27 +01:00
Translation updater bot 5c977294cc Localisation updates from https://translatewiki.net.
Change-Id: I2f8f5a163ba241ad2ae43f265f84895eca624f7d
2020-07-23 08:27:07 +02:00
Translation updater bot 473683aa1d Localisation updates from https://translatewiki.net.
Change-Id: Iea229fdf483153e4cca6a92781235ccc74240232
2020-07-21 09:10:00 +02:00
Translation updater bot 86111baeda Localisation updates from https://translatewiki.net.
Change-Id: Id92a5bea06d8289b53c030aea8e7adebd94495fc
2020-07-20 09:00:10 +02:00
libraryupgrader 6931744971 build: Updating grunt to 1.2.1
Change-Id: I238f9ee9e4294d07e3589c7398aa6d28a9e2c000
2020-07-17 18:12:17 +00:00
Translation updater bot b5a0f56d6e Localisation updates from https://translatewiki.net.
Change-Id: Iab66cdc7124347bfaeeb753894411fca56011449
2020-07-16 08:20:37 +02:00
libraryupgrader 9bb4a612a4 build: Updating eslint-config-wikimedia to 0.16.2
Change-Id: Iffcdfe6444828789a1f98e411a2882be01948da4
2020-07-15 19:19:05 +00:00
Translation updater bot 6477e41bf6 Localisation updates from https://translatewiki.net.
Change-Id: I34005fef42d531f19eb30d1aaa5c5e27aecb9a0c
2020-07-15 09:03:09 +02:00
Translation updater bot f81b9635d8 Localisation updates from https://translatewiki.net.
Change-Id: I1b17cceef20a666e05574f6aeb62d68b13ca4720
2020-07-13 08:39:05 +02:00
Translation updater bot d9e08f6127 Localisation updates from https://translatewiki.net.
Change-Id: I9e8c85f7e42f28b0e6a7d9b690c6cedfeca76a97
2020-07-09 08:24:15 +02:00
libraryupgrader 18cfe51806 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: If6bdfd0a95964ee6e0c2acc9f57b07a3594a5353
2020-07-08 18:52:42 +00:00
Translation updater bot f191def2b8 Localisation updates from https://translatewiki.net.
Change-Id: I2ae4fa7b70380c99e24de89dc1c8b56006d810fc
2020-07-08 09:10:16 +02:00
Translation updater bot 6ca8becf18 Localisation updates from https://translatewiki.net.
Change-Id: Ibd455f01874bc3b42d71d1b3d3c64fe97b2fcc17
2020-07-07 09:30:37 +02:00
Kunal Mehta ad5889ea83 Remove incorrect merge_strategy definitions
Those merge strategies aren't needed because
array_plus is for when the keys of the array are integers, not necessarily
the values.

Change-Id: I164723c4cc6b12cd6e4ce0d49c74d93eda5d871d
2020-07-06 09:00:35 +00:00
Translation updater bot 9fd50dc3f1 Localisation updates from https://translatewiki.net.
Change-Id: I1203eb526779784a71106621115a4a039e986ab6
2020-07-06 09:48:18 +02:00
Translation updater bot 5d2cc89341 Localisation updates from https://translatewiki.net.
Change-Id: I15b9fb57b5dac84abead072746011df35df95507
2020-07-03 08:31:12 +02:00
jenkins-bot c28c141026 Merge "VE: Add explicit dependency on targetLoader" 2020-07-02 11:47:48 +00:00
Translation updater bot d9c6817a7f Localisation updates from https://translatewiki.net.
Change-Id: I2ad80b76920c2f35a07a6ef1908c326db023b03d
2020-07-02 08:39:13 +02:00
Translation updater bot d5adacd87f Localisation updates from https://translatewiki.net.
Change-Id: I84985a29843af846639473b03e94a218014e0158
2020-07-01 08:42:55 +02:00
Ed Sanders 4b5e2362fe VE: Add explicit dependency on targetLoader
Change-Id: Ied1af70713b3595b87e2ea2f45797777f32ff7a0
2020-06-30 22:47:18 +01:00
Translation updater bot 6d19fd9033 Localisation updates from https://translatewiki.net.
Change-Id: Ib952464ebf89381a13bcfbcd90d084473b70b165
2020-06-29 16:25:05 +02:00
proc a31f4e46af
Strict type comparison
Bug: T248806
Change-Id: I039ab7f103bb37052987b815412b71f70643a6d2
2020-06-27 15:55:57 +01:00
Huji Lee b523b71fc3 Standardize the order of options in dropdown filters for search
Any should always be the first choice. Other/None should always be
the last choice. The rest of the choices come in between and should
be sorted alphabetically.

Also capitalize the first letter of "None" for filtering logs down
to those in which no action taken. This makes the options uniform.

Bug: T255533
Change-Id: Id106bbc352531437af95a303b7dcf32e44383f95
2020-06-25 19:01:16 +00:00
Translation updater bot 6274a6b657 Localisation updates from https://translatewiki.net.
Change-Id: I2aca92c73b05479bd925823a2c6c7cf5709b1fae
2020-06-25 08:55:03 +02:00
jenkins-bot 7c262b2387 Merge "Update PageSaveComplete hook to use EditResult" 2020-06-23 14:16:15 +00:00
Daimona Eaytoy 3d06e2d165 Hard-deprecate a few methods in the AbuseFilter class
All usages fixed, see https://codesearch.wmflabs.org/search/?q=AbuseFilter%3A%3A(generate%7CgetEditVars)&i=nope&files=&repos=

Depends-On: I49c635efbe46820e6340f64504f3bc417b78dde3
Change-Id: I45d11b2b015f4abf1ec9cedd14355f9c1c049bba
2020-06-23 14:48:42 +02:00