Commit graph

802 commits

Author SHA1 Message Date
libraryupgrader 6212138174 build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Change-Id: I3ca9fba483cc10680b4689fb5dc63cd098290cef
2023-03-12 03:54:53 +00:00
Arlo Breault 08b48fd551 Re-enable tests
Follow-Up: I7b1f07190e8eaca5cbda38d9ce366aa60041ab81
Depends-On: If1e55feb86ce8b32f772e3b78bc9d29f122f4d58
Change-Id: I2a7b255f2783fad6b2e7e1478e5b020f396a486b
2023-02-09 10:25:10 -05:00
Arlo Breault 9f55b88fe9 Disable tests for CI
Needed-By: If1e55feb86ce8b32f772e3b78bc9d29f122f4d58
Change-Id: I7b1f07190e8eaca5cbda38d9ce366aa60041ab81
2023-02-09 10:21:51 -05:00
Arlo Breault 015a318a05 Re-enable tests
Follow-Up: Id6ad0b922f8384f2bbf08e1032b0197aa3136233
Depends-On: I8d059852f472b40b4f4f80a8fa12230f6f4f13ad
Change-Id: I1e5796f768649df466a768f81f2165e601940b8f
2023-02-08 16:20:18 -05:00
Arlo Breault 8d8e95e081 Disable tests for CI
Needed-By: I8d059852f472b40b4f4f80a8fa12230f6f4f13ad
Change-Id: Id6ad0b922f8384f2bbf08e1032b0197aa3136233
2023-02-08 16:17:56 -05:00
Umherirrender 581909aa39 Allow composer/installers plugin
`composer update --no-interactive` errors out if this flag is not set.
Setting it to true, as that was the status quo before Composer 2.2.

Bug: T298283
Change-Id: Ib087b5e85d6910f17bc622b0b7d7e67cd5327d9f
2023-01-21 02:51:23 +01:00
Translation updater bot b6615b2fca Localisation updates from https://translatewiki.net.
Change-Id: I2600511a7a9833f97b16b5b2b7c9e6d147980e3a
2023-01-11 09:01:58 +01:00
Umherirrender 4b479f6427 Replace deprecated ConfigFactory::getDefaultInstance
Bug: T325966
Change-Id: I2bbaa9d1a65e4f33cb9d919237d8664e3f74a51e
2022-12-27 21:10:16 +01:00
Translation updater bot 105206403f Localisation updates from https://translatewiki.net.
Change-Id: I1e4c4dc9436ca42cd71ca5283dc72efd171bb46f
2022-12-21 09:15:56 +01:00
Translation updater bot 74255b54fc Localisation updates from https://translatewiki.net.
Change-Id: I1494afdc1ad7cafad050f262ae71c168c6f1d234
2022-12-15 11:36:05 +01:00
jenkins-bot d712dbaa3e Merge "Avoid Phan PhanUndeclaredMethod false positives" 2022-11-25 19:56:44 +00:00
jenkins-bot 6f54c1b024 Merge "Use Parsoid's HTML5-compliant helpers for HTML transformations" 2022-11-25 19:55:24 +00:00
Bartosz Dziewoński c8c8b9c735 Avoid Phan PhanUndeclaredMethod false positives
The insertBefore() and appendChild() methods return their first
argument, but Phan only knows that they return a DOMNode, even though
we passed in a DOMElement. Rearrange slightly to avoid this pattern.

Change-Id: I04c58458e1ba0d728374ead756afb6facf970766
2022-11-25 18:37:02 +00:00
Bartosz Dziewoński 2cc6549898 Use Parsoid's HTML5-compliant helpers for HTML transformations
Previously XML parsing and serialization was used, causing `<br>`
to be disallowed and `<br />` to turn into `<br></br>`.

Also update some uses of XPath to use querySelector() helper.

