Commit graph

16966 commits

Author SHA1 Message Date
Ed Sanders 4915cbaed4 Return language code if language name not found
A language code is better than an empty string.

The string would be used in the LanguageContext to
describe an annotation like <span lang="en-fakeVariant">.

Change-Id: Ibc18c238d6216927447ca26f336e9d973c6b93eb
2020-10-02 14:54:19 +01:00
Translation updater bot bc0347259b Localisation updates from https://translatewiki.net.
Change-Id: Idd9b3e693227d40f8e888ed5032550651e84239d
2020-10-02 08:25:25 +02:00
jenkins-bot 05ec421073 Merge "Don't navigate back immediately when trying to teardown" 2020-10-02 00:22:23 +00:00
jenkins-bot e247a605d2 Merge "Fix cancelled browser-back on desktop" 2020-10-02 00:22:19 +00:00
Translation updater bot af6bed0144 Localisation updates from https://translatewiki.net.
Change-Id: Iebb35cc12c2adaa4fc269058353c9e7ffbf179b1
2020-09-28 08:30:41 +02:00
Ed Sanders 5c84f0cd88 Rewrite EducationPopup so it isn't a mixin
Reference images are moved to Cite and used by Citoid.

Bug: T170919
Bug: T171292
Depends-On: I02041246dda1b3d3ad1bcc0b014fa022e8259b62
Change-Id: Id97659ed1fa64a1223a8957fefaf2a149edd0e9c
2020-09-24 21:33:50 +01:00
Translation updater bot 4fa844c2e6 Localisation updates from https://translatewiki.net.
Change-Id: I854f464a872ebb44b9452d3f767e80644cef3b0b
2020-09-24 08:30:05 +02:00
Bartosz Dziewoński 4e32949594 Update VE core submodule to master (0a5e284c7)
New changes:
f51552d68 Restore check for getSelectionRects returning null
0a5e284c7 Revert "ve.ce.Surface: Debounce onModelDocumentUpdate"

Bug: T261522
Bug: T263607
Change-Id: I47ec5a5445728447996689df548d9f4d6b0c253b
2020-09-23 21:10:29 +02:00
Translation updater bot e64a1c5f08 Localisation updates from https://translatewiki.net.
Change-Id: I981b6532bdfc60f827bef4c8f2a18dc97f54d305
2020-09-23 08:25:39 +02:00
libraryupgrader 5af52f1298 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Change-Id: I1a6f66ae2613faa2f337e5d42e6817ac7ff7f596
2020-09-23 00:14:12 +00:00
James D. Forrester 2a7f31b5b9 Update VE core submodule to master (95f9f5681)
New changes:
cb4613044 FindAndReplace: Always highlight results when opening
cf480dbb6 ElementLinearData: Remap annotations on nodes too when sanitizing pastes
705743230 ElementLinearData: Remap annotations on moved meta nodes too
16be2c262 ElementLinearData: Remove moved metadata too when removing metadata
6d51882e2 ElementLinearData: Deduplicate annotations when sanitizing pastes

Bug: T191487
Bug: T259730
Bug: T262877
Change-Id: I0918ad9833c15998b1696ec40c1681c0d8f14236
2020-09-22 18:56:17 +02:00
Translation updater bot 56a3a09a34 Localisation updates from https://translatewiki.net.
Change-Id: Ib5c4ce1da86399ba89894c1839819e90c4df5f12
2020-09-22 08:35:50 +02:00
Ed Sanders 27e19025a4 Fix cancelled browser-back on desktop
Bug: T263464
Change-Id: I808f7effffca5fbe9d8416d447df61dde57776c3
2020-09-21 16:23:18 +01:00
Ed Sanders 587dc1a3c8 Don't navigate back immediately when trying to teardown
Let MobileFrontend deal with all the history management.

Bug: T247171
Change-Id: I666b31285761c80407b4f0fe65c48f76b3e72bf2
2020-09-21 15:21:24 +01:00
Translation updater bot e8ed2e0acb Localisation updates from https://translatewiki.net.
Change-Id: Icfddef4ffa80cfa1fed2810f7c8a149ea9632bf5
2020-09-21 08:30:55 +02:00
jenkins-bot 0a33657622 Merge "Fix PSR12.Properties.ConstantVisibility.NotFound" 2020-09-19 18:43:57 +00:00
Reedy 4ad2800088 Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169
Change-Id: Ie8eaf5eb9a687fa575d6237b01ae502b3ae2ede3
2020-09-19 17:16:59 +00:00
jenkins-bot 30e06502c1 Merge "Fixes: Error: Bad constructor arguments" 2020-09-18 16:52:11 +00:00
Bartosz Dziewoński adf9740208 Update VE core submodule to master (1c3ca2da9)
New changes:
4465eba9f Handle tables with rowspans that exceed the matrix
448f68c3a Avoid the term "whitelist" in a few places

Bug: T191858
Bug: T254646
Change-Id: I23ea0e8be7b0cd3b5315af8c054041d40cbdbe5d
2020-09-17 23:52:30 +02:00
jdlrobson 29efc96cd5 Fixes: Error: Bad constructor arguments
Change-Id: I2f1146946bfb96d50f9580f2f7a9bd5dcb926ef1
2020-09-17 11:00:41 -07:00
James D. Forrester 207c1220a6 Update VE core submodule to master (53af216aa)
New changes:
6eac66f9c Localisation updates from https://translatewiki.net.
805a30e4a ve.dm.Node: Check if attached before accessing document
49d8e2971 Catch exceptions caused by illegal offsets passed to native ranges
25b6c818b Catch errors from getNodeAndOffset in annotationsAtModelSelection
a1b9d6763 jsduck: Add UI classes to Diffing category

Local changes:
Move new upstream Diffing jsduck section into mainline, add our alterations.

Bug: T136780
Bug: T258191
Bug: T259154
Bug: T262303
Bug: T262354
Bug: T262487
Bug: T262758
Change-Id: Ic20dc9f96350f1a08142dc86f06e5e248c724c1e
2020-09-17 14:28:48 +01:00
Translation updater bot 9fbd0aae6f Localisation updates from https://translatewiki.net.
Change-Id: Iffb7f505e258a62a8e8ad9807d7bf7e57a24ab38
2020-09-17 08:33:57 +02:00
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