Commit graph

822 commits

Author SHA1 Message Date
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
Subramanya Sastry 6f1892a045 Merge "Add "resource" attribute to img tags" 2022-01-07 19:03:50 +00:00
Translation updater bot 2e7230d4d9 Localisation updates from https://translatewiki.net.
Change-Id: Ie763a85a8fae7f31eb5de1e0ba9448705e63363e
2021-12-27 09:30:19 +01:00
Arlo Breault 8c9dfdf91f Add "resource" attribute to img tags
Bug: T292657
Depends-On: Ia94138383ebdbfc2feef75fdf651b969085a72b1
Change-Id: Idb60e418f79dcb6a121de2a11e6e0ed0b31fd3ff
2021-12-15 19:16:09 -05:00
Translation updater bot dca4604b75 Localisation updates from https://translatewiki.net.
Change-Id: I7fc98e163f7cfeb2401b8c0fe529f4c4ec520545
2021-12-13 08:21:38 +01:00
Translation updater bot 9dd5766ca9 Localisation updates from https://translatewiki.net.
Change-Id: I70cf370e05ba1ae229d3ceb1ef739bf92c0a91d8
2021-12-06 08:19:17 +01:00
Arlo Breault 124cff0cb2 Handle link= file option
This only crashed the legacy output.

Bug: T294467
Change-Id: I4c44c0d04a0726c88d4ec9a7efbfd5e0a49d4437
2021-11-24 18:00:23 -05:00
Arlo Breault c3d9df4c40 Sync up with Parsoid imageMapParserTests.txt
This now aligns with Parsoid commit 1be0459b35fc39054f9ad74819409c127919fb0d

Change-Id: I34c936506b4d43f6b860003e2a70eec80a4f532c
2021-11-22 16:00:05 -05:00
libraryupgrader 88e01e2f7e build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: Iedc554a5c22d9542284a6bb81c4e21578d0eccd2
2021-10-24 05:37:27 +00:00
Translation updater bot 3364d1e665 Localisation updates from https://translatewiki.net.
Change-Id: I7d313601494037672b13b976a8018bcfa898b51c
2021-10-07 09:03:01 +02:00
Translation updater bot 902fc93fe9 Localisation updates from https://translatewiki.net.
Change-Id: Ifb202a41690eff6d76acb4e1d9d75dda28f29924
2021-10-06 09:28:31 +02:00
libraryupgrader 1286c8b4ac build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/5197 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I54c46a8adff5f5bd77fb5786c58f9e371d919665
2021-10-05 00:27:23 +00:00
Translation updater bot 9c5e6dd7e9 Localisation updates from https://translatewiki.net.
Change-Id: I3362526d5323536ddc49075b302359d1d7aed21e
2021-09-15 08:14:22 +02:00
Translation updater bot 4e6e994aa4 Localisation updates from https://translatewiki.net.
Change-Id: I6588c32c41539fe9b06e8bcd865967f8b7ab03cb
2021-09-13 08:29:42 +02:00
jenkins-bot 910fcb0243 Merge "Force block imagemaps when !$enableLegacyMediaDOM" 2021-09-10 03:58:31 +00:00
libraryupgrader f8e53e1c07 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: I3ab173bde6ad1a5256fac073fc7d165720659a40
2021-09-09 01:57:41 +00:00
Arlo Breault ee3e717a52 Force block imagemaps when !$enableLegacyMediaDOM
Matches the implementation in Idb576004a58f0949b824a46d26dab7d715268ca4

Bug: T290044
Change-Id: I3971471dd4f56d9df9246dc571a4c42cfe424867
2021-09-08 20:08:13 -04:00
Arlo Breault 66cc306cbe Update ImageMap for new media structure
Bug: T272186
Change-Id: I5544b7274316248773f191eb7ecd08088473fcd9
2021-08-12 19:00:19 -04:00
Arlo Breault 0ffd3ef783 Sync up with Parsoid imageMapParserTests.txt
This now aligns with Parsoid commit 77c2f005e3b3fdca6b4ff850066170b31390951d

Change-Id: Ic2fc228c959f273a005451ff8eb1f6830de5cf6b
2021-08-12 18:38:49 -04:00
libraryupgrader 4a3745baf1 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I50b2e3f12ccb076e24533a24a531e9a4cd72f5b9
2021-08-12 02:21:30 +00:00
Translation updater bot 80f5a7d35d Localisation updates from https://translatewiki.net.
Change-Id: I962a31a4f37ae95d6e3bd5088ffa66268a90e8dc
2021-08-02 08:37:06 +02:00
libraryupgrader ec27c220f7 build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
Change-Id: I5ed506986c7a5d13d0d989f2ee6c3983f03be033
2021-07-23 00:19:00 +00:00
Translation updater bot 9d0d621c24 Localisation updates from https://translatewiki.net.
Change-Id: I5afc1e3ce9449483cb518064f47ef6d585cfb64b
2021-07-19 08:15:56 +02:00
Arlo Breault 7663297861 Sync up with Parsoid imageMapParserTests.txt
This now aligns with Parsoid commit 10b44f6c0b6a38fb129a0deb39b98b196508ebe3

Change-Id: I29b89066e666dd0e552a2d30315a116153b58d5f
2021-07-15 15:39:35 -04:00
Translation updater bot 7d57513eda Localisation updates from https://translatewiki.net.
Change-Id: Idcfec4a327e10922090e98eed3a50e15dd3dfa19
2021-07-06 08:38:32 +02:00
Translation updater bot efe02647e5 Localisation updates from https://translatewiki.net.
Change-Id: I4130f4c3fc7a8346dedfdfa2e1d74936878a55ce
2021-06-14 08:37:16 +02:00
Translation updater bot 54ea6a858a Localisation updates from https://translatewiki.net.
Change-Id: I13c68f72ce74dda2318704585cbc69fe9bacaf5f
2021-06-07 08:42:12 +02:00
libraryupgrader a75210bff1 build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I99b492810279f8effeeb32a07b3fdf0e42bfd97c
2021-05-25 17:46:52 +00:00
Translation updater bot 133c6c4210 Localisation updates from https://translatewiki.net.
Change-Id: Ie3d254ae788deb66c9a909a548a4e2ebb2ee9536
2021-05-24 09:54:07 +02:00
Translation updater bot c3cea72863 Localisation updates from https://translatewiki.net.
Change-Id: I46b6bcbf1fca3a34b156bf98e666f336399564c3
2021-05-11 09:06:45 +02:00
libraryupgrader d0a5425a7b build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)

Change-Id: I46c06b685ac205ec7dd382a80ac1b088130d02c2
2021-05-11 01:28:49 +00:00