mediawiki-extensions-Visual.../modules/ve
Catrope 6f8307d5d2 Update LinkAnnotation for Parsoid href changes
Because the Parsoid prefix format changed from /mw:Foo to /mw/Foo , the
href format for internal links has changed from "/Foo" to "Foo". So the
href is now simply the title, except that it may be preceded by one or
more "../" if the title of the page we're on contains a '/'.

So instead of stripping the leading slash from internal link hrefs and
putting it back on the way out, only strip any leading "../"s and dump
the titles directly into the hrefs on the way out.

Also update the link test case for this, and add a test case for the ../
stripping.

Change-Id: I3e0bdde20f22cda34eb45fc351de5e780419b6a2
2012-08-14 11:03:37 -07:00
..
ce SimpleWikiLink is no longer used by Parsoid, remove it from VE 2012-08-13 18:05:10 -07:00
dm Update LinkAnnotation for Parsoid href changes 2012-08-14 11:03:37 -07:00
init Refactor ve.js utilities and improve documentation 2012-08-12 20:32:45 +02:00
test Update LinkAnnotation for Parsoid href changes 2012-08-14 11:03:37 -07:00
ui Recognize ExtLink/URL and ExtLink/Numbered in LinkInspector 2012-08-13 18:03:34 -07:00
ve.BranchNode.js Refactor ve.js utilities and improve documentation 2012-08-12 20:32:45 +02:00
ve.debug.js Refactor ve.js utilities and improve documentation 2012-08-12 20:32:45 +02:00
ve.Document.js This should never happen, but if it does, lets make sure we know 2012-08-08 15:17:45 -07:00
ve.EventEmitter.js Refactor ve.js utilities and improve documentation 2012-08-12 20:32:45 +02:00
ve.Factory.js After much research on error objects, native = good, custom = bad 2012-08-08 10:48:53 -07:00
ve.js Refactor ve.js utilities and improve documentation 2012-08-12 20:32:45 +02:00
ve.LeafNode.js Puttin' em white-spacers where they aught'a be 2012-08-06 18:52:19 -07:00
ve.Node.js Make use of new jshint options 2012-08-10 02:50:30 +02:00
ve.Position.js Puttin' em white-spacers where they aught'a be 2012-08-06 18:52:19 -07:00
ve.Range.js Added basic ve.dm.SurfaceFragment class 2012-08-09 16:18:13 -07:00
ve.Surface.js Cleanup - all jshint conditions are now met 2012-08-03 18:56:04 -07:00