When running in the context of MediaWiki, VisualEditor should tee its event
stream to MediaWiki's main event bus, mw.track(), so that MediaWiki event
subscribers have a unified interface for subscribing to events. Each
VisualEditor event topic is prefixed with 've.'
To test this patch, you can use this snippet:
mw.trackSubscribe( 've', function ( topic, data ) {
console.log( this, topic, data );
} );
Change-Id: I6b3f10b0dd0aa7fa47c3b35e2fc554622960ce52
It works locally because it can just nagivate to ../lib/ve.
In production however we need docs/ to be standalone so that we
can publish it without needing a subdirectory at:
https://docs.wikimedia.org/VisualEditor/master/.
For local usage this will be a symlink that still points to
the sibling directory (but using a symlink instead of a ../ path).
In production we can then instruct jenkins to replace that symlink
with an actual copy of lib/. As long as the generated path
references in the HTML remain the same.
Follows-up 88c4888872, which broke the publication of the docs in
Jenkins as it changed references from modules/ to ../modules/ for
the eg-iframe. This works locally, but broke in Jenkins as it was relying
on the copying of modules/ to docs/modules/ being enough to make it work).
Change-Id: I10eaa5424d172932b29774a0f03d511d555fd121
6645b10 Merge "Clean up CONTRIBUTING.md and README.md for VE core"
c10a2b5 ve.init.Target: Fix $document property documentation
0bce7f6 Clean up CONTRIBUTING.md and README.md for VE core
Change-Id: Ib24672d322e90b6264f0cf08855d9ce53a7225fa
For block images, show the bottom left/right anchor if the image
is right/left aligned, and both if it is centred.
For inline images, show the bottom right anchor unless the page is
RTL.
Change-Id: Icb5b74b954493257c517a5fbac5f0a0a457c544c
New changes:
b19c86d Make config default to an empty object in ResizableNode
b95c184 Make min/max dimensions configurable on ResizableNode
35ed00d Keyboard shortcuts dialog
Change-Id: Ic442a48a95ff18522cd049d3a19b01a3ea263e1d
As URLs from the clipboard are always absolute, we need to detect if these
are from the same wiki as the current document, and if so convert back to
relative for Parsoid.
Bug: 58136
Change-Id: Id251afe65193fc6356628f1deb5ed757f8a6d347
Although marked as data-ve-ignore, it isn't ignored by Parsoid,
so about group it together as well.
Bug: 59002
Change-Id: I263e316fb10f3e6f23fc1d409686cdefbd28fafa
Also update MWConverter.test.js for test util changes.
New changes:
863288b Update OOjs UI to v0.1.0-pre (af97c1caec)
0bb2404 Refactor converter test utils to run single test cases
Change-Id: I90273786ac186df3eec13270f94d655b605bfdc4
Parameters are ordered using 2 consecutive buckets, the intersection of
paramOrder and parameters in use ordered using paramOrder followed by the
remaining parameters in alpha-numeric order.
A patch to TemplateData was needed to make this work, but we won't get a
crash without it, just no order specification:
Ic5b42c4189868412138680654c499b6c8bc8f47e
The paramOrder property needs some help still, as it currently requires
being either omitted or containing an exhaustive list of all known
parameters. It should backfill unmentioned params in JSON specified order
instead.
Bug: 51930
Change-Id: Ic3eb665389380c8e3dd6562b059c2f6655a22588
The down arrow is no longer default, so it needs to be specified
explicitly.
Updates submodule to include indicator changes
(see I0a1faef11a1e7e6ea3e44275c85f2efafae4dc9a)
Change-Id: I32aef3ea2e66fd823aeb07dac06cfefba9954270
New changes:
d89cc15 Add sticky static property to inspector tools
5d8e3fd Fix more copyright headers not updated to 2014
e97f100 Always use absolute URLs in external links in the clipboard
9cc0a8d Fix descriptions of ve.dm.Surface#change tests
16fda03 Check for valid offset when calculating insertion annotations
a156f76 Add 'get range on change' toggle button to standalone demo
eca979d Move initial selection to first content offset
Change-Id: Ibdc130775613af50014d9effe0f2e39bba501e87
It is treated specially which results in it being set to opacity=0 instead
of hidden, and leaves a large space at the top of the document. Removing
special treatment of it results in it being hidden properly.
Bug: 52243
Bug: 54325
Change-Id: I2d6157708bd7b4c3a7c6474b1612862120f963b7
New changes:
1f7e944 Add method to fully destroy a target
6cda4b7 Fix scrolling back and forth on copy/paste in Firefox
34d2c79 demos: Support back/forward navigation
787deba Replace dump model loop with event triggered dump
94b1b40 Do not use global document
5cd4227 Always use current surface on demo page
f74f6d8 Make DefinitionListItemNodes splittable
Change-Id: If0a7beed97c4fa6759fbbb989d7ef979c0a1e4e2