Commit graph

17499 commits

Author SHA1 Message Date
jenkins-bot 6029c3565a Merge "Switch back to using <span> for inline images" 2020-12-16 01:01:24 +00:00
Eric Gardner a7c1e4e985 Instrument media search interactions in MWMediaDialog
Before we can integrate our new media search functionality into VE,
we need to add instrumentation that can measure the effectiveness of
the current media search tools to provide a baseline for comparison.

Bug: T265101
Change-Id: I980d6ae10045b0a4e56694473006196c2132c930
2020-12-15 14:45:10 -08:00
Arlo Breault 895274c20b Switch back to using <span> for gallery images
Similar to I74fe96a47d8a4d7717891c16e49f5a4d6599018a

Bug: T266143
Change-Id: I632cff28ec428828d82fcd7cc66e5545c45c2161
2020-12-15 15:43:48 -05:00
Arlo Breault e3daaaf280 Preserve the passed in inline media tag name in gallery
Similar to Ic79aba4d4364227c3ecf7fb5411e90532b531f44

This only works if the gallery goes unedited.  Probably something needs
to be done in ve.ce.MWGalleryImageNode if we care to be complete.

However, as noted in T214648, the DOM diff'er doesn't traverse into
gallery content and notice these element names.  So, it's purely
academic to be doing this anyways.

Bug: T266143
Change-Id: I37799076852fa6f062c9d85bcebb15998fb44a80
2020-12-15 14:42:00 -05:00
WMDE-Fisch 094a9aa044 Replace deprecated doNotIgnoreMissingTitles
This parameter name was deprecated and replaced in 1.31. See also
Ie5fe2097cda45968bb080643d3afcac0b2868a6c

Change-Id: Ie9d6c70d3dfe3954504d3d698c122dceede7603d
2020-12-15 12:52:55 +01:00
James D. Forrester 04dfcc55d2 Update VE core submodule to master (538170f55)
New changes:
fc4194595 Converter: Cache isForPreview
3a4280d04 build: Updating ini to 1.3.8
c8c238aee Localisation updates from https://translatewiki.net.
216f8ec1a ve.dm.Document: Avoid multiple getProp calls in getFullData

Change-Id: I9c24b3deb9acc84ae675211aa84e61343afb58cf
2020-12-14 08:08:22 -08:00
Ed Sanders 85a856e016 MWDefinedTransclusionContextItem: Add param getter
Change-Id: I7fdd4810118e72b9719b840fa5e0887006a74a25
2020-12-14 14:29:06 +00:00
Translation updater bot b191d2f46f Localisation updates from https://translatewiki.net.
Change-Id: I0979e328d36a34095f3d0dbf5b494df30c131c69
2020-12-14 08:44:00 +01:00
Ed Sanders 5e170b63ca Switch back to using <span> for inline images
Bug: T266143
Change-Id: I74fe96a47d8a4d7717891c16e49f5a4d6599018a
2020-12-13 18:02:06 +00:00
libraryupgrader 87c63ae76e build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: I58b8386e2ffd4c446b67daa28257bfa3cb76fd55
2020-12-12 02:46:10 +00:00
jenkins-bot 4974c3a362 Merge "Reset originalDmDocPromise when setting doc" 2020-12-11 18:33:22 +00:00
jenkins-bot 5edd5045aa Merge "MWInlineImageNode: Rename figureInline to container" 2020-12-11 18:29:31 +00:00
jenkins-bot 46a00601a3 Merge "Preserve the passed in inline media tag name" 2020-12-11 16:42:50 +00:00
Ed Sanders eafa3d2861 MWInlineImageNode: Rename figureInline to container
Change-Id: Ieda967dbd26532f44f71b4388e2357e780a381ce
2020-12-11 16:09:42 +00:00
jenkins-bot 9c9b717380 Merge "Update link to TemplateData spec" 2020-12-11 09:39:27 +00:00
Translation updater bot dc4aaa8312 Localisation updates from https://translatewiki.net.
Change-Id: Iac9a08008908122a85835cd6423df65c832fd40d
2020-12-11 08:37:04 +01:00
Arlo Breault 6acddba351 Preserve the passed in inline media tag name
Bug: T266143
Change-Id: Ic79aba4d4364227c3ecf7fb5411e90532b531f44
2020-12-10 18:19:35 -05:00
WMDE-Fisch 185875f5ea Update link to TemplateData spec
Change-Id: I656ac283e38540c915c5e38e703caec3e5f6419b
2020-12-10 16:48:33 +01:00
Translation updater bot 8b093eca72 Localisation updates from https://translatewiki.net.
Change-Id: I1de76c84d9d82e370451ed4925349e0fa5a9bc59
2020-12-10 08:36:05 +01:00
Ed Sanders 069e9c68ed Reset originalDmDocPromise when setting doc
originalDmDocPromise is dervied from target.doc, so if that changes
ensure the promise is cleared.

