Commit graph

17091 commits

Author SHA1 Message Date
Bartosz Dziewoński 91a2683aca Update VE core submodule to master (ad72a726d)
New changes:
dfa40a4a4 Localisation updates from https://translatewiki.net.
5324b686a Localisation updates from https://translatewiki.net.
ad72a726d Don't do whitespace substitutions in hasSignificantWhitespace nodes

Bug: T271198
Change-Id: Id5f6647cf95181f4898e0ff48bd61250fa957202
2021-01-13 18:07:24 +01:00
Translation updater bot fa863e5050 Localisation updates from https://translatewiki.net.
Change-Id: I2a3a2d57f898df39a3a873833d55de89d77864d6
2021-01-13 08:37:20 +01:00
Translation updater bot 8c48722e52 Localisation updates from https://translatewiki.net.
Change-Id: I47271ac438febe5126d9252a526574fdf8c5cb56
2021-01-12 08:38:45 +01:00
jenkins-bot 3bd0d4056a Merge "Instrument media search interactions in MWMediaDialog" 2021-01-11 20:23:40 +00:00
Translation updater bot 15f4812feb Localisation updates from https://translatewiki.net.
Change-Id: I3f4b214d6415cd68c93c31fc60db1541a4a3ae54
2021-01-11 08:35:47 +01:00
Translation updater bot 6b692b944e Localisation updates from https://translatewiki.net.
Change-Id: I8267b01d438e99c28b5124d55a7aa124dbdf1f45
2021-01-08 08:56:42 +01:00
Thiemo Kreuz f1dcc5d3c8 Prefer UserIdentity::isRegistered over isAnon
isRegistered is part of the slick UserIdentity interface, i.e.
it's the more "canonical" form. This change makes it a bit
easier to move away from using the huge (4000+ LOC) User class
everywhere, in favor of the UserIdentity interface, where
possible.

This patch is meant as a small step towards this goal. I tried
to replace some usages of User type hints already, but prefer
to go in small, incremental steps.

Change-Id: I827b83a5304b1975437d5fd5083f2877dba6f6d8
2021-01-07 17:01:22 +01:00
Translation updater bot 621a76b251 Localisation updates from https://translatewiki.net.
Change-Id: I1128d9d1f6d681b9003289cc8a2f18f549db945b
2021-01-07 08:32:54 +01:00
jenkins-bot c4676d025a Merge "Try/catch Uri creation" 2021-01-05 20:11:48 +00:00
jdlrobson b89e97f8d8 Try/catch Uri creation
This is generating hard to filter logspam.

Seen on:
https://no.wikipedia.org/w/index.php?oldid=prev&diff=20998556&title=Uformelt%20spr%E5k

Bug: T270331
Change-Id: I4ba537dbb942e977cb01d5943e83e4646cbccfe0
2021-01-05 19:39:45 +00:00
jenkins-bot 883d37fbb2 Merge "ArticleTargetLoader: Allow customizing 'editintro' parameter" 2021-01-05 14:23:28 +00:00
jenkins-bot 349a6e8568 Merge "ApiVisualEditor: Support 'preload' etc. for new sections in visual mode" 2021-01-05 14:23:26 +00:00
jenkins-bot 47b79cd606 Merge "Update VE core submodule to master (6a765924a)" 2021-01-05 14:02:42 +00:00
Translation updater bot 718a3b3d3b Localisation updates from https://translatewiki.net.
Change-Id: I371f4f2a1e70d6fa1f920004eb04ca4bc614c334
2021-01-05 08:28:43 +01:00
James D. Forrester db96090bde Update VE core submodule to master (6a765924a)
New changes:
5a9b8e76f Localisation updates from https://translatewiki.net.
0c6f2ccb8 Link diff: Use getDisplayTitle instead of href attribute
8db7cef9a Localisation updates from https://translatewiki.net.
6a765924a build: Unbreak language lists, adding 'kcg'

Change-Id: I4b4748f7b6be42a19b5ea1cac87b753b923c6f99
2021-01-04 18:13:28 -08:00
Translation updater bot e577416a0e Localisation updates from https://translatewiki.net.
Change-Id: I24c403dbec8b8e75e22284ce9a102623876bc728
2021-01-04 08:45:14 +01:00
jenkins-bot 2d7a9faa9c Merge "AceEditorWidget: Fix toggleLineNumbers" 2021-01-03 01:15:03 +00:00
Ed Sanders 3cde92d60e AceEditorWidget: Fix toggleLineNumbers
Change-Id: I1a48e4351b2249b1ccf0af5c9b2fadd9a97d5f04
2021-01-03 00:23:08 +00:00
jenkins-bot aa58894051 Merge "ApiVisualEditorEdit: the 'html' parameter should be raw to avoid normalization" 2021-01-01 00:33:19 +00:00
jenkins-bot 86a3dd4f9d Merge "Update VE core submodule to master (d0d57d2bc)" 2020-12-31 00:46:28 +00:00
Translation updater bot 94621896a4 Localisation updates from https://translatewiki.net.
Change-Id: I7d2d6b407d9035b05b81e21043d25b1d1c764252
2020-12-30 10:15:37 +01:00
Translation updater bot ac7a16700b Localisation updates from https://translatewiki.net.
Change-Id: I32351fc435270e3dafbc396a40362af996bd4ceb
2020-12-29 09:49:14 +01:00
Ed Sanders a7d7401d40 Update VE core submodule to master (d0d57d2bc)
New changes:
60ea9df7d Localisation updates from https://translatewiki.net.
974f93488 Improve SourceConverter.getSourceTextFromDataRange performance
4bee84667 Revert "ve.ce.Surface: Allow tabbing out of surfaces without indentation features"

Bug: T269094
Change-Id: Ia26537cb67f68c8c7a52aaa1e2c0ce70461901be
2020-12-28 23:16:57 +00:00
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