Commit graph

17021 commits

Author SHA1 Message Date
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
James D. Forrester a8a616f7ce build: Upgrade mediawiki-codesniffer from v30.0.0 to v31.0.0
Change-Id: Ia12194a0c10b5c6eef4ba4a115af7ae678edfeaf
2020-05-26 12:15:53 -07:00
jenkins-bot 88009a0991 Merge "Update VE core submodule to master (549239957)" 2020-05-26 18:41:23 +00:00
jenkins-bot 3313ebe5d4 Merge "Parse messages in string context" 2020-05-26 18:37:51 +00:00
James D. Forrester 50691fd4af Update VE core submodule to master (549239957)
New changes:
2a4509800 Update RangeFix to 0.2.9
549239957 Localisation updates from https://translatewiki.net.

Change-Id: Ie21532a3ddb2cd6d254ca5480a6b0ba79e0ffb30
2020-05-26 10:22:37 -07:00
Translation updater bot c8779b8cb6 Localisation updates from https://translatewiki.net.
Change-Id: Ib554a153bd545d4cfc59b5e092c9376f7f90c47f
2020-05-26 08:38:07 +02:00
Bartosz Dziewoński a6647a258a ve.dm.MWAlienMetaItem: Never match mw:Extension nodes
Bug: T247001
Change-Id: I11771fc2537585622852e6756e800c3d5e530ac8
2020-05-25 19:14:46 +00:00
Translation updater bot 0f4a8b5179 Localisation updates from https://translatewiki.net.
Change-Id: Icffa63b454d845df61fa995b7a32be7c0af0ccbe
2020-05-25 08:41:28 +02:00
Umherirrender 742d91fe37 Parse messages in string context
The current default for Message::__toString() is to parse, so this
keeps that behaviour unchanged.

Change-Id: I528a60c1d9c0f8c1596a15e06a764200a2b2565f
2020-05-24 14:46:40 +02:00
Lucas Werkmeister fd974c25c2 SaveDialog: only allow vertical resize of summary
By default, many browsers permit resizing the textarea in both
dimensions; however, the SaveDialog doesn’t handle horizontal resizing
very well (the textarea is no longer centered and the options don’t
adapt to the new width), so add some CSS to limit the resizing to
vertical only.

Change-Id: I91bf63357237ddc2e3ede8e661480ab0cb48d10e
2020-05-23 11:22:13 +02:00
James D. Forrester 414bbac1b4 Update VE core submodule to master (3af5d5964)
New changes:
1c7d30c5c Update OOjs to v5.0.0
efe39c405 Update OOUI to v0.39.0

Change-Id: I341ec6a57ddd31929a2dfee4ed0269bea69096bd
2020-05-22 09:07:41 -07:00
Translation updater bot b80978e9cc Localisation updates from https://translatewiki.net.
Change-Id: I2f0d83efb4b3f03f01a34b8b93f77cbb538bc680
2020-05-22 08:36:43 +02:00
jenkins-bot 8ac4b48e96 Merge "Use HttpRequestFactory::createMultiClient()" 2020-05-21 20:38:03 +00:00
Translation updater bot 436532e977 Localisation updates from https://translatewiki.net.
Change-Id: Id8c757c91b9e6370e066a81471685f98042b0803
2020-05-21 08:20:20 +02:00
Tim Starling 92ab300859 Use HttpRequestFactory::createMultiClient()
This allows it to respect the proposed limit on HTTP request timeout.

Bug: T245170
Depends-On: I8252f6c854b98059f4916d5460ea71cf4b580149
Change-Id: I1c3d96720709253ad15bb8528cdd132571de2e4e
2020-05-21 14:56:22 +10:00
jenkins-bot dc90695d8c Merge "Refactor getPreferredEditor and expose reusable parts" 2020-05-20 18:48:21 +00:00
Ed Sanders d6823dbdb4 Use fake server for link inspector tests
Also remove fake server constants in other fake server tests

Bug: T247278
Change-Id: If091c73ad411ac7b16900448bc96745dc84997ba
2020-05-20 15:54:04 +01:00
Ed Sanders df639d1717 Bump version number
Change-Id: I382aee3563cdcccd2f872c0f1b0ebd0feff6859c
2020-05-20 13:11:29 +01:00
Translation updater bot 70a7f8775b Localisation updates from https://translatewiki.net.
Change-Id: Ib93923f85bb1191b8f46f1655baccfd63928829e
2020-05-20 08:36:08 +02:00
Bartosz Dziewoński 63638e380d Tweaks in API code per code review
Follow-up to If5c8d95560cbb078ae4980f4a912cbaeafe53d3e.

Change-Id: Iff72b5b21c0f5ce6a45cc48d6a8fc060159d7d23
2020-05-19 19:56:56 +02:00
jenkins-bot 97b2547daf Merge "Replace use of old global with MW_VERSION constant" 2020-05-18 23:51:11 +00:00
jenkins-bot 4233f931fd Merge "Extract Parsoid/RESTBase stuff out of our API code" 2020-05-18 23:49:14 +00:00
jenkins-bot 29940cc99d Merge "Improve deactivating tabs when switching/exiting on MonoBook etc." 2020-05-18 23:39:10 +00:00