Commit graph

1203 commits

Author SHA1 Message Date
Translation updater bot af6514bf35
Localisation updates from https://translatewiki.net.
Change-Id: I304ae396eef15ea512443795cbef3e5eb16fc2b1
2024-10-07 08:11:25 +02:00
Translation updater bot 09441df9e3
Localisation updates from https://translatewiki.net.
Change-Id: I57ae85e6c3b8592218738db2393ef9ed1bf2a4a1
2024-09-16 08:13:24 +02:00
libraryupgrader a005b73236 build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: Id00fc5cfbea2c09ddd7524b583f3929b04b35e8d
2024-08-29 08:05:53 +00:00
Translation updater bot c871c852f0
Localisation updates from https://translatewiki.net.
Change-Id: I561200f9b2d2ed26c032d107c251f1346576f247
2024-08-05 08:26:05 +02:00
Translation updater bot 468aa6bf00
Localisation updates from https://translatewiki.net.
Change-Id: Ife42baf0f44abd8808a450658437d361d89be8f7
2024-07-29 08:24:55 +02:00
Translation updater bot 92a9b46258
Localisation updates from https://translatewiki.net.
Change-Id: If3b480641854a4545a9892ec9c498c957b5ff2d2
2024-07-22 08:23:09 +02:00
Translation updater bot 49fc855d3c
Localisation updates from https://translatewiki.net.
Change-Id: I4dab90353f59ba51b54037f2b84ff8ab84ab5118
2024-07-08 08:28:02 +02:00
Translation updater bot 9df9789fbc
Localisation updates from https://translatewiki.net.
Change-Id: I5a786822c6910d17d786854b7767e4e092e22e73
2024-07-01 08:29:10 +02:00
Translation updater bot 8cc206d1ab
Localisation updates from https://translatewiki.net.
Change-Id: I20a59ef05eca566b3b208d34a7f6475bd0f2f16a
2024-06-17 08:55:16 +02:00
libraryupgrader 21255b4578 build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: I7150b2ac138ec363e0862a20357a2ef7c9b3e456
2024-06-16 02:43:44 +00:00
Translation updater bot 01028a3898 Localisation updates from https://translatewiki.net.
Change-Id: I2d609fdfd2d8a2438163eadf5a102fd90c739a90
2024-05-20 08:38:50 +02:00
Translation updater bot 402c26d601 Localisation updates from https://translatewiki.net.
Change-Id: I3c8cca6578f527178343106aaddcd7c3b97d2f91
2024-03-04 07:36:51 +01:00
Translation updater bot 8a0e18e991 Localisation updates from https://translatewiki.net.
Change-Id: I9f8b82068803fcaa0343ade248dc6f933ee23892
2024-02-19 07:30:16 +01:00
Translation updater bot 0f79f4ac32 Localisation updates from https://translatewiki.net.
Change-Id: I4836c806b77e568b2189c0d2c0bf1d5e590298b5
2024-02-12 07:57:08 +01:00
libraryupgrader 92b49fdfcb build: Updating npm dependencies
* debug: 3.2.6, 4.3.4 → 3.2.7, 4.3.4
  * https://github.com/advisories/GHSA-gxpj-cx7g-858c
* eslint-plugin-compat: 4.0.2 → 4.2.0
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* postcss: 8.4.12 → 8.4.35
  * https://github.com/advisories/GHSA-7fh5-64p2-3v2j
* semver: 5.7.1, 6.3.0, 7.3.5 → 5.7.2, 6.3.1, 7.6.0
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* word-wrap: 1.2.3 → 1.2.5
  * https://github.com/advisories/GHSA-j8xg-fqg3-53r7

