Commit graph

677 commits

Author SHA1 Message Date
Translation updater bot 01304b76e8 Localisation updates from https://translatewiki.net.
Change-Id: I7f6bc4a03d3c7694f03a647ec6aa2505aca41eeb
2024-05-07 09:23:25 +02:00
libraryupgrader ec8e74b9c8 build: Updating composer dependencies
* mediawiki/minus-x: 1.1.1 → 1.1.3
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

Change-Id: Ib6b1c724c1558aa65e037aa98d605f260d700f89
2024-05-06 05:41:17 +00:00
wfan 8bbcae9355 Migrate MediaWiki.pdfhandler.shell.retrieve_meta_data.rate to statslib
Bug: T359370
Change-Id: I12f5bddf1007625fd4a8e62a7361239263d6749b
2024-05-05 14:01:53 +00:00
libraryupgrader 994b07c9fd build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: Ibacc0877f913f39b2ca3a55495ad404457d6aa44
2024-04-19 04:39:06 +00:00
jenkins-bot 6fd16808fb Merge "Improve logging for Pdf's retrieveMetadata.sh" 2024-03-18 17:23:37 +00:00
libraryupgrader 7f70310f60 build: Updating mediawiki/mediawiki-codesniffer to 43.0.0
Change-Id: I6fd5cf443fa35379f9693425e69edb345e61018e
2024-03-17 23:02:13 +00:00
Derk-Jan Hartman f87fc5a6ad Improve logging for Pdf's retrieveMetadata.sh
- Don't check for file execution, but for command execution. This way
  pdfinfo and pdftext work without specifying the path
- Only pipe the stdout content of the commands to the outputfiles
- Exit as failure when the pdfinfo command is available, but it's
  execution failed
- Check and log the error output of retrieveMetadata.sh

Bug: T299521
Change-Id: Ia072469f4df6cce51793ab48823c7f4e4e13997b
2024-03-16 09:37:34 +00:00
libraryupgrader c4c9bb4337 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* grunt-banana-checker: 0.11.0 → 0.11.1

Change-Id: If33a530f0a6974cb94fc87580ab9f84877096f73
2024-02-10 21:36:40 +00:00
libraryupgrader 370b840fa5 build: Updating npm dependencies
* eslint-config-wikimedia: 0.25.0 → 0.26.0
* grunt-eslint: 24.0.1 → 24.3.0

Change-Id: Id83600a454039cb41318b150e0d76c7a9d57604f
2024-02-09 09:50:19 +00:00
libraryupgrader 49c0b06cc8 build: Updating npm dependencies
* eslint-plugin-compat: 4.0.2 → 4.2.0
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* semver: 7.3.5 → 7.5.4
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * 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: I7c4c424c7922f0b788d1bddb3da94cc3c4e6521a
2024-02-04 07:49:04 +00:00
Translation updater bot 81b54ad4ef Localisation updates from https://translatewiki.net.
Change-Id: If1045558400cb73720b6510c4e46c5395d4f206c
2024-01-28 16:07:49 +01:00
jenkins-bot a9945906c7 Merge "Centralise configuration of Shellbox /bin/sh location" 2024-01-19 01:32:33 +00:00
Tim Starling 1e1e7ef135 Centralise configuration of Shellbox /bin/sh location
Use $wgShellboxShell, introduced for this purpose in
If41a2baada2e4e2462518c1f437af458feb29632.

Change-Id: Ic35598f26a868624a8b2e37ab064a6c0c27e392f
2024-01-19 11:36:47 +11:00
Umherirrender 11a07899fa Use namespaced PoolCounterWorkViaCallback class
This requires 1.42 for some new names

Done automatically via script

