Commit graph

16743 commits

Author SHA1 Message Date
Translation updater bot f44144fdf0 Localisation updates from https://translatewiki.net.
Change-Id: Ia6e29dbe4c32efaa25d5d57aa7ae065b0b1c8028
2020-06-12 08:38:55 +02:00
James D. Forrester 6db8207a47 build: Upgrade eslint-config-wikimedia from 0.16.0 to 0.16.1
Change-Id: Ie96c4c75e7df837169c38427ceed59704c99c2cc
2020-06-11 16:01:38 +01:00
jenkins-bot bb1416dd22 Merge "ve.dm.MWIncludesNode: Change label for includeonly nodes per feedback" 2020-06-11 12:15:22 +00:00
jenkins-bot 20da05e8c3 Merge "api: Specify PARAM_TYPE => 'text' for multi-line text parameters" 2020-06-10 21:51:37 +00:00
jenkins-bot bfdd39ed79 Merge "Update VisualEditorFeatureUse with new fields" 2020-06-10 19:53:49 +00:00
Ed Sanders 877d1e3359 Move restbaseId stripping to ve.utils.parsoid
De-duplicates the two implementations we had.

Bug: T253584
Change-Id: If5d15dd4e7e0d3704ca8d75c0a25c529b06f17fb
2020-06-10 20:31:16 +01:00
Bartosz Dziewoński 1b86093b70 api: Specify PARAM_TYPE => 'text' for multi-line text parameters
This allows Special:ApiSandbox to display multi-line text boxes for
them, which makes testing the API easier.

Change-Id: I10541a8e9033d81740033da80d842f58d1d3e0de
2020-06-10 21:23:13 +02:00
jenkins-bot fd8265c8ac Merge "Make VisualEditorDisableForAnons only hide the tabs, not disable the editor" 2020-06-10 19:17:58 +00:00
jenkins-bot 17598354c8 Merge "Remove 'blacklist' in documentation" 2020-06-10 15:56:16 +00:00
Ed Sanders 41a5393965 VE BetaFeatures: Use unsupportedList
Bug: T254646
Depends-On: Ifc265ba90e290eabe74bd0ff84717010a003949f
Change-Id: I46a988b9cba66fd8a861be411cc29f72ccc25be0
2020-06-10 16:33:16 +01:00
Ed Sanders 9c8195f823 Replace browser blacklist/whitelist with (un)supportedList
Bug: T254646
Change-Id: Iac0fc850520f2a83954d3fac21b38715e2f76a8c
2020-06-10 16:30:57 +01:00
Ed Sanders 590dc0988d Remove 'blacklist' in documentation
Bug: T254646
Change-Id: I9bad51ee248084f92de4c35d9e10d3d983f53831
2020-06-10 16:19:50 +01:00
Translation updater bot 799196d662 Localisation updates from https://translatewiki.net.
Change-Id: I5e3ee8bf643a54dd0dc619a7ec16c6f7ad2b6569
2020-06-10 08:29:29 +02:00
David Lynch 648bffd3b9 Update VisualEditorFeatureUse with new fields
Bug: T252925
Change-Id: I02c41e6b5f42405b60dda87340787afd92b0da4b
2020-06-09 16:05:45 -05:00
Bartosz Dziewoński 89b6a8d71c ve.dm.MWIncludesNode: Change label for includeonly nodes per feedback
<includeonly /> is not valid wikitext markup, which is distracting.
Let's use <includeonly>…</includeonly> instead.

Bug: T250937
Change-Id: I9eac8b265eca16118d390da2628e0da7ca409ed8
2020-06-09 21:37:10 +02:00
Translation updater bot 7a51cc14be Localisation updates from https://translatewiki.net.
Change-Id: I2cc01b3f79c400d3def2937b744533e8ef3e6c44
2020-06-09 09:14:56 +02:00
jenkins-bot 603ee34e81 Merge "ve.ui.MWIncludesContextItem: Fix hiding includeonly tags for multi-line content" 2020-06-08 20:10:21 +00:00
Bartosz Dziewoński dd6c27ae65 ve.ui.MWIncludesContextItem: Fix hiding includeonly tags for multi-line content
Change-Id: Ic3cb24b7470bb71688b25c0c90673ff4d16176d0
2020-06-08 21:06:27 +02:00
James D. Forrester e206dfa6c5 Update VE core submodule to master (1d81ab7bc)
New changes:
1d81ab7bc Update OOUI to v0.39.1

