Commit graph

7780 commits

Author SHA1 Message Date
jenkins-bot 59e2bfcaff Merge "Make rmspecials preserve whitespace" 2022-02-06 06:22:38 +00:00
Huji 52827acbab Make rmspecials preserve whitespace
The existing filters on WMF wikis has been changes such that calls
to rmspecials() are now rmspecials(rmwhitespace()) to ensure no change
is made in behaviour. Filter admins can change this back if filter is
not meant to trigger when part of the input is contains spaces.

Bug: T263024
Change-Id: Idde09b50fb8eda357afbedc1199a5483fa8217c1
2022-02-06 06:07:46 +00:00
C. Scott Ananian aecfc7e62e Replace use of deprecated OutputPage::enableClientCache( false )
Replaced with the more readable ::disableClientCache() method, added
in 1.38.  Minimum MW version bumped to match.

Depends-On: I7c89e20528a0d91173f0edcb997dcae631935ee5
Change-Id: I91d0b8e8f69a2d309b6fc61e13bfb5d86dc0218d
2022-02-04 14:29:43 -05:00
Translation updater bot 83e038eace Localisation updates from https://translatewiki.net.
Change-Id: I0cd6ffd6413f5a25a63eea000621297516bfa69a
2022-02-04 08:21:27 +01:00
jenkins-bot 8a4fc79c9d Merge "Declare AbuseFilterView::$mParams as protected" 2022-02-02 13:57:22 +00:00
Matěj Suchánek 238649ebc1 Declare AbuseFilterView::$mParams as protected
It is not supposed to be read or written to by other classes.

Change-Id: I02fe2861a6102ddf1a587cdd7e7423a62d8e0c57
2022-02-02 12:32:09 +01:00
Translation updater bot 4e51cdbe0c Localisation updates from https://translatewiki.net.
Change-Id: Id514da34f78dd93af5081ab1443d9afe8b0997da
2022-02-02 08:19:27 +01:00
libraryupgrader f3de0d1984 build: Updating postcss-less to 3.1.4
* https://github.com/advisories/GHSA-566m-qj78-rww5

Additional changes:
* Set `name` in package.json.

Change-Id: I16a1ffddb8c0460575e7bff9476207c5db0fb213
2022-02-02 04:52:01 +00:00
Translation updater bot a038e19fa6 Localisation updates from https://translatewiki.net.
Change-Id: Icee51d6057198a54de5f916f467da796eb7142ac
2022-02-01 08:26:31 +01:00
libraryupgrader f29cea6791 build: Updating npm dependencies
* wdio-mediawiki: 1.1.1 → 1.2.0
* mocha: 9.1.2 → 9.2.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.25 → 3.2.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* node-fetch: 2.6.1 → 2.6.7
  * https://github.com/advisories/GHSA-r683-j2x4-v87g
* postcss-less: 3.1.4 → 3.1.4
  * https://github.com/advisories/GHSA-566m-qj78-rww5

Change-Id: Ifce1b2630907e646861b125f85fe2c99ba63d956
2022-02-01 05:08:00 +00:00
Translation updater bot a55c0e51ed Localisation updates from https://translatewiki.net.
Change-Id: I6ee48670f440fd18fbfac05e1782e6c9e761939c
2022-01-28 08:33:09 +01:00
Translation updater bot f8708e8477 Localisation updates from https://translatewiki.net.
Change-Id: I983aab411c9ebfa0ce7a85039a72ae1c8c671d3f
2022-01-27 08:38:05 +01:00
jenkins-bot 68b8092e53 Merge "Don't implode and explode links" 2022-01-27 01:06:45 +00:00
Translation updater bot 2bdedb0fdd Localisation updates from https://translatewiki.net.
Change-Id: I2fcf4d5b624bef712e5892602b905c47cd03939e
2022-01-26 08:24:16 +01:00
Matěj Suchánek 2694751355 Don't implode and explode links
old_links and all_links are an array. Casting
them to string and then splitting by newlines
is a no-op.

Change-Id: I05c69f14e981ac2842032e7db888f4841d6b48b7
2022-01-24 12:58:56 +00:00
Matěj Suchánek 9ed8fa7f3c Update description of AbuseFilterEmergencyDisableThreshold
The emergency disable feature does not depend on profiling
data anymore since b8ac52c.