Bug: T113791
Change-Id: Ic2069015b4cbb5d05a72eb383052319048111623
2022-11-25 17:05:24 +00:00
Translation updater bot 9e5bf227f4 Localisation updates from https://translatewiki.net.
Change-Id: I1be6450daa82c534f40e43910e8176201424ebf9
2022-11-18 09:18:31 +01:00
libraryupgrader c83fb6c2b9 build: Updating mediawiki/mediawiki-codesniffer to 40.0.1
Change-Id: I0bee93cc64d5241cdc170df70080ec2df2e7667a
2022-11-16 07:12:53 +00:00
libraryupgrader 7aa9d03bea build: Updating minimatch to 3.0.8
* https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: Id2f7c51a276bcab92588c82b0d20149f131cef88
2022-10-21 06:35:38 +00:00
C. Scott Ananian 8890a38c96 Sync up ImageMap repo with Parsoid
This now aligns with Parsoid commit 5c6d948979bba6b58db13790cf3afcc883fe4ff6

Change-Id: Ie17011479274950758bce690d1d874d9e5f001a3
2022-10-12 14:52:11 -04:00
libraryupgrader 793a4d3eaa build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: Id8b85c2b1c4257cf23136fbdbd6bf164d73b02c9
2022-10-09 05:51:25 +00:00
James D. Forrester 42666f967c build: Drop PHP dependency, irrelevant given MediaWiki version
Change-Id: I4f206c9c2addbb39034f7ff083a3c0f0130c1bd0
2022-10-07 10:46:54 -04:00
libraryupgrader 672c67c482 build: Updating grunt-banana-checker to 0.10.0
Change-Id: Iab33976d4eb8752e16ac814b4ac1451556eb3305
2022-10-06 06:45:40 +00:00
Translation updater bot 472449ede9 Localisation updates from https://translatewiki.net.
Change-Id: I6f876b113cc7072c7d024b8dc8adc692a1b3b342
2022-09-28 08:21:47 +02:00
Translation updater bot e38e70b05b Localisation updates from https://translatewiki.net.
Change-Id: Iec84f387626dcee5244b80f98cf355ba45840986
2022-09-26 08:15:27 +02:00
Translation updater bot c18ed260e5 Localisation updates from https://translatewiki.net.
Change-Id: I651aa6d10f6f198ac3dc14a1d541b8808bbe10dc
2022-09-12 09:36:37 +02:00
Reedy 76a921145e Switch to HookHandlers
Bug: T271015
Change-Id: I3a0b766dd9f64494a842f1bb1e64f6a51b146692
2022-08-26 19:13:13 +00:00
Translation updater bot 4fa3d62539 Localisation updates from https://translatewiki.net.
Change-Id: I7d290bf20740097979bb6a28a66e6bb72dcc2172
2022-08-15 08:26:30 +02:00
Translation updater bot a83bf476ed Localisation updates from https://translatewiki.net.
Change-Id: I833e5b015aa9d14aa4dd122195d7f02102dafa78
2022-07-15 08:43:58 +02:00
Translation updater bot 094221da68 Localisation updates from https://translatewiki.net.
Change-Id: I537938cdca87c58aa7e317b806c0ba55a3221d74
2022-07-01 08:52:50 +02:00
Translation updater bot 557d3c145d Localisation updates from https://translatewiki.net.
Change-Id: Iad153898a4ed9795dbccd0df0b0d25d01a9713b7
2022-06-14 08:48:21 +02:00
Translation updater bot ce9111ac2b Localisation updates from https://translatewiki.net.
Change-Id: Ib121d0de134c01aac76d1f4f1b50fe1fa11fe5ee
2022-06-06 09:25:55 +02:00
Arlo Breault bc5f7f7f3f Sync up with Parsoid imageMapParserTests.txt
This now aligns with Parsoid commit 4eb378d8c7cbdc9d6a939d6068f1c13e94e2b0ac

Change-Id: I83cd0c78abb6ef4313113b22bca486fc7453dcd7
2022-05-27 12:21:24 -04:00
jenkins-bot b433152e45 Merge "Update typeofs to mw:File" 2022-05-27 16:11:34 +00:00
libraryupgrader 5a8ffec012 build: Updating grunt to 1.5.3
Change-Id: If50f0a713c5da73a502b7af6d9f1bce051a21e25
2022-05-26 14:56:51 +00:00
libraryupgrader ff1a49375e build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* eslint-config-wikimedia: 0.20.0 → 0.22.1
* grunt: 1.4.0 → 1.5.2
* grunt-eslint: 23.0.0 → 24.0.0
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

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

