Last modified: 2014-07-19 15:15:21 UTC
When I enter "a" as target page and "ab" as text to display, the dialog should insert [[a]]b rather than the current [[a|ab]]. This should work at least for ASCII-letters. If it's possible to use the localized link trail, this would be even better of course.
Related URL: https://gerrit.wikimedia.org/r/69896 (Gerrit Change I78c8fc87be1777f63c84f8945ead1cc54161fb76)
Change 69896 abandoned by Alex Monk: Insert link dialog: Insert simplest form of wikilinks possible https://gerrit.wikimedia.org/r/69896
the problem with the previous patch was to take the linkTrail php-regex and convert it to a js-regex in a non-hacky way which could be used by the browser/extension.