Change-Id: I6b304d08c14dc11d8ad00f85bb073149b71fb4d3
2024-02-09 21:53:25 +00:00
Translation updater bot afa8fbed7f Localisation updates from https://translatewiki.net.
Change-Id: Ia0756ec03cf330453d9120d7186d339825ae0015
2024-02-05 07:57:15 +01:00
Translation updater bot 277be3d09d Localisation updates from https://translatewiki.net.
Change-Id: I5ab4a99a5d16b9d102aedc5ac980b992cecd2d5a
2024-01-02 07:57:32 +01:00
Translation updater bot 5b811f08bd Localisation updates from https://translatewiki.net.
Change-Id: Iec4768fea151894df83a1fe41a8486f06dbb48b5
2023-12-26 08:03:14 +01:00
Translation updater bot 11b9eb728b Localisation updates from https://translatewiki.net.
Change-Id: I62a238446f924f7af3e31ed64e878ec92bcfe37a
2023-11-28 08:13:34 +01:00
Translation updater bot 9bcbb3105d Localisation updates from https://translatewiki.net.
Change-Id: If4971f483a8e78a8778e6f02f0c74579a3ec01c5
2023-09-26 08:03:34 +02:00
Translation updater bot b0e9288f55 Localisation updates from https://translatewiki.net.
Change-Id: I062777fbc475f59beafd5d3096d53bef846eb70c
2023-08-22 07:37:11 +02:00
Translation updater bot a10b53826d Localisation updates from https://translatewiki.net.
Change-Id: Ib7ae415fce46b7db14320406031952b18a4c00fd
2023-08-15 07:48:11 +02:00
Translation updater bot 6a402bb57f Localisation updates from https://translatewiki.net.
Change-Id: I15de688b8c7542cf033c0175735e070ca90ef7ff
2023-07-25 08:58:24 +02:00
Translation updater bot 251ca82331 Localisation updates from https://translatewiki.net.
Change-Id: I10d0c84e58083b6d4f8c63ad8bb9195072812f7d
2023-06-27 08:39:39 +02:00
Translation updater bot 4546138ce6 Localisation updates from https://translatewiki.net.
Change-Id: Id1a4c0f3feb6db2705a4202d9662a0145782d1dc
2023-06-13 07:53:22 +02:00
Translation updater bot 7a39949d17 Localisation updates from https://translatewiki.net.
Change-Id: Id4517a54f63d539ad6f9f7b2fb0063b301075621
2023-05-30 07:03:11 +02:00
Ryan Schmidt 90bf39a264 Fix lexer list parsing on Windows
When using a non-bundled Pygments (which is required on Windows, as the
bundled version is an ELF binary), we call into the Pygments executable
to generate the list of supported languages (lexers). This list seems to
occasionally include carraige returns, causing some languages to not be
processed correctly. Trim those CRs out so the language list is
accurate.

Bug: T336087
Change-Id: If8b1f145dd10e2c4707d6d32927e85d1d2459f15
(cherry picked from commit 2ae82c7fb7)
2023-05-11 18:57:25 +00:00
Translation updater bot e5a9cd32d3 Localisation updates from https://translatewiki.net.
Change-Id: I5778d2434f479b1fdc1d6be1ff450b494370ab3f
2023-03-28 07:52:05 +02:00
Translation updater bot 730d5dbed2 Localisation updates from https://translatewiki.net.
Change-Id: I6c18d0323268df4b4f4407b0e7c16189380c3fdb
2023-03-21 08:24:10 +01:00
James D. Forrester d1addca20d build: Update MediaWiki requirement to 1.39.0
Change-Id: I20feff254dfd5438818b9428a4afdd7994e8d435
2023-03-14 18:02:01 +00:00
Translation updater bot 621125bf42 Localisation updates from https://translatewiki.net.
Change-Id: Ifaf26df21da305423034199d9dcd73f55e7265b2
2023-02-28 07:07:26 +01:00
Translation updater bot d1fac428c2 Localisation updates from https://translatewiki.net.
Change-Id: I4b9cdfd7eee465d26ebdbbf273376d0155bbf342
2023-01-10 07:48:50 +01:00
Translation updater bot a5c871167b Localisation updates from https://translatewiki.net.
Change-Id: Ic837884538b512e3f5904cd3c886cb80d514db0f
2022-12-27 07:13:15 +01:00
libraryupgrader 3d89e93633 build: Updating qs to 6.11.0
* https://github.com/advisories/GHSA-hrpp-h998-j3pp

Change-Id: I6981eb78ebf2b8491e6d3593bbe87d6f3155960c
2022-12-08 10:39:04 +00:00
libraryupgrader 8407101a64 build: Updating minimatch to 3.0.8
* https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: Ic583f09e9573c3e14c389a672f87c83726e5ce27
2022-12-04 22:25:22 +00:00
Translation updater bot 8216b14bc2 Localisation updates from https://translatewiki.net.
Change-Id: Ie2099ba00f64594f216f370058981aa4a74451fb
2022-12-01 07:21:10 +01:00
Translation updater bot c0592d0d63 Localisation updates from https://translatewiki.net.
Change-Id: Ia5a133025004e700f4917e3449bef4a676575d33
2022-11-10 07:22:38 +01:00
Ryan Schmidt 9ea0e81620 Fix pygments on Windows
Python on Windows requires the SystemRoot environment variable in order
to initialize its internal RNG, so make sure that is passed along to the
subprocess.