Change-Id: Ibf3282f13c23e6b3d95cfd156132253d56afb28a
2022-01-24 13:36:24 +01:00
Translation updater bot 0c857b05bf Localisation updates from https://translatewiki.net.
Change-Id: I2ae56e70e23b6215afddd3c739925bea01c9a8a3
2022-01-24 08:26:19 +01:00
Translation updater bot 6debbd0e75 Localisation updates from https://translatewiki.net.
Change-Id: I35d6d49843adf68d31ca80e66a7ba3d069f5acdd
2022-01-20 09:16:37 +01:00
Amir Sarabadani d1ce258a9b Use MainStash instead of db-replicated
We should avoid using ObjectCache directly and use services instead. On
top of that, db-replicated writes to objectcache table that should be
avoided and it's now blocking schema changes.

This should go to MainStash.

Bug: T272512
Change-Id: I9c76399ec4c0ea6644f9ca1b4536428052e5ac38
2022-01-19 18:51:19 +01:00
Translation updater bot 98ab3338bd Localisation updates from https://translatewiki.net.
Change-Id: I9c6536f8b5ebb210a60e2fa9f302845d069b84ab
2022-01-19 08:23:38 +01:00
Alexander Vorwerk d22ea2b57e Don't use array keys for OOUI in AbuseFilterViewDiff
Bug: T299463
Change-Id: I3d02e18566532e9e4824a089c9504ec13b6ad33e
2022-01-18 22:57:02 +00:00
Alexander Vorwerk edcefa729c Don't use array keys for OOUI
Bug: T299463
Change-Id: Id1f6e0c43db38003c1b198ab86c37b1c37412124
2022-01-18 23:20:32 +01:00
Translation updater bot 7b0ae7329f Localisation updates from https://translatewiki.net.
Change-Id: I1494a2a4e7d7bae9597fbaa2e4c0b17e066b790a
2022-01-18 08:10:22 +01:00
Translation updater bot 5b16939bec Localisation updates from https://translatewiki.net.
Change-Id: Ia97a39a492979ee6583d4bcf4fff1a5b39917549
2022-01-17 08:11:05 +01:00
Thiemo Kreuz 489cfa4f3d Don't use array keys for OOUI GroupElement items
Change-Id: Id120e49c7e6d62c1ad30a3109afbe9bf77c4d81d
Required-For: I7a19fba8bce65640bdb69b3a63812537e1d29af3
2022-01-13 16:37:04 +01:00
Translation updater bot 96aeaa9ed9 Localisation updates from https://translatewiki.net.
Change-Id: Ieda4d434276116f4e9ae75c34d842f0b7e3c9d94
2022-01-12 08:24:27 +01:00
Translation updater bot a8aa51b0ea Localisation updates from https://translatewiki.net.
Change-Id: I290cd1f22721c2419bdef866440fc527dec71c6c
2022-01-10 08:10:43 +01:00
Translation updater bot c9a7d1e999 Localisation updates from https://translatewiki.net.
Change-Id: I42f50f1db945268e96e8f976a066b92bdbaf2233
2022-01-07 08:24:20 +01:00
Kosta Harlan bc19e738f6 selenium: Run test suites concurrently
Bug: T226869
Change-Id: I0d7435bd6ee9b0893ea387722eaa18a6e120c67a
2022-01-06 15:09:09 +00:00
Translation updater bot 7f57216448 Localisation updates from https://translatewiki.net.
Change-Id: I9aae1b6b8f2e96c4bcd382256fb436747bce7ce0
2022-01-06 08:30:43 +01:00
Translation updater bot 1ba7945cda Localisation updates from https://translatewiki.net.
Change-Id: Iae3cf6be0b44c9beafb5028e3f6c53b7ce466c10
2022-01-03 08:10:30 +01:00
Translation updater bot 4ee6405d1b Localisation updates from https://translatewiki.net.
Change-Id: Ib88715c407733d4f9946e99a3dc494f4161215ed
2021-12-31 09:41:38 +01:00
Translation updater bot ad3d4f733b Localisation updates from https://translatewiki.net.
Change-Id: Ie0024d9626c0af06f15f664a4539900cdee83786
2021-12-30 09:37:12 +01:00
Translation updater bot ec8d22294f Localisation updates from https://translatewiki.net.
Change-Id: I1a8019453ea5e8576d0459676609819b2ba4e954
2021-12-27 09:29:10 +01:00
Translation updater bot 3ed6cc1573 Localisation updates from https://translatewiki.net.
Change-Id: Iaf080e48e41716421d399609efcba8ccd725b245
2021-12-24 09:09:15 +01:00
Translation updater bot b630d66361 Localisation updates from https://translatewiki.net.
Change-Id: I3a64a49084c415d9b3f6a29a7ba6e6ae47dc8b9a
2021-12-23 08:37:25 +01:00
Umherirrender e9a80335d3 build: Update eslint-config-wikimedia to 0.21.0
This includes the update of lockFile version

