Commit graph

17543 commits

Author SHA1 Message Date
Translation updater bot 714e255a4d Localisation updates from https://translatewiki.net.
Change-Id: I1adbc96c45d1655eb793652974281fef517bad16
2020-10-21 08:28:16 +02:00
Arlo Breault d02c0bbf45 Allow alien extension node encapsulation wrappers to be of various types
Like transclusions, extensions can contain nodes of other types.  This
hasn't been an issue because the legacy parser doesn't generate content
with these annotations.  But, moving forward, as Parsoid becoming
responsible for more extensions.  This is the case for the new ImageMap
implementation.

Matches I95767e466803f0744b6626204a0a3a1514fff174

Change-Id: I6ff81a01207e2734090c626b177e5f4d10bb6d61
2020-10-20 11:44:54 -04:00
Translation updater bot 5a5a6deb28 Localisation updates from https://translatewiki.net.
Change-Id: Idff525109ce1bbda0b0140962050025fabdda819
2020-10-20 08:31:48 +02:00
jenkins-bot a5cc81a630 Merge "Fix editnotice order in VisualEditor" 2020-10-19 20:15:21 +00:00
Ed Sanders 98a1c203c1 Filter empty edit notices
Bug: T265798
Change-Id: I10bc181b66288f89775566e1b06ae1e508484724
2020-10-17 16:31:27 +01:00
Translation updater bot 0a6ccea046 Localisation updates from https://translatewiki.net.
Change-Id: If31185e403e1bb5ec99f25b4fba0583537d69183
2020-10-16 08:30:07 +02:00
proc c824dc383a Fix editnotice order in VisualEditor
Bug: T263255
Change-Id: I83e6910c4886cc5a0170dc05e60459f3427aebe5
2020-10-16 01:14:21 +01:00
jenkins-bot 37cd9d77a3 Merge "Convert ve.init.mw.DesktopArticleTarget.init-vector.css to LESS" 2020-10-15 14:52:15 +00:00
jenkins-bot ed2e476525 Merge "Avoid undefined in Math.max" 2020-10-15 07:32:23 +00:00
Gergő Tisza de7c6e913b
Avoid undefined in Math.max
Math.max( undefined, x ) is NaN.

Change-Id: I60bde01d4fc6e9a52182753f79232045f48d1f8b
2020-10-14 23:51:02 -07:00
Translation updater bot b69212a202 Localisation updates from https://translatewiki.net.
Change-Id: Ib658ca951b2f64ca5c6fad520cfb214d3c5c7f01
2020-10-15 08:39:18 +02:00
jdlrobson 9954dd0bc4 [vector modern] VisualEditor margins are tied to Vector variables.
Bug: T259331
Bug: T259272
Depends-On: Ibbc6f1905ea384a3d159088e3f5eca947eb6ec08
Change-Id: Ic918e9c4ba580ecc54ef51607ce9698e2461c679
2020-10-14 14:52:32 +01:00
Ed Sanders 6c36e403aa Convert ve.init.mw.DesktopArticleTarget.init-vector.css to LESS
Change-Id: I5e7c56ebf9e68706e8fc39b1bd4bf81be878ffe4
2020-10-14 13:11:48 +01:00
Translation updater bot 735ca47d64 Localisation updates from https://translatewiki.net.
Change-Id: I33b37392286ed4a741f7487ebf7d890e9461a694
2020-10-14 08:28:37 +02:00
Translation updater bot 179be50b13 Localisation updates from https://translatewiki.net.
Change-Id: I5745f9fdb85b2a5417add122a661986d0a6d3285
2020-10-13 08:44:21 +02:00
Translation updater bot aed72da1fa Localisation updates from https://translatewiki.net.
Change-Id: I407a0740b266976a51593d7a4c6636d6f8d66e9f
2020-10-12 08:36:32 +02:00
Ed Sanders 47ce47a39f Update VE core submodule to master (dccfd0824)
New changes:
26ef391b4 ToolbarDialog: log dialog-abort consistently with FragmentWindows
41baf7e7b Logging for character insertion from the special characters panel
dccfd0824 Update UnicodeJS to v13.0.1

