mediawiki-extensions-Visual.../modules/ve/test
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 After much research on error objects, native = good, custom = bad 2012-08-08 10:48:53 -07:00
dm Update LinkAnnotation for Parsoid href changes 2012-08-14 11:03:37 -07:00
image.png Move test files 2012-07-25 14:35:49 -07:00
index.html Merge "Add ve.dm.BreakNode to represent <br>" 2012-08-09 21:50:41 +00:00
ve.BranchNode.test.js After much research on error objects, native = good, custom = bad 2012-08-08 10:48:53 -07:00
ve.Document.test.js Kranitor #1: On-boarding 2012-07-27 14:40:00 -07:00
ve.example.js Puttin' em white-spacers where they aught'a be 2012-08-06 18:52:19 -07:00
ve.Factory.test.js After much research on error objects, native = good, custom = bad 2012-08-08 10:48:53 -07:00
ve.LeafNode.test.js Refactor ve.js utilities and improve documentation 2012-08-12 20:32:45 +02:00
ve.Node.test.js Kranitor #1: On-boarding 2012-07-27 14:40:00 -07:00
ve.qunit.js Puttin' em white-spacers where they aught'a be 2012-08-06 18:52:19 -07:00