We used (\.+\/)* instead of (\.\.?\/)* in some places,
but that doesn't make much sense since we won't and shouldn't
ever see stuff like '.../'
Change-Id: I9efcff2d2a34499ca57321dfbae29392ecb422d7
New changes:
887ebb1a4 Clarify comments that certain 'html' parameters must be whole documents
cc50757ee LinearTabKeyDownHandler: Abort if modifiers are used
23f70f760 jsduck: Explcitly name library files so we don't pull in CSS files
18ae4004f Update OOjs UI to v0.22.4
Bug: T171600
Bug: T172168
Change-Id: I2510174db0f650113702674e37e768aa558f02cc
ve.init.mw.Target.static.parseDocument requires that its parameter be
a complete HTML document with a single root tag, otherwise some of its
workarounds break horribly in IE 11 (and possibly Firefox).
Bug: T171600
Change-Id: Iaacf24f7bef40a24230fcfa08e15bab31b1587c0
New changes:
d7ca44b84 Localisation updates from https://translatewiki.net.
addd343a0 Localisation updates from https://translatewiki.net.
0ca48126b Abstract definition of type equality when comparing inline nodes
8c9e9dd0a Disable Grammarly
9eb3f29cb Don't throw an exception if observed annotation is alien to us
Bug: T165746
Bug: T166801
Change-Id: I6b8f60432352c468e8c3f2946802ac33d1e9604f
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
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