Change-Id: Ia272567b9ca6d178d35910b2129491b803ed7f65
2024-01-05 22:41:23 +01:00
Translation updater bot 5387c2f968 Localisation updates from https://translatewiki.net.
Change-Id: I0c7afdf1508c41c1cabda355269a6d71a596ce59
2023-12-04 09:05:22 +01:00
Translation updater bot b5e4feaa5b Localisation updates from https://translatewiki.net.
Change-Id: Iea1fca870be675f6d7fae7393777a1e4f8744ac1
2023-12-01 09:40:24 +01:00
Translation updater bot e32f03e615 Localisation updates from https://translatewiki.net.
Change-Id: I2a1265d1bd9e953cdf17fa9ee82c4d15c8b1c12c
2023-11-23 11:57:06 +01:00
Translation updater bot bf2dc0e434 Localisation updates from https://translatewiki.net.
Change-Id: Ifa533e6c055bc78b6b71bd48848285eb7246b042
2023-09-19 09:25:51 +02:00
James D. Forrester 2e83d9343c build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: Ie0e0dd669d4819cf75f970e5d7a9d504df9e6ba9
2023-08-19 13:59:46 +08:00
Translation updater bot 4f9146379b Localisation updates from https://translatewiki.net.
Change-Id: I96b0f8b40436900e54944517e4fc7e545a77c5cd
2023-07-24 09:39:15 +02:00
Translation updater bot dfe42a5c8d Localisation updates from https://translatewiki.net.
Change-Id: I3ec9f1992f7f9754c98415cacf8a9081283a487e
2023-07-06 10:16:23 +02:00
Translation updater bot fed38359ba Localisation updates from https://translatewiki.net.
Change-Id: I2c128c6165413f711c0db1254abca662957b1f23
2023-06-26 12:40:29 +02:00
Translation updater bot 271dca8c9d Localisation updates from https://translatewiki.net.
Change-Id: I230e5ecee1026fd9f421db7db34bfca4958e2797
2023-06-05 08:41:19 +02:00
libraryupgrader 94acd2cb69 build: Updating grunt-banana-checker to 0.11.0
Change-Id: I71b97103ab7aee7e03d175e9e26947e211861e82
2023-06-02 00:02:01 +00:00
Translation updater bot 93b7e55e46 Localisation updates from https://translatewiki.net.
Change-Id: Ia8e5b8ab7a8cb6efc67bec3edc8b37e0db48fb8c
2023-05-08 10:33:01 +02:00
libraryupgrader e04b9ba763 build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: Id91269f8e06fe4b0950861074ee9ae5c7c8cdb9f
2023-05-06 00:45:39 +00:00
Translation updater bot 150c505375 Localisation updates from https://translatewiki.net.
Change-Id: Ice5f5e2d6a3ab30f76e5966ddaf371f53fa8e934
2023-05-05 10:40:29 +02:00
libraryupgrader 03c0d0873b build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: Id1a78e3c3b9e3d6d4334dd77682df192ad9c6699
2023-04-29 08:46:50 +00:00
libraryupgrader 7579f4f3ad build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1

