Commit graph

17519 commits

Author SHA1 Message Date
Translation updater bot c1f81c7a64 Localisation updates from https://translatewiki.net.
Change-Id: If861741a2bcc9580ef0d915141f1d2764ad7f204
2020-12-28 10:40:30 +01:00
Translation updater bot 85c8c00004 Localisation updates from https://translatewiki.net.
Change-Id: I9d8141534f63909ccda8f2aaf21c6cc33c6e1991
2020-12-22 08:33:15 +01:00
C. Scott Ananian aceea5b623 ApiVisualEditorEdit: the 'html' parameter should be raw to avoid normalization
Although wikitext is (expected to be) in Unicode Normalization Form C,
the output HTML may not be, due to the presence of explicit entities in
the wikitext representing non-NFC codepoints.

Bug: T266140
Depends-On: I2e78e660ba1867744e34eda7d00ea527ec016b71
Change-Id: I0d34c9a01f1132c2616ed3392ea40d8b73e15325
2020-12-21 20:55:37 -05:00
Translation updater bot ad703f1c08 Localisation updates from https://translatewiki.net.
Change-Id: I6861b0c614e98d70f72608d13072cb5c36b079ae
2020-12-21 08:40:39 +01:00
Bartosz Dziewoński e04e984586 Update VE core submodule to master (c20aed327)
New changes:
c66f05d00 Compare meta items by hash
8acd3bf34 ve.ce.Surface: Allow tabbing out of surfaces without indentation features
cf90fc8b9 DiffElement: Simplify data-diff-move=up|down selectors
fd1a8bd03 DiffElement: Ensure move indicators are always visible
c20aed327 Show moves in the sidebar with a label

Bug: T172694
Bug: T270557
Bug: T270561
Change-Id: I107978d8cbd0f910cdf80bf589a595528ca829c7
2020-12-20 19:29:44 +01:00
James D. Forrester 075d976f25 Update VE core submodule to master (3fc99cc9c)
New changes:
d1928f49d Describe text style annotation changes, instead of showing remove-insert
3fc99cc9c Describe link addition/removals

Bug: T160588
Change-Id: I44ffe020e22f8602fc0d5abbac66bfcda0f873e8
2020-12-18 12:49:14 -08:00
libraryupgrader 58c694bb16 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: I5b7acd4881084faffd1cbc1335bd2edd1d8a39c2
2020-12-18 11:25:26 +00:00
Translation updater bot 044a160f3d Localisation updates from https://translatewiki.net.
Change-Id: I2250a53c2ecdd7206a2777454589bde12113667e
2020-12-18 08:25:15 +01:00
James D. Forrester 75f38008d9 Use User->isRegistered(), not deprecated isLoggedIn()
Bug: T270450
Change-Id: I5ed35fb2480a452219ac766e457333da955a10fe
2020-12-17 18:40:30 -08:00
jenkins-bot 22ce331e57 Merge "Preserve inline media tag name in galleries across edits" 2020-12-17 17:52:22 +00:00
jenkins-bot c4f31ed86c Merge "Update VE core submodule to master (dd92d178d)" 2020-12-17 15:59:07 +00:00
Translation updater bot 59b6a0a8fe Localisation updates from https://translatewiki.net.
Change-Id: I69083d2c2a544c3d91b924b796f8a471f5c46743
2020-12-17 08:56:09 +01:00
James D. Forrester 0192d5e4e2 Update VE core submodule to master (dd92d178d)
New changes:
dd92d178d Follow-up I9f136620f: Fix typo in section diff code

Bug: T268950
Change-Id: I9d723e72bc665e3a37939973af5c63d1b18b7f29
2020-12-16 18:07:09 -08:00
Bartosz Dziewoński 504e47e03a ArticleTargetLoader: Allow customizing 'editintro' parameter
Bug: T269310
Change-Id: Ic77ce84172f114795708f48a4a7457b2965568f9
2020-12-17 02:01:09 +01:00
Bartosz Dziewoński 4ca05702cd ApiVisualEditor: Support 'preload' etc. for new sections in visual mode
Bug: T269310
Change-Id: I66ed8449cae8e548c5b30f434cc8430fed128f14
2020-12-17 02:00:44 +01:00
Arlo Breault 2402f430b4 Preserve inline media tag name in galleries across edits
Follow up to I37799076852fa6f062c9d85bcebb15998fb44a80

Hat tip to Bartosz for pointing this out.

Change-Id: Ic2968240a015bac2f831203e586535d2f9574963
2020-12-16 17:28:51 -05:00
WMDE-Fisch 2ce9934ab9 Add tracking of template usage
The names in the schema are roughly following what's
done in Schema:TemplateWizard. The information if
templates have TemplateData will be logged seperatly.

Bug: T259705
Change-Id: Iafa7256f675dbfd6a5a6de794061901780e3c55d
2020-12-16 12:56:45 +01:00
Translation updater bot 3a0c565597 Localisation updates from https://translatewiki.net.
Change-Id: I499175ce4b9ad196f5602cf7b7df2e7ad5022b71
2020-12-16 08:30:58 +01:00
jenkins-bot ac04c9a644 Merge "Switch back to using <span> for gallery images" 2020-12-16 01:01:31 +00:00
jenkins-bot 5783dc75cd Merge "Preserve the passed in inline media tag name in gallery" 2020-12-16 01:01:28 +00:00
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