Change-Id: I45daa02eaa6b7563f94b697c9e3d10d519ba2743
2020-06-08 11:48:28 -07:00
Bartosz Dziewoński f81f34f59d Make VisualEditorDisableForAnons only hide the tabs, not disable the editor
Bug: T253941
Change-Id: Id08514b3827c4315d69651bc2313bf8317ba12fc
2020-06-08 20:05:58 +02:00
Bartosz Dziewoński af719282b9 VisualEditorHooks: Use the enabledForUser() helper method more
Change-Id: I9ec8a88ea8f0545e16dc1488d52f43c8ce7a93fe
2020-06-08 20:03:58 +02:00
Translation updater bot 4d396b5dc9 Localisation updates from https://translatewiki.net.
Change-Id: I6401ad1e956b7281297ff02235eb87db24243ae6
2020-06-08 08:53:10 +02:00
Reedy e264dc238b Replace usage of wfWaitForSlaves()
Bug: T181673
Change-Id: I661f1dcb85c360f7febd96d4d2fca825ba23b1e0
2020-06-06 17:40:04 +01:00
jenkins-bot 76207a90cf Merge "Bump version number" 2020-06-05 17:25:15 +00:00
Bartosz Dziewoński 27ca1082a9 When returning to section, avoid counting sections outside the content
Bug: T254593
Change-Id: I8126e21b3732b45c0a5b418e3832ccc4c72a1b73
2020-06-05 17:56:08 +02:00
Translation updater bot d1d0be61c8 Localisation updates from https://translatewiki.net.
Change-Id: I097d8af2a9b854bfc05e954fc29f75a4c8ca47d2
2020-06-05 08:54:26 +02:00
Ed Sanders e5c1ef651b Allow generic params to be passed to getWikitextFragment
mw.Target doesn't know about revid and etag, so move that logic
to ArticleTarget, where the param can still just be a boolean.

Change-Id: Idf4632cd28554aaf5bbf5f2b44ded047c0c4b182
2020-06-04 22:45:09 +01:00
jenkins-bot a28a263192 Merge "Drop linting from the VE API" 2020-06-04 17:12:54 +00:00
Ed Sanders f01d4ab35d Drop linting from the VE API
Calling the linter is very slow as the result is not
cached. Extensions needing this (DiscussionTools) should
just call the Linter extension API directly.

Bug: T253799
Change-Id: I994b52ca70c29a32900741a36087f10144396720
2020-06-04 18:51:38 +02:00
jenkins-bot 7a2fffae39 Merge "When switching from wikitext to visual, preserve the edit checkboxes" 2020-06-04 15:10:51 +00:00
Translation updater bot 34b35dd032 Localisation updates from https://translatewiki.net.
Change-Id: I5a3d5929bd26a462661b3b17cc6c87d21e0fdc0d
2020-06-04 08:24:59 +02:00
Bartosz Dziewoński 73da343461 Update VE core submodule to master (b7f83c6ba)
New changes:
8534d4890 Localisation updates from https://translatewiki.net.
3b91fb6aa build: Update eslint-config-wikimedia to 0.16.0
f7c1de7e2 ve.ui.CompletionWidget: Fix positioning in RTL
559d0e67c Update ve.dm.Document#nodesByType from TreeModifier

Bug: T254115
Bug: T254354
Change-Id: I71fb07e12299299d9a128e459453ee529a1a8a33
2020-06-04 00:17:55 +02:00
Bartosz Dziewoński 186f5dc424 When switching from wikitext to visual, preserve the edit checkboxes
This handles the minor edit and watch checkboxes, as well as any added
by extensions (e.g. FlaggedRevs).

Switching in the other direction already works fine, that is
implemented in ArticleTarget#getSaveFields.

It doesn't seem ideal to put this code into the constructor of
ve.init.mw.DesktopArticleTarget, but that's where we already have
similar logic for the edit summary. I filed T253696 about this.