Bug: T264146
Change-Id: Ia4cd02a96d8db4833feee6a006eac8eda2c012fb
2020-10-08 22:19:22 +01:00
David Lynch cf9d3a29df MWLinkAction: update call to window.open
Bug: T264146
Change-Id: Ie3f91cb0ca281d57976b71045f2b54ec96160068
2020-10-08 18:37:47 +00:00
Ed Sanders f0891fc174 Update VE core submodule to master (68c5f1a3c)
New changes:
c53286843 Make NodeWindow a standalone mixin
a787fbef1 Update OOUI to v0.40.4
0d74538ee Refactor dialog logging out of ui.Command into ui.WindowAction
ea55ede8d [BREAKING CHANGE] Improve structure of special character definitions

Local changes:
Fix output of fetchSpecialCharList to match new format

Bug: T264146
Bug: T264690
Change-Id: I2a28bb9c3e54cb5f9308ab361dee99bc801b467a
2020-10-08 19:09:12 +01:00
Thiemo Kreuz e13781ce1f Remove non-helpful lines of documentation
These do nothing but repeating literally what the code already
says.

Change-Id: I93c4a60f190e17a845e37e48b1c0a80bde2292c0
2020-10-07 15:24:50 +02:00
James D. Forrester 8539f75b54 MWCategoryMetaItem: Allow trailing whitespace (e.g. \n) in category names
Encountered on a page with [[d:Template:Translation_categories]].

Change-Id: Ib2df3518e3047d32626a156c32d5ef9e37ea9b3a
2020-10-06 12:17:30 -07:00
jenkins-bot 7f5da34de8 Merge "Don't set alt text if attribute was originally 'null'" 2020-10-06 00:29:02 +00:00
Translation updater bot 3012300634 Localisation updates from https://translatewiki.net.
Change-Id: Iafdce1295603d8982461de6115d0defd8902ce1c
2020-10-05 08:44:11 +02:00
Ed Sanders 9811b36fc7 Don't set alt text if attribute was originally 'null'
Bug: T264533
Change-Id: I0ae1f6e6b770f90579ea1cefa2ac564f655d43ae
2020-10-04 17:57:02 +01:00
Bartosz Dziewoński 3f40195310 Update VE core submodule to master (1a0cc7e1f)
New changes:
c8bd6c278 ve.ce.NodeFactory: Remove unused method #getNodePrimaryCommandName
a52b62f04 Move ve.ce.Node.static.primaryCommandName to ve.ce.FocusableNode
42ee1459f Allow defining delete commands for focusable nodes

Change-Id: Ic02fe10de5ae047375255d758d66644f6d51f97f
2020-10-03 01:59:52 +02:00
Ed Sanders ef18cea2c3 Update VE core submodule to master (03532b74d)
New changes:
daf2239a3 Localisation updates from https://translatewiki.net.
0adfcd9b2 Localisation updates from https://translatewiki.net.
21ce76329 FocusableNode: Check for surface after setTimeout
6d615c6a4 build: Remove Gemfile and rubocop files
c58df0121 Localisation updates from https://translatewiki.net.
d5844cec3 Inherit LanguageAnnotation from TextStyleAnnotation
03532b74d Convert <bdo> tags to LanguageAnnotation

Bug: T259632
Bug: T264439
Change-Id: I3a780ec673cc32bf39cfd4a0e2f0ee3bba37327f
2020-10-02 12:48:51 -07:00
Ed Sanders 0f5cd19e08 Don't block media dialog on initialising upload booklet
Bug: T264441
Change-Id: If2533c7bdf08e92443b28f267b1ede22699a4179
2020-10-02 20:32:49 +01:00
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