Change-Id: Id9da2a580068e3cbf99398972254f4f1083e257a
2023-03-15 22:10:58 +00:00
libraryupgrader 50bd785723 build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Change-Id: I909778b70d8cdb48b5717587b5fa89a5c56b3a77
2023-03-12 08:03:31 +00:00
Translation updater bot ba728a6c89 Localisation updates from https://translatewiki.net.
Change-Id: Ifb6a9109cd50520987d928cbbdb22fb227e28693
2023-01-12 08:42:42 +01:00
Translation updater bot 69da29482f Localisation updates from https://translatewiki.net.
Change-Id: I89631b6a919b162258adb62abc320c2ce4d79d3a
2022-12-21 09:17:13 +01:00
libraryupgrader f373b0d59d build: Updating mediawiki/mediawiki-codesniffer to 40.0.1
Change-Id: I051a036ffcfed735d88cc484b0db6a0bf3001151
2022-11-16 13:10:02 +00:00
libraryupgrader 792e60be50 build: Updating minimatch to 3.0.8
* https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: Icf96f0fa9fb673547a0e44cf30e437077659a41f
2022-10-21 12:28:30 +00:00
Translation updater bot 701d081619 Localisation updates from https://translatewiki.net.
Change-Id: Iac327f7fe455cf81bbf3ea9d2500c974c9c401b9
2022-10-10 10:20:52 +02:00
libraryupgrader 16407d97ec build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: Ia27765f11934844a40b36c34cde79014f38423d5
2022-10-09 08:29:30 +00:00
libraryupgrader d86556258b build: Updating grunt-banana-checker to 0.10.0
Change-Id: I7a025123fde24556c1f28a1b259a902905a0e662
2022-10-07 03:41:16 +00:00
Translation updater bot 92fe2e7bd2 Localisation updates from https://translatewiki.net.
Change-Id: I96bdbeaed71ce2ac5bcbb2771c5f4a80cd8a3916
2022-09-28 08:22:27 +02:00
jenkins-bot df0a020174 Merge "PdfHandler: Set cache with clearer key group and finite expiry" 2022-09-19 04:48:32 +00:00
Timo Tijhof a43a11136a PdfHandler: Set cache with clearer key group and finite expiry
* The key group should generally reflect a single logical key,
  usually a single getWithSet call, with the rest being variants
  of that key, e.g. not a namespace.

* Give it an explicit expiry. I noticed this issue by reviewing the
  remaining data stored on WMF's mainstash-redis instances.

  There were some old file-pdf:* keys there from long ago. They were
  able to survive this long due to not having an expiry set.

  Ref https://phabricator.wikimedia.org/T280586#8168908
  Ref https://phabricator.wikimedia.org/T314453#8168858

Change-Id: Ibad24c0ac7d1e7f965227f49320814b96375858e
2022-09-02 15:18:23 +02:00
Translation updater bot 65e15cbac4 Localisation updates from https://translatewiki.net.
Change-Id: I21e3cefe84b3aab25ad4328a44169e642a56ede6
2022-09-01 09:34:24 +02:00
Translation updater bot 45aa3def2c Localisation updates from https://translatewiki.net.
Change-Id: If06b8f46b16ca2a653f5952d2fe73da8113c5909
2022-08-12 08:43:48 +02:00
jenkins-bot 7a14e5509d Merge "Use the PDF cropbox for rendering" 2022-08-05 17:45:19 +00:00
Translation updater bot 5719558376 Localisation updates from https://translatewiki.net.
Change-Id: I917bc5c30f52cc98aea8b8038f40c860e03d0333
2022-08-03 08:18:44 +02:00
Translation updater bot 9bce161efa Localisation updates from https://translatewiki.net.
Change-Id: I8da657e7150fa26fc8f82577172c99cd9bdce221
2022-08-01 08:23:14 +02:00
Translation updater bot 72350e99a5 Localisation updates from https://translatewiki.net.
Change-Id: I64db223a3427a514aca95a3e1a3be278dd935c30
2022-07-25 08:38:26 +02:00
Translation updater bot 1e392d855c Localisation updates from https://translatewiki.net.
Change-Id: I831292bbfdb1e0699a09051fa2d6c30367d47b8a
2022-07-01 08:53:23 +02:00
Derk-Jan Hartman b846970ae2 Use the PDF cropbox for rendering
By default the mediabox is used. This is the full potential area of
pages, as also used by PDF editors and can contain areas outside of
the page.
The cropbox is also the size that is reported by pdfinfo as the
pagesize.

Bug: T167420
Change-Id: I92267a9dbe81b6e0e471b8eae1e4c2ba4e5d84e9
2022-06-15 18:39:35 +00:00
Translation updater bot ab9d2d689d Localisation updates from https://translatewiki.net.
Change-Id: I5017c97f94487c2f4b9ed93076b036e5b61b5d60
2022-06-06 09:26:27 +02:00
libraryupgrader 14814e141c build: Updating grunt to 1.5.3
Change-Id: Id5a81e345d9cb21f5ea9c8d914ab103a388cb504
2022-05-26 21:03:05 +00:00