Change-Id: I4f404eb77683348f13bc9c3b78208a692382de91
2022-05-21 06:25:07 +00:00
Arlo Breault d132c60c6e Update typeofs to mw:File
Bug: T273505
Depends-On: I719a367622b3887cfea3032582a767c2c38d0f87
Change-Id: Ifa957e3b0e437447cdc1a60b2f387440a9ef9a88
2022-05-19 17:21:55 -04:00
Arlo Breault 011323524f Disable tests to avoid circular dependency
Bug: T273505
Change-Id: I9f36ef8bc3023195dd31e52f04e8f0f0f792d311
2022-05-19 17:19:44 -04:00
Arlo Breault 75f95fbc1e Place tooltips if caption isn't visible
Matches Parsoid commit Icbc36b6e9aa1b9f4f27c23f4833c626a725cc154

Bug: T297443
Bug: T108380
Depends-On: I30eba0fb226971ddeda4eb240929e89ef7e5f45f
Change-Id: Ic0169d3914c5ce442b063f4bbbb6493966dbb302
2022-05-16 19:22:03 -04:00
Arlo Breault 04ce450e68 Disable test temporarily
To break circular dependency.

For I30eba0fb226971ddeda4eb240929e89ef7e5f45f

Bug: T297443
Bug: T108380
Change-Id: I896e2af2e8a712a36eb23a25cad08f53574fc044
2022-05-16 17:54:56 -04:00
Translation updater bot 7e8569e3cb Localisation updates from https://translatewiki.net.
Change-Id: Ibc2fd01715eae3c8345e5bf32fbd2ad1f08a1111
2022-05-02 08:19:41 +02:00
Translation updater bot 6077c2518e Localisation updates from https://translatewiki.net.
Change-Id: Idbee4fc52a05ef89d5550d003db229505c94a304
2022-04-25 08:18:05 +02:00
Translation updater bot 306b2c5359 Localisation updates from https://translatewiki.net.
Change-Id: Iedaf5076b986f0f762e0ceaa6cd1091b1105a1ba
2022-04-11 08:14:10 +02:00
Reedy e0ef563437 Correct namespacing to match best practices
Bug: T303105
Change-Id: Ie72eb7c2dfcf9a7d5f95e9130d3631f2aa7d542e
2022-03-05 15:10:40 +00:00
jenkins-bot 5d8fc50038 Merge "Account for strtok boolean return type" 2022-02-26 04:47:48 +00:00
Arlo Breault 375570b616 Account for strtok boolean return type
This has been around for 16 years (since 284a684c) but throws when
strict_types are enforced.

Ternary is fine here since "0" doesn't seem like a legitimate type.

Bug: T302093
Change-Id: I1d2087ba28496e26c2718387cd735541698351f0
2022-02-25 18:53:47 -05:00
Translation updater bot d89ea2130e Localisation updates from https://translatewiki.net.
Change-Id: I59bc81d65aa05dc55ae1a79acf7046a9a962f45a
2022-02-25 09:44:07 +01:00
Reedy bf2da4d9d3 Replace usages of Wikimedia\(suppress|restore)Warnings()
Change-Id: Ic092d27608f5a309617498789dab36d1c7088dfa
2022-02-24 21:20:40 +00:00
Arlo Breault 6b15f9b4b4 Re-enable tests that were disabled to break circular dep
Depends-On: Id4e8d16344ce0f420bfd3e0d5833c67d1cf85fd8
Change-Id: I9307a9fe09433ee0d552f4032b9505418ed8763b
2022-02-18 19:43:10 -05:00
Arlo Breault d0800e1f8d Revert "Add "resource" attribute to img tags"
For Id4e8d16344ce0f420bfd3e0d5833c67d1cf85fd8

Tests are disabled to avoid the circular dependency dance.

This reverts commit 8c9dfdf91f.

Change-Id: I261887a3b2d15130894b947d18a2e85537d50a1f
2022-02-18 19:41:11 -05:00
Translation updater bot 9beab584ca Localisation updates from https://translatewiki.net.
Change-Id: Icbbf41c73988b82c4a350a73ab77a7e143cc562c
2022-02-01 08:27:07 +01:00
Translation updater bot 132b344efe Localisation updates from https://translatewiki.net.
Change-Id: I864f7db10b644287b0a07e55796d2f6e67ab9ecc
2022-01-25 08:32:49 +01:00