The bottom margin makes refs with name noticeably taller than
others, however a small margin is required to stop the second
line of text wrapping too tightly.
Change-Id: Iae7e1e6ee29d9090e54aa05feda1854828a03d9d
New changes:
84ac603 Use shorthand for collapsed ranges
542dc47 SVG fixes
8686f85 Move non-icon/indicator styles out of ve.ui.Icons.css
Change-Id: I4d524da912dec338b2fdaf3b58060e3d47292d9c
Instead of using ve-ce-noHighlight we can just set and maintain
this.$focusable using getFocusableNode.
Change-Id: I0a6b2d6444df531b7c235ac9ff08a3ed8a0e99b3
We normalize underscores to spaces in sortkeys in toDataElement,
but when toDomElements recomputes the normalization to decide
if the sortkey really changed, it doesn't normalize underscores.
This is broken, both code paths need to use the same normalization;
we do this correctly for the category name.
This bug appears to date back to the introduction of category
support in March 2013 :(
Spotted in https://it.wikipedia.org/?diff=67220927
Change-Id: Ie3257fa335f3bd24a36c8654f3f5a24e89d7a9b9
New changes:
102e351 Remove transparent selection from focusable nodes in FF
7be8cd9 Add a space to the comment node for selection highlighting
40c7dd2 Highlight and bind events to $focusable, not $element
6d52af0 Add @embed directive for resize-nw-se and resize-nw-sw icons
004201c Initialize defaultSize as boolean in ve.dm.Scalable
a3eb9c0 Localisation updates from https://translatewiki.net.
bf5ccc6 Followup ab2d4cbe: Correct comment indicator's size
565e484 Fix copy paste of comments in Firefox
3698286 Generate fake comment nodes (spans) when copying
febb100 Meta-fy empty comments as they aren't editable/useful
fc553e2 Localisation updates from https://translatewiki.net.
433007d Style MobileContext properly
Change-Id: I55b79c398dd43bd5854ff53dc89f25cbca31670e
Trevor promised to do this in Iafe64a6f but never did.
This needs styling changes to look right. It also means that
VE mobile standalone doesn't have a context at all right now,
which is horrible, but at least this makes MW mostly work.
Bug: 68546
Change-Id: Id8cc4b07905f777f667f36cbcc65e821847142d5
The window refactor removed the 'teardown' event from windows,
but ViewPageTarget was still listening to this event on the save dialog.
Instead, use the opening promise to be notified when the save dialog
closes and call onSaveDialogClose() at that time.
Change-Id: I31a9a359eb14a56b214a1240db08632bda6bc8b9
Because this breaks other subtitles such as subpage breadcrumbs
Instead, deal with the #redirectsub (added in I780c965) directly.
Bug: 68432
Change-Id: I646868916a4480404f6d466fd89f84798d0e9df5
Per the comment above, dm doc direction will be a better
estimate of wiki direction than CSS, which is very slow.
Change-Id: I231738d660b429df1598eaaadf7397b47d35ea0c
New changes:
d79270a Update context menu according to stricter rules
af6ec80 Ignore staging events in CE surface
43f7385 SpecialCharacterInspector: Don't have a hard-coded default message for the JSON blob
0081b13 Update OOjs UI to v0.1.0-pre (a7ce4d48d9)
8e08e9f build: Remove over-ride on jscs's disallowQuotedKeysInObjects and make pass
a1fb10c Followup ab2d4cbebf40: fix whitespace preservation in CommentInspector
Change-Id: I1615665437a4c481371cee7e643cddf281c6434a
When I05f11246ca90a1ce3f741fd93194a827528cd597 gets merged, we will need
this to be able to scroll to a section on iOS (where the content will be
scrolled within a div, not as a whole page).
Change-Id: I6e47edfa8c3a3a46fd7a4f11e4a54955f3694b9b
The image model should go by image attributes (whether it comes from
an existing node or a new one) and not a node.
Bug: 68242
Bug: 68000
Change-Id: I4cabd678157619331b3c47d3b44bc16a28fd7bd7
Update tests and VisualEditor.php for comment node.
New changes:
5885b6a Update OOjs to v1.0.11
ab2d4cb [BREAKING CHANGE] Show comments inline to the user
Change-Id: Ie2787c3e29951cb7940f65bf104e7c9cccdbebd1
New changes:
585401c Followup b141a7d23: don't display:none; the popup in the DesktopContext
1bfcb16 Localisation updates from https://translatewiki.net.
Change-Id: Ic687835458dd833ae0200a3cb5c51af49f4b5672
It can be very slow on pages with lots of references and
isn't required until you click 'Use existing reference'.
What is required is knowing if the list will be empty for
greying out the button, but that can be precomputed very cheaply.
Change-Id: I56909801a5685bb04e0c83cfb95463f705b8dfae
New changes:
9e2238b Add special case for up/down arrow key on focusable node
30f0329 Fix for cursoring into focusable nodes with up/down
6c8da6a Fix spacing inside fragment inspector
3114f74 Remove Firefox listnode hack
e7d98b7 Fix calculation of affectedRange in transaction processor
c6d7589 Use native focus
d71e3a2 Use proper methods for detecting data type in getAnnotationIndexesFromOffset
a930e57 Add optimised method hasAnnotationsInRange
74c729f Use the current document when evaluating activeElement
10aefba Remove is*ArrowKey functions
10465c1 Remove onFocusableHistory listeners
22eb203 Bind/unbind setResizableHandlesSizeAndPosition on focus/blur
Change-Id: I1843ae58fd692c940e4e3d285bfadd3febedca07