Commit graph

17544 commits

Author SHA1 Message Date
jenkins-bot b9000ef9b1 Merge "Store revid as undefined when document doesn't exist (revid=0)" 2020-09-16 19:56:41 +00:00
Ed Sanders 7a61992fbb Store revid as undefined when document doesn't exist (revid=0)
Bug: T262838
Change-Id: I9ac1815e281544916ea9aded8e80039245c9d871
2020-09-16 11:13:38 +00:00
Translation updater bot e3a55c3468 Localisation updates from https://translatewiki.net.
Change-Id: I614d7985426968213ca1fae5644f573c57696c01
2020-09-16 09:09:54 +02:00
Translation updater bot ca2fff6571 Localisation updates from https://translatewiki.net.
Change-Id: Ica73762778ace1b2740fc7fde62a903480c858e4
2020-09-14 09:16:56 +02:00
Bartosz Dziewoński c377d7a6dd Update VE core submodule to master (22a771930)
New changes:
b700baa65 Allow  getViewportRange to return null and document
ec97b70f6 More direct fix for find-and-replace running after teardown issues

Bug: T260212
Bug: T261522
Change-Id: Ie53fe5d546e4563f64a333b8921246bb1de9b0d0
2020-09-11 21:33:54 +02:00
Translation updater bot 3d2f33a9ef Localisation updates from https://translatewiki.net.
Change-Id: I89beb44bf1b9ddff2f2ca128f98d1d55524fabfd
2020-09-11 09:40:50 +02:00
jenkins-bot 9e256b9a5f Merge "Drop iceweasel and blackberry tests for new jQuery.client" 2020-09-10 14:25:36 +00:00
Ed Sanders 1c9bb2518c Drop iceweasel and blackberry tests for new jQuery.client
Change-Id: Ie5fd40415b6c38471ef6df875f67678326007552
2020-09-10 13:49:03 +01:00
Translation updater bot a1c6e503a8 Localisation updates from https://translatewiki.net.
Change-Id: I641f7f3a2b9a59a219a4c93b7217f805f40cbd28
2020-09-10 09:50:19 +02:00
Thiemo Kreuz 1230e25cbf Add missing constant visibility keywords
Not used outside of this class. Confirmed via CodeSearch.

Change-Id: I8ffed9ed88bc60e7529d277df5b474d85437ed6e
2020-09-09 16:59:39 +02:00
jenkins-bot 4e55aa9488 Merge "Disable ArticleTargetLoader on invalid UTF-8 URIs" 2020-09-09 12:17:55 +00:00
jenkins-bot 2afe857c82 Merge "Fix copy-paste mistake in MWTransclusionContentModel" 2020-09-09 12:13:44 +00:00
Thiemo Kreuz 99b0a1e6c0 Fix copy-paste mistake in MWTransclusionContentModel
I'm not 100% sure, but this looks like a copy-paste mistake to
me. Something like this (a subclass modifying the base class)
is not done anywhere else.

Change-Id: I24677c2deb721b68d1b534f1569c925b386d4d3d
2020-09-09 10:31:27 +02:00
Translation updater bot 7c07613d59 Localisation updates from https://translatewiki.net.
Change-Id: Iaabe010c1fd50b0b871b7310d076bcef911b9cd9
2020-09-09 09:55:14 +02:00
libraryupgrader bb18d4cd2e build: Updating bl to 1.2.3
* https://npmjs.com/advisories/1555

Change-Id: I3e9105a9ea63bc77d89f09982f89542bea6a2b64
2020-09-09 00:38:37 +00:00
jdlrobson 0d64cd8649 Disable ArticleTargetLoader on invalid UTF-8 URIs
Bug: T106244
Change-Id: Ieb2c7610e9f49fd33df63a920ebf871110f0b2e6
2020-09-08 15:57:59 -07:00
jenkins-bot 0eb07cebde Merge "Init: Remove duplicate check for showBetaWelcome" 2020-09-08 14:54:23 +00:00
jenkins-bot ed905afdc1 Merge "Init: Reuse isEditPage" 2020-09-08 14:52:24 +00:00
Bartosz Dziewoński a98946ca81 Add missing test file (ve.DiffMatchPatch.test.js)
Change-Id: I3c09fe669ad8391300762af3ce026ede7114ce10
2020-09-08 13:54:37 +01:00
Ed Sanders 4f192c8cca Init: Remove duplicate check for showBetaWelcome
This is already checked in #shouldShowWelcomeDialog