Bug: T300223
Change-Id: I170ce627a3f00c023f4b1f11613f4fe2cb17bd31
2022-11-03 02:17:58 +00:00
Translation updater bot 0c1dbea3a8 Localisation updates from https://translatewiki.net.
Change-Id: I4070bce2f042690d9a4ece22db53a50396964a81
2022-10-20 07:39:15 +02:00
Translation updater bot 6966b4e0e7 Localisation updates from https://translatewiki.net.
Change-Id: Id85317980e3127b545e01b7b058bcdc913f9b50a
2022-10-13 07:24:26 +02:00
Translation updater bot a6721e609c Localisation updates from https://translatewiki.net.
Change-Id: I96c77ef7cdd5bfa432bbc45cb85a037d027a4e72
2022-09-29 07:15:26 +02:00
Translation updater bot bcaee9864f Localisation updates from https://translatewiki.net.
Change-Id: I2afb257722b289a6faac10f8d60ad05ea032722d
2022-09-05 10:12:00 +02:00
Ed Sanders f2613d589c Line number highlight: Use getTargetFromFragment
Bug: T315872
Depends-On: I605a24c708e60ccffde9dce524485f61fd5c7b06
Change-Id: I48c1aaf56ccea232dca7cb52f24a29a421b94d86
2022-08-31 13:10:18 +00:00
Translation updater bot f5053f56f1 Localisation updates from https://translatewiki.net.
Change-Id: Iebfb51ffb0cbf9749837225634d4e269c2d7e016
2022-08-26 08:23:26 +02:00
Sébastien Beyou b08c0a7cb9 Fix the case of empty <syntaxhighlight /> tags
Bug: T315740
Change-Id: I685806d4e8992a54f17d29a9187807bb30e31ef8
2022-08-21 13:46:17 +02:00
Translation updater bot 05bc73fd1f Localisation updates from https://translatewiki.net.
Change-Id: Iab6c41a639a826900e1ff7098c9269ca1e72401d
2022-08-12 08:44:05 +02:00
Subramanya Sastry 0eef7add67 Add Parsoid support for syntaxhighlight
* Added Parsoid config, and refactored code slightly to
  add native Parsoid handlers for parser tags exposed
  by this extension.
* Enabled parsoid mode testing on the test file.
* Added html/parsoid sections on a few tests.
* Marked rest of tests as wt2html and wt2wt only since
  html2wt and html2html will fail without a html/parsoid section
  and there is no real benefit to adding them to all tests.
* Added a couple tests to the known failures list:
  - One is because of T299103.
  - The other is because Parsoid always emits attributes in the
    form <tag .. foo="bar"..> instead of just <tag ... foo ..>
    Since Parsoid needs to accept this format that is present on
    wikis, I added a html/parsoid section for this test and
    added the failures to the known failures list.

Bug: T272939
Change-Id: Ie30aa6b082d4fc43c73296ff2ed6cb8c3873f48f
2022-08-08 20:07:46 -04:00
Bryan Davis 3bee59df01 fix: Mark Pygmentize::fetchVersion as public, but @internal
Follow up to ae07430. The method needs to be public so that
WANObjectCache can call it from a callback, but we don't expect any
external callers.

Follows-Up: I424926d071e1cfd454a0c2d45a83693f41bdea55
Change-Id: Ia96d3132782435c693d2eaa77fd551fe9590b113
2022-07-15 19:13:52 -06:00
Timo Tijhof ae074306e8 Pygmentize: Cache pygments-version in memc (in addition to APCU)
* Add rationale for each cache key's strategy being in Memc vs APCU.

* Extend pygmentize-lexers from 1 day to 1 week. It rarely changes
  and already varies by version. Few things survive the day, but
  there's not a reason to explicitly expire it sooner I think.

* Add a layer of Memc to the pygments-version APCU cache given that
  it has a short expiry and thus relatively high miss rate.

  The main rationale for this is noise in mwdebug logs since this
  is currently the only thing we log by default in Logstash with prod
  severity (exec INFO) during every pageview (after a php-fpm restart
  which clears APCU). By adding Memc here we lose less of the cache
  churn by reviving it via Memcached, and we keep the sense of there
  being nothing in the logs "by default" at prod severity after restart,
  e.g. don't get used to any fatigue.

  Unlike the other cache keys and hooks, getVersion is the only
  thing that gets called widely regardless of whether syntaxhighlight
  is in use on the given page.

Change-Id: I424926d071e1cfd454a0c2d45a83693f41bdea55
2022-07-12 05:56:16 +00:00
Translation updater bot 7ae1ea95e5 Localisation updates from https://translatewiki.net.
Change-Id: Ica91f96c656e8699d062201f73de849aea83f0c1
2022-06-22 08:14:02 +02:00