Commit graph

874 commits

Author SHA1 Message Date
jenkins-bot b2116e1121 Merge "build: Update MediaWiki requirement to 1.41" 2023-08-19 10:15:49 +00:00
James D. Forrester 2b82aea178 build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I4d99a3c5fe9ada4c52efa911626eb2c41cf057cb
2023-08-19 13:24:11 +08:00
James D. Forrester 9ae9428df0 build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: Iee3f421a9fa0f7f2a0f7b57ce73043fc1d23ec54
2023-08-19 13:24:01 +08:00
Translation updater bot de0e7a147c Localisation updates from https://translatewiki.net.
Change-Id: Id47412f39377982b88c2bfe373a6687b398c1841
2023-08-17 12:10:09 +02:00
Translation updater bot 2a62e9dd4e Localisation updates from https://translatewiki.net.
Change-Id: Ibc99066c3bb55b4a7931283a56d9dc6f2df66d0c
2023-07-24 09:38:06 +02:00
Translation updater bot 000ccb97b0 Localisation updates from https://translatewiki.net.
Change-Id: I1d0149239f6a5ad93c4ffb11b7bdc495bcacc7a4
2023-06-12 13:07:34 +02:00
libraryupgrader a641766c5b build: Updating grunt-banana-checker to 0.11.0
Change-Id: I0a57907645b3fce4a228d0fc05e2c8f4a829251b
2023-06-01 15:13:13 +00:00
Arlo Breault 7e342a416c Fix description link icon positioning
Bug: T329364
Follows-Up: I20130fd39135dfd5074590ee9c2b6e01693384e4
Change-Id: I9400a6ac607c5170c0aa26ee3a2bf8d9217c19e4
2023-05-31 15:12:35 -04:00
Translation updater bot ba6a6cd75e Localisation updates from https://translatewiki.net.
Change-Id: I9bef60493a602808f166515d349e2851aa8e540b
2023-05-31 08:20:21 +02:00
Arlo Breault 1a8f86e41b Sync up ImageMap repo with Parsoid
This now aligns with Parsoid commit db0772cd77d89ea166bf6ea162f9d223264a6f50

Change-Id: I263043f284542ff866f633ad8177ab3d072ca679
2023-05-25 13:52:17 -04:00
jenkins-bot bf1ab0a995 Merge "Add resource for thumb magnify links" 2023-05-25 16:29:49 +00:00
jenkins-bot 7416c17cda Merge "Add back description links when !$wgParserEnableLegacyMediaDOM" 2023-05-25 16:28:37 +00:00
Arlo Breault 96c60d44ca Add resource for thumb magnify links
Bug: T329413
Depends-On: Id46d1b2ab1af3baebff13e10f1485f3cfd9a4b37
Change-Id: Idec1b8dc1c742ca6ea3b24f3b14738c2d1f5b01d
2023-05-25 16:09:06 +00:00
Arlo Breault b2113e0154 Add back description links when !$wgParserEnableLegacyMediaDOM
The approach taken here is the same as in core for magnify links on
thumbs in Id46d1b2ab1af3baebff13e10f1485f3cfd9a4b37

The gist is that resource attributes are added on the mw-file-element so
that the necessary url is present in the html.  A class is also added to
the wrapper element that designates where the link should be positioned.
Finally, a script adds the link which styles in appropriately.

Bug: T329364
Depends-On: Id46d1b2ab1af3baebff13e10f1485f3cfd9a4b37
Change-Id: I20130fd39135dfd5074590ee9c2b6e01693384e4
2023-05-22 15:22:42 +00:00
Mark A. Hershberger 2d9633abc6 Add generic MW editorconfig
Change-Id: Iccdfd5af7cabbb08677c8c93a03f6838d5928584
2023-05-12 15:09:10 +00:00
libraryupgrader 454cbe9a5c build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I10eaf510555c78a4349a5e599d4dbd7369b20c43
2023-05-05 05:45:22 +00:00
libraryupgrader e5e2e42370 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: I0613a705766269abbd83aadaf41e531aac9e7cc3
2023-04-29 05:43:28 +00:00
Arlo Breault 6d83c5bc21 Fix adding titles when caption isn't visible
This was added in Ic0169d3914c5ce442b063f4bbbb6493966dbb302 and it
looks wrong on a few levels: the format isn't captured, and only
mw:File is emitted now.

Change-Id: I5aff7b53348696c485ef5683f6aab7aaafac4973
2023-04-27 13:34:16 +00:00
Arlo Breault 5f132d85a8 Update parsertests with new media classes
Depends-On: Ifd4001e312a5fa4b7beaad63ba8c4e79e3201b9b
Change-Id: I771296865ec101d4af05f4dbbe194f01df3d72a6
2023-04-26 13:15:07 -04:00
Arlo Breault f3f0aa89ea Disable tests to break circular dependency
Needed-By: Ifd4001e312a5fa4b7beaad63ba8c4e79e3201b9b
Change-Id: Ifc17fdf530af515b066de706ca5e69e118fd1c5b
2023-04-20 16:30:55 -04:00
libraryupgrader 53806fe0ad build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1

Change-Id: I80e4f86f6369e171a35e5815400785ccdd64293f
2023-03-15 12:20:27 +00:00
C. Scott Ananian a4d5daa43f Sync up ImageMap repo with Parsoid
This now aligns with Parsoid commit 15cf6010f1342a67282d0e6ace4b1ef1eb2bbc47

Change-Id: Id096a272733cc2452d41a7f4b8cb230b8cfc6f62
2023-03-13 13:53:31 -04:00
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