Change-Id: I51219e06109b0ccf1a17c920131b764862be85e1
2020-12-08 17:28:28 +00:00
libraryupgrader a2ae7b9586 build: Updating mediawiki/mediawiki-phan-config to 0.10.5
Change-Id: I0e757713b96d3c76f6d870c80f738acf67781b90
2020-12-08 14:05:20 +00:00
Translation updater bot 7bf18dd4f2 Localisation updates from https://translatewiki.net.
Change-Id: I9a2d5651bc071d0b8c37c559b68b236ac82cbece
2020-12-08 08:22:46 +01:00
jenkins-bot 9848ce3ddd Merge "Update VE core submodule to master (af6ca9404)" 2020-12-07 21:48:40 +00:00
jenkins-bot 4f91dbbf75 Merge "Add 'close' flags to closing actions in dialogs" 2020-12-07 19:37:44 +00:00
James D. Forrester 06605ea53f Update VE core submodule to master (af6ca9404)
New changes:
fd3bdf01d Localisation updates from https://translatewiki.net.
839106681 Add converter performance tests
af6ca9404 Add 'close' flags to closing actions in dialogs

Change-Id: Iba8c9b803d5f937f26e9f77380245fe60a625cc7
2020-12-07 11:19:14 -08:00
Ed Sanders 2f4140117a Add 'close' flags to closing actions in dialogs
Change-Id: Ib0eb947432c3cdaa316d1a8116d4ab91f791930d
2020-12-07 18:53:16 +00:00
jenkins-bot eb9ab46d16 Merge "ve.dm.MWExternalLinkAnnotation: Alienate malformed links" 2020-12-07 14:22:35 +00:00
Bartosz Dziewoński d52097cfdb ve.dm.MWExternalLinkAnnotation: Alienate malformed links
Parsoid sometimes emits malformed links (with no 'rel') when a
misnested <figure-inline> tag is moved around. Converting them to
internal links, and adding the 'rel' attribute, makes the element no
longer match in selser, and causes dirty diffs. Alienate them instead.

Bug: T64473
Bug: T150196
Bug: T267282
Change-Id: Ic7b48eb2e61585445a1fb98dc2b516d3b6da3cc4
2020-12-07 13:56:43 +00:00
Translation updater bot be17a1829e Localisation updates from https://translatewiki.net.
Change-Id: I2150910d2a8de7b8c1d99d13c62f05a5944d4bb6
2020-12-07 08:48:19 +01:00
jenkins-bot 5dbf13a0b1 Merge "Update VE core submodule to master (fc368ac88)" 2020-12-05 20:06:11 +00:00
libraryupgrader be985ba285 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: Iaeee8711628054a94e71f30bd3dc9e2143225481
2020-12-05 08:18:39 +00:00
James D. Forrester b009deb118 Update VE core submodule to master (fc368ac88)
New changes:
c4429aa0a Localisation updates from https://translatewiki.net.
9efe10f92 Update OOUI to v0.41.0
53401ae81 Use 'backwards' position for author list
5f9ab86c1 Make user labels more visible
bf7a2fa80 Always show heading context in visual diff

