Commit graph

5663 commits

Author SHA1 Message Date
Translation updater bot 0b01e50ab7 Localisation updates from https://translatewiki.net.
Change-Id: I9c234a87244d28e6791b3913a9202b2eebfa2070
2020-09-10 09:48:31 +02:00
libraryupgrader 98f808caff build: Updating bl to 4.0.3
* https://npmjs.com/advisories/1555

Change-Id: I936b83bfc7c45dd5c48f2cba9bd5b1c4141688b6
2020-09-09 18:15:30 +00:00
C. Scott Ananian 1bd6f2aa94 AbuseFilterViewEdit: only invoke Language::filterNum on a numeric string
Bug: T237467
Change-Id: I9dcbe91fa926dba1cfd24d9bf075ee1ebef36b9e
2020-09-09 01:38:20 -04:00
Translation updater bot 3577b81a9d Localisation updates from https://translatewiki.net.
Change-Id: Ifa47e3db891ae4bcec9d82a209e00fff270b0dfa
2020-09-08 10:23:07 +02:00
Translation updater bot 2d53fa9783 Localisation updates from https://translatewiki.net.
Change-Id: I8234f4821f68e9d5d4bf4fe11669ecc7d1adc54b
2020-09-06 20:54:31 +02:00
Umherirrender f932ba8328 Use LinkBatchFactory in Special:AbuseLog
Change-Id: I2ccf9cd36475a65e61ad0e80ec159f841849089f
2020-09-06 09:31:49 +00:00
Ammar Abdulhamid 679c777c33 AbuseFilter: Remove duplicate filter log link
For history action, the link would be already added by
HistoryPageToolLinks hook, so it should not be duplicated by this hook.

See images on https://phabricator.wikimedia.org/T261087#6430172

Change-Id: Ia8dd5be49d3ffb48f298ea287e0b2f98c3052015
2020-09-03 17:55:42 +01:00
libraryupgrader 324988568e build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
* grunt: 1.2.1 → 1.3.0

Change-Id: If5037cda474db1da785bab0ac690bd002a8a1dae
2020-09-03 09:31:08 +00:00
Translation updater bot 08dd82a750 Localisation updates from https://translatewiki.net.
Change-Id: I206bb304960d6ac4a962d2d3f3d340a266bb78e9
2020-08-31 09:47:19 +02:00
jenkins-bot 03f1190bf9 Merge "SpecialAbuseLog: Add redirect=no to page link" 2020-08-31 06:34:01 +00:00
jenkins-bot 08f68c77c2 Merge "Use LogFormatter::getLinkRenderer in AbuseLogHitFormatter" 2020-08-29 00:23:40 +00:00
Umherirrender 64ef0fe00c Use LogFormatter::getLinkRenderer in AbuseLogHitFormatter
Available since 1.30

Change-Id: Ia5e0d5561692f78ac91feca5dddcb67d2809a9ba
2020-08-29 00:03:26 +00:00
DannyS712 f06a632c3d SpecialAbuseLog: Add redirect=no to page link
Bug: T247615
Change-Id: Ifa8f7b949336ae735fd0067dbc2dec15748be7cf
2020-08-28 23:19:54 +00:00
DannyS712 bf0ed6d631 Fix abusefilter-log-cannot-see-private-details
Should be privatedetails, not private-details

Change-Id: I58d8f0ce760e92739876cc783b8dd4258965cd1e
2020-08-28 21:29:37 +00:00
Translation updater bot ad9dad9d24 Localisation updates from https://translatewiki.net.
Change-Id: Icfe53f88a36fde5026f1707519efea6fbc577f7f
2020-08-27 09:51:05 +02:00
Translation updater bot 44d27e63bb Localisation updates from https://translatewiki.net.
Change-Id: Ib461ae4ed0550ce1ddef5bf60d84b74727c8ad93
2020-08-26 09:50:22 +02:00
jenkins-bot e5cefc7d18 Merge "Hard-deprecate a few methods in the AbuseFilter class" 2020-08-25 23:48:33 +00:00
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