Commit graph

713 commits

Author SHA1 Message Date
Translation updater bot 38f7faed91 Localisation updates from https://translatewiki.net.
Change-Id: I0f4a0ac440a98c43ff1f07d3357e0e3f1d1ddb13
2023-08-14 09:18:13 +02:00
Translation updater bot 35fc1e3a09 Localisation updates from https://translatewiki.net.
Change-Id: Ic1b3ede785f06cf17b9cce4342efdd93c93f83c6
2023-08-10 09:41:33 +02:00
Translation updater bot 5079a2643e Localisation updates from https://translatewiki.net.
Change-Id: Iecc5d04218bc1ee51860cc3d0330723a2cd7eca0
2023-08-09 09:15:31 +02:00
Translation updater bot 576875fb46 Localisation updates from https://translatewiki.net.
Change-Id: I208fd2e990b1a774e88030208bba2236d99e461a
2023-08-08 09:01:23 +02:00
Translation updater bot 29b7233c44 Localisation updates from https://translatewiki.net.
Change-Id: Ie550169032d179326654bb5697296e55793a0bbe
2023-08-07 08:39:17 +02:00
Umherirrender a85ff941ef i18n: Split apihelp for parameter prop=pageimages&piprop=
Easier to translate
There is no visible change on Special:ApiHelp/query+pageimages

Enable use of existing paramvalue apihelp messages for pilicense

Bug: T285545
Change-Id: Iea70490705af9224b3c93669bd5a6e9be7043410
2023-08-05 02:20:47 +02:00
Translation updater bot d7a4b18ffd Localisation updates from https://translatewiki.net.
Change-Id: I6068151adefe4916fe941621e7ac4240a32ee76c
2023-07-24 09:39:10 +02:00
Translation updater bot 3f2d51fa08 Localisation updates from https://translatewiki.net.
Change-Id: I68400225b26a0835066772c72e71e0533131a93a
2023-06-26 12:40:22 +02:00
jenkins-bot 6b1bc3347d Merge "ParserFileProcessing: Inject TitleFactory" 2023-06-24 10:40:19 +00:00
jenkins-bot 58619f2384 Merge "ParserFileProcessing: Use ConnectionProvider and QueryBuilder" 2023-06-24 10:40:17 +00:00
Umherirrender 9ecfd6958d api: Remove old apihelp i18n description messages
No longer used since 1.33

Automatically removed message keys with "doc-apihelp-description" in qqq

Bug: T340253
Change-Id: I57ecb8cad5c1cc0156c6137a2bfc063d01939c17
2023-06-24 00:07:56 +02:00
Umherirrender 619d623104 ParserFileProcessing: Inject TitleFactory
Check the parsed title if valid and can exists on the database

