As type is always 'mwTransclusionInline/Block'.
Bug: T166801
Change-Id: I76cdf0add780d556206c439797cfcca19133d94d
Depends-On: I0f24d9d81b5491a8f09bc59e5f544f99751fd506
New changes:
d23bd1e79 Localisation updates from https://translatewiki.net.
71807dedb Localisation updates from https://translatewiki.net.
fdac5539b Doc comment improvement to ve.ui.LanguageInputWidget.
22f2e8531 ve.ce.Surface: Fix lint error
66cbb1c34 Remove unnecessary mixin from standalone image caption node
3bed3398c Default table cells to ce=false, and always set ce state to editing state
22e4c16dd Generate heading1-6 commands in a loop
Bug: T171728
Change-Id: I02883793afb120cd3751988bb11b4068af0bd317
Implement special node types for language variant markup, so that they
display appropriately based on the currently-selected variant.
(Parsoid uses empty elements to represent this markup, so without this
patch anything in -{ ... }- is alienated and disappears.)
A follow-up patch will implement context items and inspectors to
allow editing these nodes. This patch is basic "read-only" support.
Depends on I4fcdebc2290ec35ba188f4c2e69d578791fbcd67 in Parsoid to
generate the appropriate markup, but this patch is safe to merge
independently.
Bug: T49411
Change-Id: Ie11e9301d2513bfe4a36036481cee9a047f46d37
This icon is now added by Parsoid content CSS.
Bug: T160960
Depends-On: Id66f09c54103854ccbaa54a03e7c62890b67cba9
Change-Id: I8d76d759641b091c1821ff658b1201ca625fd146
Two problems:
* At least one caller already calls QUnit.newMwEnvironment(), which means
it runs twice which is unsupported and breaks If4141df10eae55 in core.
* It assumes the return will contain 'setup' and 'teardown', which
is internal and also changes with If4141df10eae55 in core.
Using 'setup' and 'teardown' for this within VE-MW is fine.
First attempt is to simply remove it. Uses that already called
QUnit.newMwEnvironment are effectively unchanged. Uses that didn't
and only pass ve.test.utils.mwEnvironment to QUnit.module directly
will now run without core's QUnit.newMwEnvironment() setup/teardown.
If that breaks anything, we can add it back to those tests that actually
need it.
Change-Id: I9ef0368ba58daf1c7dc92d083ae79c108cc27638
The popup gets hideously deformed in other cases. Getting it to work
would probably be difficult. Let's just not show it.
Bug: T170919
Change-Id: If9005e9cdea52fefab981f4c7f05f71fce99f3e8
This stops the welcome dialog from being displayed repeatedly if the user
edits the article multiple times in the same pageload.
Bug: T170983
Change-Id: I8cc5990e9acb1ac09a2d6dd95eef8042c70088c7
Selflinks with fragments aren't actually selflinks, and so shouldn't be styled
as such.
Bug: T170943
Change-Id: Icb67c81327769d09af6bcfe593843d9dd2bcc33c
This also removes an undeclared dependency on mediawiki.Uri.
Bug: T169574
Depends-On: Ic4abaae6e9c74509f7a114a697cdbb78dd1b89b6
Change-Id: I76803da5f1a52171a1af8de1f3e31ea127a2da78
New changes:
9ba233409 VisualDiff: Use <del> and <ins> on whole paragraphs
8d9068029 Update OOjs UI to v0.22.3
9a0582038 Use white-space:pre-wrap for text changes
d12bb03d7 Avoid deprecated QUnit.asyncTest() in ve.init.sa.Platform.test
a0a86ff48 tests: Avoid deprecated QUnit.push()
91e20c05c Localisation updates from https://translatewiki.net.
Bug: T170114
Bug: T170136
Bug: T170585
Change-Id: I50c45fc9826a21810ebd4f4fed5f7b0acb341d13
In Internet Explorer and Edge, NodeList objects do not have the
'forEach' method. However, Array's 'forEach' can be applied to them,
as we do elsewhere in the code.
https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach
Bug: T170466
Change-Id: Icb19995e140607d45c47fb6ae8d60ac80b664d02
"Welcome to wikipedia, anyone can edit, we welcome all improvements. Start
editing!" is a bit out of place when what you'll see after clicking "start
editing" is "you can't edit this page".
Bug: T138715
Change-Id: I9f655a5f12d4e45644bd01631c2d3131375d8e8f
New changes:
56e7afa47 Follow-up I93bb2b5dcc: Insert newline if fragment ends in '/paragraph'
70b378298 Workaround for Flow bottom toolbars conflicting with inspectors
c9b0d1a23 Workaround for nested toolbars hack being terrible
Bug: T169076
Bug: T169617
Change-Id: I69dd105d26edcbec8136fbafd337462478ab3349