Also use an array instead of an object. The keys were already
meaningless (index numbers). A "wikimedia/*" Git search did not
show any usage outside MWNoticesPopupTool. However, the array is
backward-compatible with any code using it as an object for keys
or looping (just in case).
This should also make the order more reliable.
Bug: T87412
Change-Id: I683cc902bda5ba768e962af6725e657871b79b9a
Also make sure only one icon is appended in the case where
$element consists of multiple siblings.
Depends on I7b4d9a54c in core.
Change-Id: I5a7985b7a2c709f079afcdfd5108d73cc7bfc688
New changes:
0b076f9 Unwrap empty spans on paste
1580919 Add check to see if GCN contents are visible
Change-Id: I06fb31e9dec18559b8980e3bf996e6baca81e4c2
New changes:
2c27ba9 Add a simple tooltip when hovering on table cells
Local changes:
* Register new <visualeditor-tablecell-tooltip> message
Bug: T93908
Change-Id: I784b7f9d56704c16610f61f6d0055c70db46d5b1
VE core changes would be needed for the remaining 9. (To deal with 3 titles in
the UI, and 6 encapsulating the selected text with one character before and one
after).
Change-Id: Id7c0fa06b1c873ab286cffb7a83016a2d37ab744
New changes:
16ac241 ve.ui.SurfaceWidget: Insert toolbar dialog manager into toolbar
de4d7b5 Add clears to default floats
9367efb Improve backspacing over the end of a list with empty last item
7bb4e5f Ensure that selection is not lost inside block slugs after backspace/delete
8254837 Update jQuery from v1.8.2 to v1.11.2
ca9ea82 build: Update grunt-banana-checker to v0.2.1
3ab8154 Fix slug icon size
c454c49 Localisation updates from https://translatewiki.net.
ec4a9ab Follow-up c454c4990: Register new language (ku-latn)
a7590a0 Simplify getClipboardHash
3f22d1b Always run sanitize, even with no import rules
7f96bf4 Remove duplicate module declaration
8f2c9cf Scroll the selection into view when it is outside the window
Change-Id: I3593270bd1e907647f578abcf15cdfc02bb27bc2
When deactivating, verify first that the welcome dialog was
initialized before calling 'close' on it.
Change-Id: Ife98b396f3d8641e2bd313c549fe867bcd84db9b
This is not pretty and probably isn't optimal, but it works well
enough. The bug about getting rid of this all is T91152.
Bug: T94071
Change-Id: If926286f1d0c7835489914ed653a0d65ed24f53a
Stripped out X-Parsoid Performance Headers, previously used to gather and
forward Parsoid's performance information, from ApiVisualEditor.php,
ve.init.mw.Target.js and ve.init.mw.TargetLoader.js. Change I936ada7b1 strips
out the corresponding X-Parsoid Performance Headers from Parsoid. Parsoid's
current performance instrumentation is achieved using Graphite and txstatsd.
Change-Id: I57d6f866a7d8287a5115e6236b0fb25bc4d0eabd
It looks differently in different languages,
and it is likely changing now with Citoid being deployed,
so it shold be disabled for now and revived when Citoid deployment
stabilizes.
Change-Id: If6a6ecf450060eb1387aaf90fd0cfb937b08bd3d
It's much less likely we'll get another conflict if we retry
with ?oldid=12345 than if we retry omitting the oldid again.
Change-Id: I10e40f714fd44d7f0ac16c9d0dc6239a95c0ec51
Also introduces paction=metadata in ApiVisualEditor which
doesn't hit Parsoid but gets all the other information we need.
Bug: T90374
Change-Id: I71edbc0f8dc15a6f8d3672c10ca3c641cc172be7