mediawiki-extensions-Visual.../modules/ve/dm/annotations
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
..
ve.dm.LinkAnnotation.js Update LinkAnnotation for Parsoid href changes 2012-08-14 11:03:37 -07:00
ve.dm.TextStyleAnnotation.js Clean up a few commas and some indentation 2012-08-10 16:49:14 -07:00