Change-Id: I32805de6ab4b9dca7d56faf982762f6949fc3203
2023-06-21 23:03:44 +02:00
Umherirrender a9b4b4877f ParserFileProcessing: Use ConnectionProvider and QueryBuilder
Bug: T312501
Change-Id: I4c5b5b773cbf1bf77dae7c189f65c8760091e384
2023-06-21 22:50:19 +02:00
libraryupgrader 59549ea379 build: Updating grunt-banana-checker to 0.11.0
Change-Id: Ia90fe1a89ac6bc43a03dc8b1e4bb4d174d5aff08
2023-06-01 22:32:07 +00:00
Translation updater bot 264a57735c Localisation updates from https://translatewiki.net.
Change-Id: I81a3d4032a34e4c57905e900e6bc06aa17c74651
2023-05-29 09:59:50 +02:00
Translation updater bot 51c8d4b307 Localisation updates from https://translatewiki.net.
Change-Id: I2b2856e1702654961c31adddb8859b177fb36d6f
2023-05-22 08:46:12 +02:00
Umherirrender e46bda7e67 tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: If55e19c0a088aef8ab84a09c8f1949320d035db4
2023-05-20 17:29:11 +02:00
Translation updater bot e6c7e17d64 Localisation updates from https://translatewiki.net.
Change-Id: I465729c4b372737ba2c03979cfb818e9fdb30350
2023-05-08 10:32:59 +02:00
libraryupgrader 07d54a052a build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I71e6affe97be5d2302818923514b1fc8d1cd91eb
2023-05-05 08:00:06 +00:00
libraryupgrader df1e43e747 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: If778aca2ebf10adf5fb91cb8673af736cd5e8bc0
2023-04-29 08:11:32 +00:00
jenkins-bot fc73f3b463 Merge "Update parsertests with new media classes" 2023-04-26 17:47:04 +00:00
Arlo Breault 3c6dba3707 Update parsertests with new media classes
Depends-On: Ifd4001e312a5fa4b7beaad63ba8c4e79e3201b9b
Change-Id: I132330414018cb7d3adbd4c1c4e05af91ffeec2d
2023-04-26 13:16:51 -04:00
Umherirrender 3ae938a116 Use renamed ParserModifyImageHTMLHook interface
Follow-Up: I3043454a502289e5ee2492f7bf2ab01e155c30ba
Change-Id: I3cc4a5d4e4edac76e81c16c1da97427d765cce49
2023-04-22 19:54:54 +02:00
Arlo Breault a0be3eec78 Disable tests to break circular dependency
Needed-By: Ifd4001e312a5fa4b7beaad63ba8c4e79e3201b9b
Change-Id: Ib60edacdae2ff41a0de2b2b584718fd9ce925f97
2023-04-20 16:36:41 -04:00
Translation updater bot d2b0979db6 Localisation updates from https://translatewiki.net.
Change-Id: I9c0e7d5c5e4c429a2995eacc1e4dbd710bc50a38
2023-04-10 09:22:30 +02:00
Translation updater bot 50d0c03154 Localisation updates from https://translatewiki.net.
Change-Id: Ic39ee92217e0d8a4056fca59773dd874f044faec
2023-03-20 09:02:03 +01:00
libraryupgrader 8984f699dd build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1

Change-Id: I935f57a98174e76a899b82af98d012a6c6607831
2023-03-16 04:01:13 +00:00
libraryupgrader a9656813c0 build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Change-Id: Ibd2cfb830215f8b002219ca41164bdf6d24c4029
2023-03-12 07:24:15 +00:00
C. Scott Ananian 58fc38be13 Update parserTests to new format for 'property' option
In I845694d4f2109a8b9125410e8533ca69bbea50fa we changed the format of
parser tests using the 'property' option.  This updates the parser
tests in PageImages to the new format used for metadata in parser tests
(in this case, adding `!! metadata` sections).

Depends-On: I845694d4f2109a8b9125410e8533ca69bbea50fa
Change-Id: Ia7060c9bfcdebe9783ea48d429442bcdbaac459e
2023-03-07 15:24:50 -05:00
Arlo Breault 0ec66379d1 Add explicit wgParserEnableLegacyMediaDOM config to pageImagesParserTests.txt
In preparation for changing the default value.

Bug: T314318
Change-Id: Ie1ae17aec283b41dfc086371b4627b665153f086
2023-02-14 15:56:07 -05:00
Translation updater bot 199f0a90ca Localisation updates from https://translatewiki.net.
Change-Id: I819a500e98e12c8709287c7ccf0a8b8151ff61e8
2023-01-30 08:30:36 +01:00
Translation updater bot bcbd17ad68 Localisation updates from https://translatewiki.net.
Change-Id: I912dd2b68cba250647f2b52125403822b02089a4
2023-01-05 09:09:52 +01:00
jenkins-bot 8df2b55c6a Merge "Use PageReference on ParserFileProcessingHookHandlers::processThisTitle" 2023-01-03 23:13:17 +00:00
Umherirrender 00ec4349d4 Use PageReference on ParserFileProcessingHookHandlers::processThisTitle
Avoid deprecated Parser::getTitle
Parser::getPage can return null, so checking for that as well

