Commit graph

16660 commits

Author SHA1 Message Date
Ed Sanders 430f32300a screenshots: Use Linux instead of Windows
I suspect this will run faster and be more reliable.

Also hoping it will fix the window size issue.

Change-Id: Iffe7c0d9ef056f98366dfd7f5d0c5e8e32682aa7
2020-06-25 19:04:04 +01:00
Ed Sanders 10a06eb312 screenshots: If setup fails, don't generate a screenshot
Change-Id: I7bd88e3e5d39d92703cdff37cb8e67ecabfb477e
2020-06-25 18:58:46 +01:00
Ed Sanders 56b7844cce screenshots: Remove unused beforeEach arg
Change-Id: I7e12438b030f90eefa29740d21555feb54f795ad
2020-06-25 18:46:29 +01:00
Ed Sanders b559b3adf5 screenshots: Only scale button in citoid button test
Change-Id: I3c41e70053873bc6dd559736e41eb49e735f1749
2020-06-25 18:39:52 +01:00
Ed Sanders 1871ac58ec screenshots: Use windowManager promises for save and specialChars
We already use these for other dialog tests

Change-Id: I24a9a6e5fe2c4cf711b8bc67c8d9bfe23d23041a
2020-06-25 18:36:21 +01:00
Ed Sanders 085d2443d2 screenshots: Suppress welcome dialog with query string
The code approach appears to suffer from a race condition.

Change-Id: I1328907b8fb55265275493b3b0d2a9288afea53c
2020-06-25 16:10:23 +01:00
Ed Sanders a0241f9345 screenshots: Catch get/quit errors and log
Stops the test from crashing.

Also set timeout to 10s as tests are rarely successful
after that long.

Change-Id: I8e74dab9693373914c8947f012c3cdcee1dce9f5
2020-06-24 20:02:29 +01:00
Mvolz 842a728488 Revert "Allow generic params to be passed to getWikitextFragment"
This reverts commit e5c1ef651b.

This change caused an error where templates failed to be inserted
into wikitext in the 2017 wikitext editor.

Bug: T255785
Change-Id: Ie57c49e68e594be22af2b1b479840f29e46131db
2020-06-19 13:15:23 +00:00
Translation updater bot a95e4521a0 Localisation updates from https://translatewiki.net.
Change-Id: I0829433a14d3ffadc55118746e1fd84d7527f769
2020-06-19 08:42:21 +02:00
jenkins-bot af160bdb9d Merge "build: Update eslint-config-wikimedia to 0.16.2" 2020-06-18 21:25:15 +00:00
Ed Sanders 013b7419bf build: Update eslint-config-wikimedia to 0.16.2
Use jsduck config

Change-Id: I5cd7bbcee83b0fa148b8fb8c3b4adcf08f96cefc
2020-06-18 19:16:52 +01:00
Translation updater bot 3d91e539da Localisation updates from https://translatewiki.net.
Change-Id: I966b36bbbb84f0ae11800a589e62f751201fb3db
2020-06-18 08:39:01 +02:00
Translation updater bot ae0d905bab Localisation updates from https://translatewiki.net.
Change-Id: Ic1ce14d81500d92f86cb1327f701a948e844ca34
2020-06-16 08:35:57 +02:00
jenkins-bot 15443d35c5 Merge "Allow generic params to be passed to getWikitextFragment" 2020-06-15 20:42:45 +00:00
Translation updater bot 618d275bd6 Localisation updates from https://translatewiki.net.
Change-Id: I6d8e6362c5ad2853c00e913f2543d8afa7cbff39
2020-06-15 08:41:09 +02:00
jenkins-bot 1bc368e01d Merge "Move restbaseId stripping to ve.utils.parsoid" 2020-06-12 18:49:17 +00:00
Ed Sanders 310b4d6e4c ve.dm.Node: blacklistedAnnotationTypes -> disallowedAnnotationTypes
Pulls through I69bea8829091b72f52e8486f7171d70e3194c6ef

Bug: T254646
Change-Id: Ibe880de0436e58416a857756d45fa4dc194196b1
2020-06-12 11:11:34 +01:00
James D. Forrester 980e25f2e7 Update VE core submodule to master (3be5d338e)
New changes:
4ddad19da ve.Filibuster: 'blacklist' -> 'nowrapList'
58a71b62e Various documentation fixes
64b89657f ve.dm.Node: blacklistedAnnotationTypes -> disallowedAnnotationTypes
fca42efe2 build: Upgrade eslint-config-wikimedia from 0.16.0 to 0.16.1

Bug: T254646
Change-Id: I8e23231bf4ff4022a85b4dfe214184fbb3543fce
2020-06-12 11:10:46 +01:00
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
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