Change-Id: Ic2a5ab94b70a2480b6c0f3bf894db30da249b23a
2020-09-08 11:55:49 +01:00
Ed Sanders fafd0b93ad Init: Reuse isEditPage
Change-Id: I7611c02c72804d0efd7ef699c371b9069b3a60d2
2020-09-08 11:54:17 +01:00
Bartosz Dziewoński c2b1182ed0 Update VE core submodule to master (a2dbc868a)
New changes:
8552edbd9 build: Update eslint-config-wikimedia to 0.17.0
9d06f25f3 Update diff-match-patch and implement indexOf/lastIndexOf
6138d8435 Add ve.DiffMatchPatch.test.js for testing indexOf and lastIndexOf
a2dbc868a Localisation updates from https://translatewiki.net.

Bug: T187589
Change-Id: Ie56e0ecd844829708d730b504486dd4531e10e45
2020-09-08 04:27:03 +02:00
jenkins-bot c7c20dfb10 Merge "Fix config argument to explicitly pass api" 2020-09-07 19:42:48 +00:00
Ed Sanders 519bef6a9a extension.json: Sort config, Hooks, DefaultUserOptions & AutoloadClasses
Change-Id: I6a62ccb0843653da50c46693aed4945b21e90ee5
2020-09-07 19:14:14 +00:00
Translation updater bot 1dfc545dd6 Localisation updates from https://translatewiki.net.
Change-Id: Icd42685f085c7a4aeebb0ff4df3328aa3e53efb7
2020-09-06 20:57:09 +02:00
jenkins-bot e455654fa5 Merge "Run all screenshots in a single test" 2020-09-06 11:12:09 +00:00
jenkins-bot ff6d4a578e Merge "screenshot: Cleanup runner code" 2020-09-06 11:05:53 +00:00
James D. Forrester b3762eab91 Update VE core submodule to master (6f0390759)
New changes:
601da01ba Update OOUI to v0.40.3
6f0390759 ve.dm.VisualDiff: Don't return a diff if the tree diff times out

Bug: T161646
Change-Id: I8d4b92f0ef28854ca858be7b246abe0c073f5863
2020-09-04 18:19:49 +01:00
Translation updater bot d65618d632 Localisation updates from https://translatewiki.net.
Change-Id: Ib6d697832c6146ebd2bb7cf2fd294eb2f3a68d40
2020-09-04 09:28:31 +02:00
Bartosz Dziewoński 3b92464246 Update VE core submodule to master (9534694b4)
New changes:
a185992f9 TreeModifier: More optimizations
608ab3704 Add a "very long" demo file that is 3x longer than long
ea64930ed ve.ce.Surface: Debounce onModelDocumentUpdate
274382a60 TreeModifier: Add optimization for short array comparison
ed0ba3794 Fix typo in documentation
6c5eaa5a1 Fix pasting cells onto a sparse table
458b3e7fe FindAndReplace: Guard against getSelectionRects failing
7d30b0fe2 DiffTreeNode: Compare node lengths before doing full comparison
10430f522 ve.dm.Document: Cache node offsets when read-only
b49db9a5b Update treeDiffer to 1.0.2
7ad563c1a Localisation updates from https://translatewiki.net.
bfe957e0b Follow-up I1361852: Make docs writable when finished

Bug: T261522
Bug: T261530
Bug: T261634
Bug: T261662
Change-Id: Ifb5765782baaff4a17756b027d4baf52828f89c6
2020-09-03 20:24:31 +02:00
jenkins-bot cf751ec87b Merge "ve.ui.MWSignatureContextItem: Remove useless 'command'" 2020-09-03 17:15:44 +00:00
Translation updater bot b0c99bfa5f Localisation updates from https://translatewiki.net.
Change-Id: I0512df955663bbe749b838bf91985db946f1eb98
2020-09-03 10:05:29 +02:00
Bartosz Dziewoński e6a524d761 ve.ui.MWSignatureContextItem: Remove useless 'command'
The 'mwSignature' command replaces the selected content with your
signature. So basically, if you double-click this node, it gets
deleted and an identical one is inserted. This is useless.

I think I added this when this class was inheriting from
ve.ui.MWTransclusionContextItem, to override the command that would
open the transclusion dialog, but even then this should have instead
been `null`.

Change-Id: Id4492e36e9d89001df655e48b528d07eb608289e
2020-09-02 22:09:21 +00:00
jenkins-bot f589d4d1a2 Merge "Update VE core submodule to master (15186ed26)" 2020-09-02 16:07:33 +00:00
Translation updater bot 317c1efd6c Localisation updates from https://translatewiki.net.
Change-Id: I659ef322facaf9b2ec0026e8b6c4d2212e759af8
2020-09-02 09:41:30 +02:00
Bartosz Dziewoński 3b01199373 Update VE core submodule to master (15186ed26)
New changes:
6d4fa84ff Follow-up Ic1669009: Use for..in loop instead of Object.keys()
a1511df4c README: Add link to live demo
81ac2c781 ve.dm.Document: Fix shallowCloneFromRange when range is inside alien
f410da15b ve.dm.Document: Cleanup test loops
523b9ef2f ve.dm.Document: Fix typo in shallowCloneFromRange with collapsed selection

