Commit graph

16964 commits

Author SHA1 Message Date
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
jenkins-bot 645ce6e38f Merge "Hooks: Update to use DifferenceEngineViewHeader" 2020-06-24 18:08:03 +00:00
Lucas Werkmeister 3469f14036 Stop using WBC_VERSION
Ask the ExtensionRegistry if WikibaseClient is loaded instead.

Bug: T256238
Change-Id: Idff012822df3df5924e2dbf3876ca8c24c0bdca1
2020-06-24 16:53:37 +02:00
James D. Forrester 1c801c0686 Update VE core submodule to master (ab0423261)
New changes:
424a4d96a Void list: Link to WHATWG; remove obsolete `command` & `keygen` elements
b5e5353c5 Localisation updates from https://translatewiki.net.
c6f80e7a7 NodeFactory: Drop deprecated alias for disallowedList
91d887081 build: Update eslint-config-wikimedia to 0.16.2
59ede425d Localisation updates from https://translatewiki.net.
1db52c895 Localisation updates from https://translatewiki.net.
175b786ad CompletionAction: Don't lowercase an exact match
ab0423261 Update OOUI to v0.39.2

Bug: T255737
Change-Id: I7dd62662c13212b2f0eb14fedf8d57129abff1ce
2020-06-24 09:47:52 +01:00
Translation updater bot d2308d0b79 Localisation updates from https://translatewiki.net.
Change-Id: If2ba807cf4d8b0ebb52546497e9866fb1782d037
2020-06-24 08:30:09 +02:00
DannyS712 b69cf0217f Hooks: Update to use DifferenceEngineViewHeader
Bug: T255769
Change-Id: Ibd80adff646ef51814736716816a5574794dfb1a
2020-06-24 00:44:19 +00:00
jenkins-bot 6f6c4828a7 Merge "When returning to section, avoid counting sections outside the content" 2020-06-22 22:30:44 +00:00
Bartosz Dziewoński a1fdde980a Revise <noinclude>/<onlyinclude>/<includeonly> node descriptions
Bug: T255289
Change-Id: I23e9cc90d04cee5f0326f8e8f1dec2fa1fadd173
2020-06-22 20:17:02 +02:00
Bartosz Dziewoński ff271d7b43 ve.ui.MWSignatureContextItem: Keep the $body element, just empty
The rendering is the same as before, but keeping the element around
makes it possible to override getDescription() to return some extra
text and have it appear as expected.

Change-Id: I1ef38abffbdb405121ea6b0b2ac368bbbb008cd7
2020-06-22 20:00:48 +02:00
Translation updater bot 84319ef766 Localisation updates from https://translatewiki.net.
Change-Id: Id3769e89ba5ebb7b3fe2dc023bf273b61af826b9
2020-06-22 08:45:47 +02: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
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