Bug: T250388
Change-Id: Ia6a9c0465ed215e8f74b9fff4590593383e9a1e6
2020-06-03 23:30:45 +02:00
jenkins-bot be3ad7d93a Merge "Handle <noinclude> etc. as nodes rather than metaitems" 2020-06-03 13:23:03 +00:00
jenkins-bot c65b311ecb Merge "Tweaks in API code per code review" 2020-06-03 10:40:14 +00:00
Ed Sanders 6076708ff3 build: Update eslint-config-wikimedia to 0.16.0
Change-Id: I638e0f82949597e2a2e4ea18fc2f0258f225358c
2020-06-02 21:30:00 +01:00
libraryupgrader c5424afd79 build: Updating composer dependencies
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: Ib7ee6331da3c051a4909ebf5a25b454de9d08345
2020-06-02 04:29:32 +00:00
jenkins-bot 6dd197a10f Merge "init: Manage education popup state the same way as welcome popup state" 2020-06-01 20:57:40 +00:00
Roan Kattouw 501518cb4d init: Check for disabled welcome dialog again async
The first time we check, it's too early for any code that might have
wanted to call stopShowingWelcomeDialog() to have done so (because we
check synchronously after making that function available).

I'm not sure if checking twice like this is the best solution, or if it
would be better to defer the whole thing and only check once.

Change-Id: If5b88bb50c3becaa3d7931c8b8e4d0faed7b69d2
2020-06-01 13:10:49 -07:00
jenkins-bot ab452b4c74 Merge "Update VE core submodule to master (5cc9cecd4)" 2020-06-01 16:56:17 +00:00
Bartosz Dziewoński 1fc11e0146 Handle <noinclude> etc. as nodes rather than metaitems
The difference is that metaitems are not visible on the editing
surface, and their exact position is not preserved when the paragraph
containing them is edited.

This behavior is desirable for e.g. categories, but not for
<noinclude> and related tags, which are intentionally placed in
specific places in the text.

Note that we don't really have any editing interface for these nodes
yet. But you can see them (and they come with descriptions and links
to documentation pages), and delete or copy-paste them.

Bug: T250937
Change-Id: I104e7abbd650567df0e59813653c46a66d955d58
2020-06-01 18:47:14 +02:00
Translation updater bot 3d624fce22 Localisation updates from https://translatewiki.net.
Change-Id: Iab6191dea70e8824dfe4f07ebf78ff7906b86d2d
2020-06-01 10:09:35 +02:00
jenkins-bot 68ebb8b2b8 Merge "SaveDialog: only allow vertical resize of summary" 2020-05-31 16:29:03 +00:00
James D. Forrester bb6dbc1f5d Update VE core submodule to master (5cc9cecd4)
New changes:
a4926b7d2 build: Updating http-proxy to 1.18.1
6ffa100f2 ve.ui.LinearContextItem: Make items with no actions have normal padding

Change-Id: I8974bbc3589944ad3a19e595566b96c9aec9b966
2020-05-29 10:16:43 -07:00
jenkins-bot 4b81264bbd Merge "ve.dm.MWAlienMetaItem: Never match mw:Extension nodes" 2020-05-29 11:09:07 +00:00
Translation updater bot 20a81f736d Localisation updates from https://translatewiki.net.
Change-Id: I0a10f39b8662e51c182673800b18b7770411dbbf
2020-05-29 08:33:35 +02:00
jenkins-bot 4a68959504 Merge "Fixes edit section being cropped on page with zoom" 2020-05-28 20:03:27 +00:00
bkudiess-msft fb2290f032 Fixes edit section being cropped on page with zoom
Bug: T253601
Change-Id: Ifa449d927e69c38ad5fa8fcb004b14417fab5e7d
2020-05-28 21:43:34 +02:00
James D. Forrester af32f6f148 Update VE core submodule to master (71b16e52b)
New changes:
73dbd766f build: Unbreak language lists, adding 'ti'
75889f97d Avoid listing languages twice in availableLanguages
71b16e52b Adds role to Document Node

Bug: T253592
Change-Id: Ifeb3908a882d36d147db97497ff8ffa8352600f5
2020-05-28 08:21:16 -07:00
Translation updater bot 0aae60f0a4 Localisation updates from https://translatewiki.net.
Change-Id: Ia3e96962c15481a736512e668dfb6adf9b1ea691
2020-05-28 08:41:40 +02:00