Bug: T259634
Bug: T261634
Change-Id: If09e7c7184c6783a2dd2289813bc1578ba0d48e4
2020-09-01 23:51:16 +02:00
jenkins-bot 4afad48527 Merge "Show image autocomplete for "File" parameters" 2020-09-01 21:29:24 +00:00
jenkins-bot bf4aba90bc Merge "Reduce duplication/clutter in MWParameterResultWidget" 2020-09-01 21:26:09 +00:00
jenkins-bot 35d846f7af Merge "Better warning messages if $oldid or $etag is funny" 2020-09-01 21:11:52 +00:00
Adam Wight 1e96f47563 Fix config argument to explicitly pass api
These constructors only take a single argument, so the api config was
being ignored and the input would fall back to the default `new
mw.Api()`.

The order is changed so that the "api" config is merely a default,
and can be changed by whatever comes later.

The UserInputWidget currently doesn't accept an "api" config. This
will be fixed in Ifb1dd9d. But this is not a blocker. Merging this
patch here before the other won't have any consequence. It will just
continue to ignore the "api" config. ;-)

Change-Id: I15c35216c717576c6767927cac06ef72198fc95a
2020-09-01 09:36:24 +02:00
Translation updater bot 605e0f7f89 Localisation updates from https://translatewiki.net.
Change-Id: I824db40b99a3abcb63af893ed95ed34fa0ccca0c
2020-09-01 09:18:48 +02:00
James D. Forrester 9a93702cb9 Update VE core submodule to master (89a8d99f5)
New changes:
fc3d84e93 Check $focusTarget is non-empty
baabc080b Fix height of toolbar labels on mobile
c87eec3e0 ve.ce.Surface: Simplify table paste tests
2a0e6ba78 getAdjustedPosition: Rewrite inner loop for performance
89a8d99f5 Localisation updates from https://translatewiki.net.

Bug: T259531
Bug: T260368
Bug: T261634
Change-Id: I132c77cb0d9dce85d90c29bc398ed23be128e608
2020-08-31 17:48:26 +01:00
David Lynch 8cb67a83ea Cast fallback revision_id to a number so it validates
EditAttemptStep requires an integer, and just getting the value of an
input is always a string.

Bug: T261664
Change-Id: I57e76857086474365124b5b016902211b0e63166
2020-08-31 11:04:20 -05:00
Translation updater bot 8366ebb517 Localisation updates from https://translatewiki.net.
Change-Id: Id8d6e84f6bde591f40750677672ef7bf28a02661
2020-08-31 09:49:52 +02:00
libraryupgrader 97e79e449d build: Updating grunt to 1.3.0
Change-Id: I9cda32285abdd0d9a06e0defa8da488b400e66a9
2020-08-30 21:48:51 +00:00
Adam Wight bf72437d63 Show image autocomplete for "File" parameters
The input field becomes a title autocomplete, showing small preview
images and searching only the File namespace.

This is consistent with how TemplateWizard behaves when editing a
File parameter.

Bug: T260886
Change-Id: I7a114e279436ec1ff6f7b8ab66443138ab12637f
2020-08-28 09:55:04 +00:00
Translation updater bot 2bf127aea6 Localisation updates from https://translatewiki.net.
Change-Id: I697b44d0f8cdd0caf765c598fc57c9fb50b44c08
2020-08-27 09:52:42 +02:00
jenkins-bot a7832b6bf5 Merge "Start using edit api results for watchlist UI updates" 2020-08-26 23:32:44 +00:00
Dayllan Maza 4fc73112ee Start using edit api results for watchlist UI updates
This patch starts using watchlist related values from ApiEditPage
results instead of updating the "watch link" based on whether the
checkbox was selected or not at the time of saving the article.

This change does not depend on T261030 and can be merged without it
but T261030 needs to be fixed or temporarily watched items will not
display the right tooltip when hovering the "watch link" or star icon.

Bug: T260434
Change-Id: I2c844223620d7d28f36a0cd8ae3dee4b0c8ae5bf
2020-08-26 23:08:47 +00:00
C. Scott Ananian bf79850262 Better warning messages if $oldid or $etag is funny
Change-Id: I65f02ded600662fd19de36ef3a9ae55ecf249226
2020-08-26 18:56:22 -04:00