Change-Id: I90f04d514934621ee7fdc0ebe519673d7ba1d82f
2023-01-03 23:32:11 +01:00
Translation updater bot a387f18f9e Localisation updates from https://translatewiki.net.
Change-Id: I86d0ba378495a9d5d143eb613fd7e12d801eefb0
2023-01-03 08:21:07 +01:00
Translation updater bot d3c6d39d63 Localisation updates from https://translatewiki.net.
Change-Id: I902e53be35da9b3a8bff004d436f08e9d6dc931d
2023-01-02 08:44:03 +01:00
Translation updater bot fca29f3ebe Localisation updates from https://translatewiki.net.
Change-Id: I53c2fd3baff515277062083bde1f9f111485e107
2022-12-21 09:17:07 +01:00
jenkins-bot 3368093c4d Merge "Temporarily disable failing heading parser test case" 2022-12-15 19:07:11 +00:00
jenkins-bot 3dfd1f636f Merge "Replace deprecated Http::get" 2022-12-14 20:50:00 +00:00
Amir Sarabadani 491eeedc28 Fix brittle test
It really shouldn't test everything. Blocking I3dc682d2dce

Change-Id: I12643edfad16acb072757ec29ae3ba08fc11d65b
2022-12-12 08:28:37 +01:00
Umherirrender de7bf883d2 Replace deprecated Http::get
Bug: T305813
Change-Id: Icd3e64fc13e291761b287c4059315df39cd88d1e
2022-12-11 15:54:20 +01:00
Translation updater bot 7a83acf385 Localisation updates from https://translatewiki.net.
Change-Id: I320a09902d406266dd09ed712d67cd2f8ddc557d
2022-11-29 08:59:04 +01:00
jenkins-bot 7245136ded Merge "Adopt getWithSet idiom for getPageImage in-process cache" 2022-11-29 06:07:56 +00:00
Bartosz Dziewoński af76b17c7e Temporarily disable failing heading parser test case
The heading markup is changing in T13555.

Change-Id: Ib92193b6b43ca4b8f8f36475ed0a7793866b50c0
2022-11-24 15:37:24 +01:00
Timo Tijhof d50f90ba78 Adopt getWithSet idiom for getPageImage in-process cache
Follows-up I9b08b4de2648bf.

Bug: T322528
Change-Id: I8e974b66e3a0cdee2c6ef5eeb38719cff60dc93c
2022-11-23 01:38:14 +00:00
Amir Sarabadani 8fe805f25e Make sure pithumbsize set width and not height
This unifies image thumbnail sizes so instead of being random image
sizes, it would be only one thumbsize.

Bug: T323223
Change-Id: Ib7a7a5bce3ce10e60819e6ca056fe30f11e969a5
2022-11-21 19:52:44 +01:00
jenkins-bot 9902ffb55c Merge "Remove size check" 2022-11-17 23:16:29 +00:00
jenkins-bot e588a4eeff Merge "Add in-process cache for result of getPageImage() DB query" 2022-11-17 16:21:41 +00:00
libraryupgrader d99802768c build: Updating mediawiki/mediawiki-codesniffer to 40.0.1
Change-Id: Idfb908cfb13308c1c3a600705b0ed60d9215008f
2022-11-17 07:15:05 +00:00
Matthias Mullie c75b00d14d Ensure array is passed to getProperties
PageImages::getPropNames can return either array or string,
and PageProps::getProperties accepts both.
But the latter's return value will be different depending
on the type of input: with an array as input, the returned
array's values will be an associative array where the index
is the propname; with a string, it's just the propvalue.

This difference matters because the code below assumes an
array with propname keys.

Bug: T323152
Change-Id: I422951ec0cd5c651b32c65e88a557d49f2f22712
2022-11-16 09:33:37 +01:00