Bug: T268950
Change-Id: I634a6d10652a1943e5db964625f1e1daf1138331
2020-12-04 12:08:57 -08:00
jenkins-bot 97156150fa Merge "CollabTarget: Fix focus of authorList" 2020-12-04 19:06:08 +00:00
jenkins-bot effd730676 Merge "CollabTarget: Add missing message" 2020-12-04 19:06:06 +00:00
Ed Sanders 4b9ad322ea CollabTarget: Fix focus of authorList
Change-Id: I91e4fb75af6b65df9da2d8b2f7277e685d54d0f8
2020-12-04 17:59:48 +00:00
jenkins-bot b4c26620e1 Merge "Send EventLogging when adding template parameters" 2020-12-04 17:09:28 +00:00
jenkins-bot 18be32a9dd Merge "Send EventLogging when editing parameter values" 2020-12-04 17:06:22 +00:00
jenkins-bot 4e436dc2ea Merge "Send an event when the template doc link is clicked" 2020-12-04 16:50:49 +00:00
Ed Sanders 9c926903a0 CollabTarget: Add missing message
Change-Id: I162ea3de02b902d9076f9656b9fe872adf85cd86
2020-12-04 14:43:45 +00:00
jenkins-bot 2cba844265 Merge "ve.dm.MWInlineImageNode: Alienate malformed figures" 2020-12-03 11:49:46 +00:00
Translation updater bot d89bfcc7e6 Localisation updates from https://translatewiki.net.
Change-Id: I3dc9be992b558ee22b3770983498326ab75fd655
2020-12-03 08:33:36 +01:00
Thiemo Kreuz fb0e33f987 Fix incomplete return in DesktopArticleTarget.tryTeardown()
If a teardown has started, there should be a teardownPromise,
otherwise return a rejected promise.

Bug: T268358
Change-Id: Ia5cbd6b409a38f97243234ea7c87d24f71bdf3d6
2020-12-02 21:22:10 +00:00
Ed Sanders 3e6d5c6817 Remove upstreamed clearfix
Change-Id: I9c5c56bd8a30b96b43fe680bcc8a7151de5f78be
Depends-On: I840ecdf2cfd3f4fba51418199346164fd0c439b6
2020-12-02 21:21:49 +00:00
Bartosz Dziewoński f50e4f3182 Update VE core submodule to master (b615c2e21)
New changes:
61cd9ac49 Improve appearance of images in diffs
b615c2e21 Upstream diffElement clearfix

Bug: T187687
Change-Id: Idffab14484592ed67255cb38eefc58803a7450f8
2020-12-02 22:20:48 +01:00
Translation updater bot ba32f591b3 Localisation updates from https://translatewiki.net.
Change-Id: I6a01471c57e0fc74173dadcb08252e150866bc11
2020-12-02 08:33:23 +01:00
James D. Forrester 688edf1d64 build: Use "Grade A" rules for stylelint
Change-Id: I54b16407450960fefd5522a25cb733853d2f9372
2020-12-01 08:35:03 -08:00
James D. Forrester f57816cfe9 Update VE core submodule to master (b134dfac3)
New changes:
bc54c0d4c Localisation updates from https://translatewiki.net.
89187bb69 Use "Grade A" rules for stylelint
b134dfac3 Localisation updates from https://translatewiki.net.

Change-Id: I20d84c94e2d0b7976fdf51ca3f61a7d65acde772
2020-12-01 08:29:42 -08:00
Translation updater bot 83e106172b Localisation updates from https://translatewiki.net.
Change-Id: I22104b534ebbda7427ec605c11664cd98894b964
2020-12-01 08:23:54 +01:00
David Lynch efd2cc0d03 Give revision_id a fallback that'll validate
In the new-page case, wgRevisionId will be 0 so it'll try looking for
parentRevId and the cast-to-int on an undefined will get us NaN. That
fails validation, so we should give one last fallback to 0.

It's _possible_ that we could instead make this an explicit check for
using wgRevisionId if it's anything not-undefined, but I'm not certain
about whether there are cases that wouldn't cover.

Bug: T237063
Change-Id: I8a38c0f3b8f8b2b596f5d0933e1a9e7f1326d7be
2020-11-30 11:17:23 -06:00
Translation updater bot 12860d0a53 Localisation updates from https://translatewiki.net.
Change-Id: I89cb809619d007280f4edc2e6917c1d39c9b6763
2020-11-30 08:48:20 +01:00