Page MenuHomePhabricator

Adding formatting to wiki link formats text not link
Closed, ResolvedPublic

Description

See http://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&oldid=564459649#Italicizing_wikilinks

When someone italicizes (or bolds) a wiki link instead of placing quote marks around the link itself (like ''[[link]]'' ) it pipes a link with the same text but with quotes (for example [[link|''link'']] ) creating unneeded wikitext.


Version: unspecified
Severity: normal

Details

Reference
bz51422

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:01 AM
bzimport added a project: VisualEditor.
bzimport set Reference to bz51422.

It has been noted today that VE still has issues with large pages, so it really shouldn't be adding unnecessary bytes to a page like this.

As I wrote in 50098, to avoid [[Foo|''Bar'']] you should italicize first, and link only after
that. I added this to the Italian User guide and I am looking for other similar tips I might be missing.
Thanks.

This is the same as bug 50098, yes; merging.

(In reply to comment #1)

It has been noted today that VE still has issues with large pages, so it
really
shouldn't be adding unnecessary bytes to a page like this.

The length of a page's wikitext has no direct impact on VisualEditor's performance; it's the length and complexity of the HTML that's in question. In this case, the HTML is identical, so this has no performance impact.

  • This bug has been marked as a duplicate of bug 50098 ***