Last modified: 2014-07-19 15:15:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51940, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49940 - Insert Link Dialog should insert links in the shortest form
Insert Link Dialog should insert links in the shortest form
Status: REOPENED
Product: MediaWiki extensions
Classification: Unclassified
WikiEditor (Other open bugs)
unspecified
All All
: Low enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-21 07:10 UTC by Michael M.
Modified: 2014-07-19 15:15 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Michael M. 2013-06-21 07:10:27 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.
Comment 1 Gerrit Notification Bot 2013-06-21 19:15:52 UTC
Related URL: https://gerrit.wikimedia.org/r/69896 (Gerrit Change I78c8fc87be1777f63c84f8945ead1cc54161fb76)
Comment 2 Gerrit Notification Bot 2014-07-19 14:43:45 UTC
Change 69896 abandoned by Alex Monk:
Insert link dialog: Insert simplest form of wikilinks possible

https://gerrit.wikimedia.org/r/69896
Comment 3 se4598 2014-07-19 15:15:21 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links