libraryupgrader
3bf782945c
build: Updating composer dependencies
...
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1
Change-Id: I595d9b6d549cf75a56be8e2cb151ec329d5919c9
2021-09-09 05:11:44 +00:00
Kunal Mehta
bbb15eb87c
Remove questionable PdfHandler::isEnabled() implementation
...
The variables are set to default values in extension.json, so
someone would have to manually set them to null values to trigger
this check. At that point, surely you'd just disable the extension.
A check like is_executable() might've made sense, however with the
introduction of Shellbox, it would be totally fine for the binaries
to not exist on the host where MediaWiki is running, but only in the
container. So just removing the check seems like the most
straightforward thing to do.
Bug: T289228
Change-Id: I5da0625959fdfa01c36c955c82320dbc591b3f23
2021-09-03 01:07:49 -07:00
Kunal Mehta
2328f802b1
Move pdfhandler.messages module to extension.json
...
These messages have not changed since they were originally defined
in f4f87ceb
(2015). Instead of using a hook to register the module
at runtime, put it in extension.json with a note next to the warning
configuration to keep the messages in sync.
Change-Id: I135bf1a9f2cd59926a40cc565e5c8a2a6f2483c0
2021-09-03 00:59:19 -07:00
libraryupgrader
2e5afea2bc
build: Updating path-parse to 1.0.7
...
* https://npmjs.com/advisories/1773 (CVE-2021-23343)
Change-Id: I19f5c12b8b0f6ba6e78c138cd62497d1ea81f8d0
2021-08-12 06:47:48 +00:00
libraryupgrader
baacee933a
build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
...
Change-Id: I5cb81cdbefee813e98b8582838bac70e05eab7a5
2021-07-23 07:08:39 +00:00
jenkins-bot
4e38d0ed99
Merge "Remove $wgPdfCreateThumbnailsInJobQueue"
2021-06-29 00:47:10 +00:00
Tim Starling
86df1cd6c6
Fix broken PDF XMP extraction
...
XMP extraction does not work for me with libpoppler 0.86, because when
the output of the two commands is concatenated, there is no "Metadata:"
prefix introducing the XMP. It ends up splitting every line of the XML
on colon characters in attribute names, spamming lots of little
properties into the final result.
I can confirm that it's also broken in production.
So, just treat the output of pdfinfo -meta as plain XML.
Change-Id: Ia3df17daed0f27e95294b5d97872ec064c79965c
2021-06-11 15:57:04 +10:00
Tim Starling
989b42b8eb
Use the new metadata splitting facility to improve PDF performance
...
* Migrate to the new metadata system: override getSizeAndMetadata()
* Use getHandlerState() instead of a custom property on the File object.
* Opt in to metadata splitting. Avoid loading the text item unless it is
really needed.
* In getDimensionInfo(), use getHandlerState() instead of the
WANObjectCache process cache (pcTTL). This is just a
micro-optimisation, informed by profiling, which showed 90 calls to
this function during an image page view.
Depends-On: I876ea5c9d3a1881e278f689d2f8a3ae20240c703
Change-Id: I30d0b0009fcb11c14d14663bd1f2c2a3dfac55d6
2021-06-11 15:56:57 +10:00
Tim Starling
06fec68e08
Remove $wgPdfCreateThumbnailsInJobQueue
...
The feature is nonfunctional due to the page count always being zero
when the hook is called. The core feature $wgUploadThumbnailRenderMap
can be used as a replacement, after I add multipage support to it.
Bug: T284416
Change-Id: Id83a6a148f1ca12f1399b5e11951a9d80afb5c2d
2021-06-07 14:56:34 +10:00
libraryupgrader
5073f572cb
build: Updating browserslist to 4.16.6
...
* https://npmjs.com/advisories/1747 (CVE-2021-23364)
Change-Id: I4a5dce17cc23a0fda7a945525a839c9697862e21
2021-05-26 01:30:24 +00:00
Translation updater bot
b11d814d97
Localisation updates from https://translatewiki.net .
...
Change-Id: If1ec180a7effe48e25eb6bf9606715315eb4e4b1
2021-05-25 08:53:32 +02:00
libraryupgrader
d82137564f
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0
npm:
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
* https://npmjs.com/advisories/1673 (CVE-2021-23337)
Change-Id: I1afc4814a0d4645c4ff08f9c6845f0bbc2353900
2021-05-12 14:12:43 +00:00
libraryupgrader
a748147bb6
build: Updating eslint-config-wikimedia to 0.20.0
...
Change-Id: Ibf806fead4d321a7291ebf315576a1b90aef97be
2021-04-13 23:32:41 +00:00
Translation updater bot
63dd641e2b
Localisation updates from https://translatewiki.net .
...
Change-Id: I5065f667eada52dad357bb77ce9f12fa910a0735
2021-04-12 08:38:30 +02:00
Umherirrender
5740d02758
Use ::class for class name
...
This works also for non-existing classes,
because it is resolved on compile time
Change-Id: I789df6994b22529a8bc09123369dae0f1b52d565
2021-04-08 21:02:46 +02:00
libraryupgrader
42afa92436
build: Updating eslint-config-wikimedia to 0.19.0
...
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).
Change-Id: If8c84a6f8619a85329264684b8ac94f6892929a4
2021-03-14 07:03:44 +00:00
libraryupgrader
1e5d95d5fa
build: Updating eslint-config-wikimedia to 0.18.2
...
Change-Id: I768aa7211bb69cbeb0b2acdb3e79c82af99ddd45
2021-03-07 13:44:24 +00:00
vladshapik
c73192e23d
Avoid using User::getDefaultOption
...
Remove using of User::getDefaultOption since this method will be hard-deprecated. Now it is soft-deprecated
Bug: T276035
Change-Id: I6b489dc7236998bcfee6fa136167c3712757dd39
2021-03-01 12:25:47 +02:00
Reedy
f375ff3bde
Code cleanup
...
Change-Id: I8eaba727c73560eadb11ae471853e5cedc547809
2021-02-11 20:33:34 +00:00
Reedy
5f0b70972d
Namespace extension
...
Change-Id: I1e80a32a71e4b15d38e1e91b866dbcca848f188c
2021-02-11 04:14:37 +00:00
libraryupgrader
c00da59c93
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1
npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1
Additional changes:
* Added the "composer phan" command to conveniently run phan.
* Removing manual extensions for eslint.
Change-Id: I23c7fdeedbcecb222201311eb0a32608abc99f12
2021-01-30 07:21:55 +00:00
Translation updater bot
27fcbf8784
Localisation updates from https://translatewiki.net .
...
Change-Id: If56c20739ce71a91b335931e2c88ea7b185298b4
2021-01-18 08:39:17 +01:00
libraryupgrader
b579369dd5
build: Updating mediawiki/mediawiki-phan-config to 0.10.6
...
Change-Id: I883ff3d98b4b6da15eebe3fc7371723d71a6e8be
2020-12-19 23:55:03 +00:00
libraryupgrader
3a52271dff
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-phan-config: 0.10.4 → 0.10.5
npm:
* ini: 1.3.5 → 1.3.7
* https://npmjs.com/advisories/1589
Change-Id: Ic3159d2ba34a3530fb17136b914aace30d391ce0
2020-12-11 02:44:08 +00:00
Translation updater bot
36e9685630
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic7bffadabf61ca29aba5b0a518c4c0ae298e06a2
2020-12-07 08:46:31 +01:00
libraryupgrader
ec94dc0831
build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
...
Change-Id: If520fb8773180d8335d0142a9a72cbdd210feca4
2020-12-06 21:33:08 +00:00
libraryupgrader
85b38761df
build: Updating mediawiki/mediawiki-phan-config to 0.10.4
...
Change-Id: Id8810e6914149d0163aa28ee0eb99cd68b7752ce
2020-11-20 13:24:35 +00:00
Translation updater bot
cdaa5f868c
Localisation updates from https://translatewiki.net .
...
Change-Id: If53afbf2fdc1b9cc39e388e509b3ee6985354d88
2020-11-16 08:37:42 +01:00
libraryupgrader
1fe574b57d
build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
...
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic
Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).
Change-Id: Ifc51b96800252bdb8f491b6ca0f7226c3aca4b3e
2020-11-04 07:20:57 +00:00
C. Scott Ananian
f0799bec7b
Don't try to format pdf-specific metadata as numbers
...
Bug: T266677
Depends-On: I184a7976f2e63f2e70a87257d7749af688659c9d
Change-Id: I80ba13af986859f8f2d751d320a0fcfc73f1672c
2020-10-30 12:44:11 -04:00
libraryupgrader
771866f504
build: Updating mediawiki/mediawiki-phan-config to 0.10.3
...
Additional changes:
* Dropped .php5 files from .phpcs.xml (T200956).
Change-Id: I6529580b0e7a5e4ed7a1433cd15d531b468f94ad
2020-09-25 07:08:25 +00:00
Translation updater bot
47d30e30fe
Localisation updates from https://translatewiki.net .
...
Change-Id: Iea9ad1621d6eb4a8d580983ed2949de38711c20e
2020-09-23 08:25:17 +02:00
Translation updater bot
ae8a988442
Localisation updates from https://translatewiki.net .
...
Change-Id: I3bb1ce4acb79ba310ac1280fe85018315c023725
2020-09-21 08:30:18 +02:00
Translation updater bot
4203e21217
Localisation updates from https://translatewiki.net .
...
Change-Id: I03648f347f55c8a45671250673e337557e9c31f3
2020-09-14 09:15:55 +02:00
libraryupgrader
47b26b3d4b
build: Updating npm dependencies
...
* eslint-config-wikimedia: 0.16.2 → 0.17.0
* grunt: 1.2.1 → 1.3.0
Change-Id: I279f2bba97f25c2fe68b9d28945efaf67ae8c4ee
2020-09-04 11:58:14 +00:00
Translation updater bot
ed95aa5e0c
Localisation updates from https://translatewiki.net .
...
Change-Id: I5a52725f87792dfe183a14ea1a7170d2751f5a60
2020-08-03 08:33:07 +02:00
Translation updater bot
124b2c86a8
Localisation updates from https://translatewiki.net .
...
Change-Id: I476f2a51169c16f6aaad86d2fd976555e0ebd726
2020-07-21 09:12:56 +02:00
libraryupgrader
cd35929fb3
build: Updating grunt to 1.2.1
...
Change-Id: I623e44c15ae7b741a54def0f2ec6e8d303106523
2020-07-18 19:36:23 +00:00
libraryupgrader
32991ccd2a
build: Updating npm dependencies
...
* eslint-config-wikimedia: 0.15.3 → 0.16.2
* grunt-eslint: 22.0.0 → 23.0.0
Change-Id: I7164b1eb2617d2827e36ebb3205cb64f7c4a5845
2020-07-17 02:38:34 +00:00
Nikerabbit
8b39cdde60
Revert "Localisation updates from https://translatewiki.net ."
...
This reverts commit 3616fa84fe
.
Reason for revert: Broken export
Change-Id: I813a0260474681c5a81b3be7ce01bb89134fcee5
2020-07-13 11:57:04 +00:00
Translation updater bot
3616fa84fe
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib68bb8a5d13a686865904171d00f526f341f5e65
2020-07-13 08:44:47 +02:00
libraryupgrader
de78c5c1fc
build: Updating lodash to 4.17.19
...
* https://npmjs.com/advisories/1523
* CVE-2019-10744
Change-Id: Idfe61db0e7f735bec238c8231adcd66a2a59e1c9
2020-07-10 18:55:26 +00:00
libraryupgrader
37d3087354
build: Updating mediawiki/minus-x to 1.1.0
...
Change-Id: Ibb714a35bbe7d65c058f38564e48945753ff944c
2020-06-09 12:12:38 +00:00
libraryupgrader
10d9731482
build: Updating mediawiki/mediawiki-phan-config to 0.10.2
...
Additional changes:
* Removed phan-taint-check-plugin from extra, now inherited from mediawiki-phan-config.
Change-Id: Ia992c741e1482511b95ab1f229b4e79f0287f82c
2020-06-01 22:35:18 +00:00
libraryupgrader
822c133231
build: Updating composer dependencies
...
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0
Change-Id: I1fb719affdea15f0bfb3e7e3d393b1f34bcdd853
2020-05-31 09:40:11 +00:00
libraryupgrader
340c140006
build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
...
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".
Change-Id: I95d686be7684c5c7028e87f36235f094faf85d49
2020-05-30 04:18:09 +00:00
Reedy
e52d6252ea
Fix PSR12.Properties.ConstantVisibility.NotFound
...
Bug: T253169
Change-Id: I99eeade79dc53eb0b7f00f4304ec0526524943b6
2020-05-20 00:36:48 +01:00
jenkins-bot
39c6f708e7
Merge "Convert to manifest_version 2"
2020-05-12 16:16:38 +00:00
Reedy
bf7398e78e
Convert to manifest_version 2
...
Bug: T252470
Change-Id: Id77e6c33af89e293c9d3440f2988acc1c35a9c7c
2020-05-12 02:04:08 +01:00
libraryupgrader
a2ab93f4f3
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0
npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
Change-Id: Ib16682c699b400842ba628d75c8d8af67f7d3093
2020-04-22 16:30:22 +00:00