Bug: T225730
Change-Id: Iebef765120d24c2969251fc4985a383e21cb136b
2021-12-21 22:53:00 +01:00
Translation updater bot efbef397fb Localisation updates from https://translatewiki.net.
Change-Id: I744392949027ddcbce4da56634ecc06b8f7d6810
2021-12-21 08:11:25 +01:00
Translation updater bot 29a2518281 Localisation updates from https://translatewiki.net.
Change-Id: I943b389215d8db8646d40dbe7feb8d1c79856751
2021-12-20 08:20:13 +01:00
Matěj Suchánek 1d31c86ee4 Improve debug messages of loading ext. links
These are not necessarily old links, the new links
can also be retrieved using this code path.
Also print debug messages before the code execution.

Change-Id: I1a85bb7b5a2af4fe514625d2236cf92f15daf304
2021-12-19 14:19:16 +01:00
jenkins-bot b22c67ea53 Merge "Avoid using WikiPage::factory()" 2021-12-17 13:27:15 +00:00
Alexander Vorwerk ccb85c9a55 Avoid using WikiPage::factory()
WikiPage::factory() is deprecated since 1.36 and should be replaced
with WikiPageFactory::newFromTitle().

Bug: T297688
Change-Id: I85d3566519ab977aad8c517cc48fc8c271e5589a
2021-12-17 09:22:26 +00:00
Translation updater bot 094bd64ce0 Localisation updates from https://translatewiki.net.
Change-Id: Idbe161be386f8c6efb114a673262635b7e4eb940
2021-12-17 08:16:23 +01:00
Translation updater bot bf9446ab7f Localisation updates from https://translatewiki.net.
Change-Id: I96350032246c5ed2b67c76dedb87b57df62cdde6
2021-12-16 08:28:40 +01:00
Translation updater bot 7a464f08da Localisation updates from https://translatewiki.net.
Change-Id: Ie180167cfd0be83c3499d0e182cab36bb1390071
2021-12-15 08:08:54 +01:00
Translation updater bot 6f7bdaa71f Localisation updates from https://translatewiki.net.
Change-Id: I07510ba800b1ed452d334b26b4822dc7d5b9fe60
2021-12-14 08:42:13 +01:00
Translation updater bot 8cf4d93248 Localisation updates from https://translatewiki.net.
Change-Id: Ibe54830b59a8a661b5c1a4c71b847d193df7c1ca
2021-12-13 08:20:40 +01:00
Amir E. Aharoni 9e333b38f0 Hyphenating "case-insensitive"
This makes it consistent with core and
other extensions.

Change-Id: I03ba0f2dce754655fc5de6fe28402d2bde1523c5
2021-12-11 09:27:34 +00:00
Translation updater bot 23a401f24b Localisation updates from https://translatewiki.net.
Change-Id: I3bc08f1802fd26be328f12e1f0614d8ad5515ca4
2021-12-06 08:17:51 +01:00
Alexander Vorwerk e0b781e32e build: Upgrade mediawiki-phan-config to 0.11.1
Somehow LibUp-Bot is not doing this. The last run for Abusefilter was a
month ago.

Change-Id: Id9ee5a73f403d8391937d699727470cb78e959aa
2021-12-05 11:29:54 +00:00